diff --git a/easybuild/easyconfigs/n/nvtop/nvtop-1.1.0-fosscuda-2019b.eb b/easybuild/easyconfigs/n/nvtop/nvtop-1.1.0-fosscuda-2019b.eb new file mode 100644 index 00000000000..8fbe0f15f0a --- /dev/null +++ b/easybuild/easyconfigs/n/nvtop/nvtop-1.1.0-fosscuda-2019b.eb @@ -0,0 +1,34 @@ +easyblock = 'CMakeMake' + +name = 'nvtop' +version = '1.1.0' + +homepage = 'https://github.com/Syllo/nvtop' +description = 'htop-like GPU usage monitor' + +toolchain = {'name': 'fosscuda', 'version': '2019b'} + +source_urls = ['https://github.com/Syllo/nvtop/archive/'] +sources = ['%(version)s.tar.gz'] +checksums = ['00470cde8fc48d5a5ed7c96402607e474414d94b562b21189bdde1dbe6b1d1f3'] + +dependencies = [ + ('ncurses', '6.1'), +] + +builddependencies = [ + ('CMake', '3.15.3'), +] + +separate_build_dir = True + +configopts = '-DNVML_INCLUDE_DIRS=$EBROOTCUDA/include -DNVML_LIBRARIES=$EBROOTCUDA/lib64/stubs/libnvidia-ml.so' + +sanity_check_paths = { + 'files': ['bin/nvtop'], + 'dirs': [], +} + +sanity_check_commands = ["nvtop --help"] + +moduleclass = 'tools'