dla-future: Add conflicts for compilation issues pre-0.3.1 (#41317)
* dla-future: Add conflict for pedantic warnings turning into errors * dla-future: Add conflicts for nvcc/fmt/Umpire compilation issues
This commit is contained in:
parent
c06f353f55
commit
72216b503f
@ -79,6 +79,22 @@ class DlaFuture(CMakePackage, CudaPackage, ROCmPackage):
|
||||
depends_on("rocsolver", when="+rocm")
|
||||
depends_on("rocthrust", when="+rocm")
|
||||
|
||||
# nvcc 11.2 and older is unable to detect fmt::formatter specializations.
|
||||
# DLA-Future 0.3.1 includes a workaround to avoid including fmt in device
|
||||
# code:
|
||||
# https://github.com/pika-org/pika/issues/870
|
||||
# https://github.com/eth-cscs/DLA-Future/pull/1045
|
||||
conflicts("^fmt@10:", when="@:0.3.0 +cuda ^cuda@:11.2")
|
||||
|
||||
# Compilation problem triggered by the bundled fmt in Umpire together with
|
||||
# fmt 10, which only happens with GCC 9 and nvcc 11.2 and older:
|
||||
# https://github.com/eth-cscs/DLA-Future/issues/1044
|
||||
conflicts("^fmt@10:", when="@:0.3.0 %gcc@9 +cuda ^cuda@:11.2 ^umpire@2022.10:")
|
||||
|
||||
# Pedantic warnings, triggered by GCC 9 and 10, are always errors until 0.3.1:
|
||||
# https://github.com/eth-cscs/DLA-Future/pull/1043
|
||||
conflicts("%gcc@9:10", when="@:0.3.0")
|
||||
|
||||
depends_on("hdf5 +cxx+mpi+threadsafe+shared", when="+hdf5")
|
||||
|
||||
conflicts("+cuda", when="+rocm")
|
||||
|
Loading…
Reference in New Issue
Block a user