diff options
author | Brian Van Essen <vanessen1@llnl.gov> | 2022-06-06 14:38:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-06 14:38:58 +0200 |
commit | 926e311f3cebe1a531d5897f7f6fe0818142a75b (patch) | |
tree | 5b422685cd810a573216104a6687657a5fe67138 | |
parent | 8ef937032c6493b0cb634201fc591ab51eef2f6d (diff) | |
download | spack-926e311f3cebe1a531d5897f7f6fe0818142a75b.tar.gz spack-926e311f3cebe1a531d5897f7f6fe0818142a75b.tar.bz2 spack-926e311f3cebe1a531d5897f7f6fe0818142a75b.tar.xz spack-926e311f3cebe1a531d5897f7f6fe0818142a75b.zip |
dihydrogen: propagate `cuda_arch` to nvshmem (#30886)
-rw-r--r-- | var/spack/repos/builtin/packages/dihydrogen/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dihydrogen/package.py b/var/spack/repos/builtin/packages/dihydrogen/package.py index cfd14ae805..957419b64a 100644 --- a/var/spack/repos/builtin/packages/dihydrogen/package.py +++ b/var/spack/repos/builtin/packages/dihydrogen/package.py @@ -72,6 +72,7 @@ class Dihydrogen(CMakePackage, CudaPackage, ROCmPackage): for arch in CudaPackage.cuda_arch_values: depends_on('aluminum cuda_arch=%s' % arch, when='+al +cuda cuda_arch=%s' % arch) + depends_on('nvshmem cuda_arch=%s' % arch, when='+nvshmem +cuda cuda_arch=%s' % arch) # variants +rocm and amdgpu_targets are not automatically passed to # dependencies, so do it manually. |