Checkpoint
This commit is contained in:
parent
c501435876
commit
6f5266b63d
42 changed files with 652 additions and 136 deletions
|
@ -4,4 +4,44 @@
|
|||
dnf:
|
||||
name:
|
||||
- xorg-x11-drv-nvidia-cuda
|
||||
become: yes
|
||||
become: yes
|
||||
|
||||
- name: Install nvtop dependencies
|
||||
dnf:
|
||||
name:
|
||||
- libdrm-devel
|
||||
- ncurses-devel
|
||||
- cmake
|
||||
- gcc-c++
|
||||
become: yes
|
||||
|
||||
- name: Clone syllo/nvtop
|
||||
git:
|
||||
repo: 'https://github.com/syllo/nvtop.git'
|
||||
version: master
|
||||
dest: ~/.cache/syllo-nvtop
|
||||
|
||||
- name: Create nvtop build dir
|
||||
file:
|
||||
dest: ~/.cache/syllo-nvtop/build
|
||||
mode: '0755'
|
||||
state: directory
|
||||
|
||||
- name: Cmake the nvtop Makefiles
|
||||
command:
|
||||
chdir: ~/.cache/syllo-nvtop/build
|
||||
cmd: cmake .. -DNVIDIA_SUPPORT=ON
|
||||
creates: ~/.cache/syllo-nvtop/build/Makefile
|
||||
|
||||
- name: Make all the nvtop things
|
||||
command:
|
||||
chdir: ~/.cache/syllo-nvtop/build
|
||||
cmd: make
|
||||
creates: ~/.cache/syllo-nvtop/build/src/nvtop
|
||||
|
||||
- name: make install nvtop
|
||||
command:
|
||||
chdir: /home/jonathan/.cache/syllo-nvtop/build
|
||||
cmd: make install
|
||||
creates: /usr/local/bin/nvtop
|
||||
become: yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue