From 32564da9d0b66520f7ba45d19859024e78cac63f Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 2 May 2024 17:36:06 +0200 Subject: rust: add conflict for older GCC (#43958) --- var/spack/repos/builtin/packages/rust/package.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/rust/package.py b/var/spack/repos/builtin/packages/rust/package.py index 0068d3c3e7..5c42de748e 100644 --- a/var/spack/repos/builtin/packages/rust/package.py +++ b/var/spack/repos/builtin/packages/rust/package.py @@ -81,6 +81,9 @@ class Rust(Package): depends_on("rust-bootstrap@1.73:1.74", type="build", when="@1.74") depends_on("rust-bootstrap@1.74:1.75", type="build", when="@1.75") + # src/llvm-project/llvm/cmake/modules/CheckCompilerVersion.cmake + conflicts("%gcc@:7.3", when="@1.73:", msg="Host GCC version must be at least 7.4") + extendable = True executables = ["^rustc$", "^cargo$"] -- cgit v1.2.3-70-g09d2