summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorFrank Willmore <frankwillmore@gmail.com>2021-07-13 14:14:29 -0500
committerGitHub <noreply@github.com>2021-07-13 19:14:29 +0000
commitd79022f842cee4517af9e13fc77d6c5f10f26308 (patch)
treeb4e2f3bfbfc11b74b4da87d8bccada8170db9e3d /var
parent3c5287c4588d1e83426875c486ea522be971c1f2 (diff)
downloadspack-d79022f842cee4517af9e13fc77d6c5f10f26308.tar.gz
spack-d79022f842cee4517af9e13fc77d6c5f10f26308.tar.bz2
spack-d79022f842cee4517af9e13fc77d6c5f10f26308.tar.xz
spack-d79022f842cee4517af9e13fc77d6c5f10f26308.zip
openmpi: add direct cuda dependency (#24859)
makes cuda a direct dependency, so it still shows up when using external hwloc+cuda
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openmpi/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py
index a1d6bc57b8..c9da225944 100644
--- a/var/spack/repos/builtin/packages/openmpi/package.py
+++ b/var/spack/repos/builtin/packages/openmpi/package.py
@@ -284,6 +284,8 @@ class Openmpi(AutotoolsPackage):
depends_on('hwloc@:1.999', when='@:3.999.999 ~internal-hwloc')
depends_on('hwloc +cuda', when='+cuda ~internal-hwloc')
+ # Still need cuda as dependent when using external hwloc
+ depends_on('cuda', when='+cuda ~internal-hwloc')
depends_on('java', when='+java')
depends_on('sqlite', when='+sqlite3@:1.11')
depends_on('zlib', when='@3.0.0:')