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:
kwryankrattiger 2022-08-22 09:13:59 -05:00 committed by GitHub
parent 1c61f0420a
commit a38beeaed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")