summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Richert <alexander.richert@noaa.gov>2024-10-07 16:38:08 -0700
committerGitHub <noreply@github.com>2024-10-07 16:38:08 -0700
commit57eb21ac3d414b564b978548d1a35ffba8636668 (patch)
treea3494480c760479d1e81df2c28a56fdf6bc691dd
parentf48c36fc2c61dd7ab377ec432794d590db7a51e0 (diff)
downloadspack-57eb21ac3d414b564b978548d1a35ffba8636668.tar.gz
spack-57eb21ac3d414b564b978548d1a35ffba8636668.tar.bz2
spack-57eb21ac3d414b564b978548d1a35ffba8636668.tar.xz
spack-57eb21ac3d414b564b978548d1a35ffba8636668.zip
rust: conflicts with %intel and %oneapi (#46756)
-rw-r--r--var/spack/repos/builtin/packages/rust/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/rust/package.py b/var/spack/repos/builtin/packages/rust/package.py
index fd0f146245..d7226b16c9 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$"]