Skip to content
Snippets Groups Projects
Commit c7b7c3e7 authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

Merge branch 'ah--nsight-compute' into '2022'

Add Nsight Compute 2022.1.1

See merge request hps-public/easybuild-repository!1249
parents f6e4884b 69e9ad66
Branches
No related tags found
No related merge requests found
# jg (CSCS)
# AH (JSC)
easyblock = 'Binary'
name = 'Nsight-Compute'
version = '2022.1.1'
homepage = 'https://developer.nvidia.com/nsight-compute'
description = 'NVIDIA Nsight Compute is an interactive kernel profiler for CUDA applications'
toolchain = {'name': 'GCCcore', 'version': '11.2.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.2-30914944.run',
'extract_cmd': '/bin/sh %s'
}]
checksums = ['bae875391de5fb9ff7238b3c06fea5f77eff4afae9720e7021c90908d1f84081']
# Not really necessary, but useful if we use this as a template for another package
builddependencies = [
('binutils', '2.37'),
]
dependencies = [
('X11', '20210802')
]
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 register or to comment