diff options
author | Satish Balay <balay@mcs.anl.gov> | 2021-07-27 05:41:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 06:41:15 -0400 |
commit | 06a292290e7a65cbcfe91928d2a9f95c433ca3e5 (patch) | |
tree | dd85561d1dcef8efe04e33c6e2f62f419bf36d1d | |
parent | 1454935edccca6e7b445521f750950a0234e4fa6 (diff) | |
download | spack-06a292290e7a65cbcfe91928d2a9f95c433ca3e5.tar.gz spack-06a292290e7a65cbcfe91928d2a9f95c433ca3e5.tar.bz2 spack-06a292290e7a65cbcfe91928d2a9f95c433ca3e5.tar.xz spack-06a292290e7a65cbcfe91928d2a9f95c433ca3e5.zip |
openmpi: fix cuda dependency (#25101)
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index c9da225944..a1cceae1c4 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -284,8 +284,7 @@ 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('cuda', when='+cuda') depends_on('java', when='+java') depends_on('sqlite', when='+sqlite3@:1.11') depends_on('zlib', when='@3.0.0:') |