Add conflict for ROCm and asio in HPX package (#30620)

This commit is contained in:
Mikael Simberg 2022-05-11 19:33:16 +02:00 committed by GitHub
parent 5cb7a5db45
commit 2ed542b744
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,6 +154,9 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage):
# C++17. Starting with CUDA 11.3 they compile again. # C++17. Starting with CUDA 11.3 they compile again.
conflicts("asio@1.17.0:", when="+cuda cxxstd=17 ^cuda@:11.2") conflicts("asio@1.17.0:", when="+cuda cxxstd=17 ^cuda@:11.2")
# Starting from ROCm 5.0.0 hipcc miscompiles asio 1.17.0 and newer
conflicts("asio@1.17.0:", when="+rocm ^hip@5:")
# Boost and HIP don't work together in certain versions: # Boost and HIP don't work together in certain versions:
# https://github.com/boostorg/config/issues/392. Boost 1.78.0 and HPX 1.8.0 # https://github.com/boostorg/config/issues/392. Boost 1.78.0 and HPX 1.8.0
# both include a fix. # both include a fix.