diff --git a/easybuild/easyconfigs/c/CUDA-Python/CUDA-Python-12.6.2.post1-gfbf-2024a-CUDA-12.6.0.eb b/easybuild/easyconfigs/c/CUDA-Python/CUDA-Python-12.6.2.post1-gfbf-2024a-CUDA-12.6.0.eb new file mode 100644 index 000000000000..b872c5b8ba3b --- /dev/null +++ b/easybuild/easyconfigs/c/CUDA-Python/CUDA-Python-12.6.2.post1-gfbf-2024a-CUDA-12.6.0.eb @@ -0,0 +1,34 @@ +easyblock = 'PythonBundle' + +name = 'CUDA-Python' +# Warning: major and minor versions of CUDA and CUDA-Python are tied +version = '12.6.2.post1' +versionsuffix = '-CUDA-%(cudaver)s' + +homepage = 'https://nvidia.github.io/cuda-python/' +description = "Python bindings for CUDA" +github_account = 'NVIDIA' + +toolchain = {'name': 'gfbf', 'version': '2024a'} + +dependencies = [ + ('CUDA', '%(version_major)s.%(version_minor)s.0', '', SYSTEM), + ('Python', '3.12.3'), + ('SciPy-bundle', '2024.05'), +] + +exts_list = [ + ('pyclibrary', '0.2.2', { + 'checksums': ['9902fffe361bb86f57ab62aa4195ec4dd382b63c5c6892be6d9784ec0a3575f7'], + }), + ('cuda-python', version, { + 'modulename': 'cuda', + 'source_urls': ['https://github.com/%(github_account)s/%(namelower)s/archive'], + 'sources': [{'download_filename': 'v%(version)s.tar.gz', 'filename': '%(namelower)s-%(version)s.tar.gz'}], + 'checksums': ['abbfad534cb51d79f748cc5dfdc761fa6bb2c7a2b59e64b1d03608e7b0f64b1b'], + }), +] + +sanity_check_commands = ["python -c 'from cuda import cuda, nvrtc'"] + +moduleclass = 'lib'