HPX: ROCm and Cuda conflict needed (#32178)
Discovered this missing conflict when building the e4s enviroment with unify:when_possible. #31940
This commit is contained in:
parent
1c61f0420a
commit
a38beeaed2
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user