xgboost: GCC 8+ required (#32282)
This commit is contained in:
parent
72b133a875
commit
177e2e2672
@ -39,6 +39,8 @@ class Xgboost(CMakePackage, CudaPackage):
|
||||
depends_on("llvm-openmp", when="%apple-clang +openmp")
|
||||
depends_on("hwloc", when="%clang")
|
||||
|
||||
# https://github.com/dmlc/xgboost/issues/6972
|
||||
conflicts("%gcc@:7", when="+cuda")
|
||||
conflicts("%gcc@:4", msg="GCC version must be at least 5.0!")
|
||||
conflicts("+nccl", when="~cuda", msg="NCCL requires CUDA")
|
||||
conflicts("+cuda", when="~openmp", msg="CUDA requires OpenMP")
|
||||
|
Loading…
Reference in New Issue
Block a user