Skip to content
Snippets Groups Projects
Commit 9b4928f5 authored by Damian Alvarez's avatar Damian Alvarez
Browse files

Merge branch 'nsight-compute-2020.3' into '2020'

Needed for an upcoming course

See merge request hps-public/easybuild-repository!489
parents 285ffd94 01c2bcc4
No related branches found
No related tags found
No related merge requests found
# jg (CSCS)
# AH (JSC)
easyblock = 'Binary'
name = 'Nsight-Compute'
version = '2020.3.0'
homepage = 'https://developer.nvidia.com/nsight-compute'
description = 'NVIDIA Nsight Compute is an interactive kernel profiler for CUDA applications'
site_contacts = 'Andreas Herten <a.herten@fz-juelich.de>'
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
# Download source binary package manually, requires Nvidia Developer Account
# source_urls = 'https://developer.nvidia.com/nsight-compute'
sources = [{
'filename': 'nsight-compute-linux-%(version)s.18-29307467.run',
'extract_cmd': '/bin/sh %s'
}]
checksums = ['af838473286e180904ec972892faf13ef4546b0e0fb539b87c06382daadfe2c1']
# Not really necessary, but useful if we use this as a template for another package
builddependencies = [
('binutils', '2.34'),
]
dependencies = [
# ('nvidia-driver', 'default', '', SYSTEM),
('X11', '20200222')
]
extract_sources = True
unpack_options = '--nochown --noexec --nox11 --target %(builddir)s'
install_cmd = 'cp -r %(builddir)s/pkg/* %(installdir)s/'
# Workaround due to wrong permissions once the files are extracted from the .run file
postinstallcmds = ['find %(installdir)s -type f -and -executable -and ! -name "lib*" -exec chmod go+x {} \;']
sanity_check_paths = {
'files': ['ncu-ui', 'ncu'],
'dirs': ['docs', 'extras', 'host', 'sections', 'target']
}
modluafooter = """
add_property("arch","gpu")
"""
moduleclass = 'tools'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment