From 57eb21ac3d414b564b978548d1a35ffba8636668 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Mon, 7 Oct 2024 16:38:08 -0700 Subject: [PATCH] rust: conflicts with %intel and %oneapi (#46756) --- var/spack/repos/builtin/packages/rust/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/rust/package.py b/var/spack/repos/builtin/packages/rust/package.py index fd0f1462450..d7226b16c9b 100644 --- a/var/spack/repos/builtin/packages/rust/package.py +++ b/var/spack/repos/builtin/packages/rust/package.py @@ -98,6 +98,8 @@ class Rust(Package): conflicts("%gcc@:7.3", when="@1.73:", msg="Host GCC version must be at least 7.4") # https://github.com/rust-lang/llvm-project/commit/4d039a7a71899038b3bc6ed6fe5a8a48d915caa0 conflicts("%gcc@13:", when="@:1.63", msg="Rust<1.64 not compatible with GCC>=13") + conflicts("%intel", msg="Rust not compatible with Intel Classic compilers") + conflicts("%oneapi", msg="Rust not compatible with Intel oneAPI compilers") extendable = True executables = ["^rustc$", "^cargo$"]