diff options
author | kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> | 2022-08-22 09:13:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-22 16:13:59 +0200 |
commit | a38beeaed2745c848eb9ff0e2dc670810d1f00fe (patch) | |
tree | ecb96ea1777e96d077971cad3833c123b6cc924a | |
parent | 1c61f0420aec08bbc76cfc710b413f9a06120c39 (diff) | |
download | spack-a38beeaed2745c848eb9ff0e2dc670810d1f00fe.tar.gz spack-a38beeaed2745c848eb9ff0e2dc670810d1f00fe.tar.bz2 spack-a38beeaed2745c848eb9ff0e2dc670810d1f00fe.tar.xz spack-a38beeaed2745c848eb9ff0e2dc670810d1f00fe.zip |
HPX: ROCm and Cuda conflict needed (#32178)
Discovered this missing conflict when building the e4s enviroment with
unify:when_possible. #31940
-rw-r--r-- | var/spack/repos/builtin/packages/hpx/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hpx/package.py b/var/spack/repos/builtin/packages/hpx/package.py index 23176aadc9..f62a939428 100644 --- a/var/spack/repos/builtin/packages/hpx/package.py +++ b/var/spack/repos/builtin/packages/hpx/package.py @@ -124,6 +124,9 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage): depends_on("papi", when="instrumentation=papi") depends_on("valgrind", when="instrumentation=valgrind") + # Only ROCm or CUDA maybe be enabled at once + conflicts("+rocm", when="+cuda") + # Restrictions for 1.8.X with when("@1.8:"): conflicts("cxxstd=14") |