From 2ed542b7445f013a50d74e055be1f2c065b846c6 Mon Sep 17 00:00:00 2001 From: Mikael Simberg Date: Wed, 11 May 2022 19:33:16 +0200 Subject: [PATCH] Add conflict for ROCm and asio in HPX package (#30620) --- var/spack/repos/builtin/packages/hpx/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/hpx/package.py b/var/spack/repos/builtin/packages/hpx/package.py index 9642079530..1109e1e396 100644 --- a/var/spack/repos/builtin/packages/hpx/package.py +++ b/var/spack/repos/builtin/packages/hpx/package.py @@ -154,6 +154,9 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage): # C++17. Starting with CUDA 11.3 they compile again. 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: # https://github.com/boostorg/config/issues/392. Boost 1.78.0 and HPX 1.8.0 # both include a fix.