Add conflict to HPX package for Boost/HIP noinline issue (#27878)

This commit is contained in:
Mikael Simberg 2021-12-09 13:33:51 +01:00 committed by GitHub
parent c930f871f3
commit 361a2ccdf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,6 +146,11 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage):
# Patches and one-off conflicts
# 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.
conflicts("boost@:1.77.0", when="@:1.7 +rocm")
# boost 1.73.0 build problem with HPX 1.4.0 and 1.4.1
# https://github.com/STEllAR-GROUP/hpx/issues/4728#issuecomment-640685308
depends_on('boost@:1.72.0', when='@:1.4')