Checkpoint

This commit is contained in:
Jonathan Cremin 2024-02-02 15:40:15 +00:00
parent c501435876
commit 6f5266b63d
42 changed files with 652 additions and 136 deletions

View file

@ -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