summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas-Ulrich <ulrich@geophysik.uni-muenchen.de>2023-11-14 17:58:17 +0100
committerGitHub <noreply@github.com>2023-11-14 17:58:17 +0100
commitee1a2d94ad78b90314f7e7887a9fa1625b4d1bbe (patch)
tree0874ae4bd69d9fbdb7e65c6e4a77751017217342
parent25eca56909b0e51ebc7a347214016af9bcb3430a (diff)
downloadspack-ee1a2d94ad78b90314f7e7887a9fa1625b4d1bbe.tar.gz
spack-ee1a2d94ad78b90314f7e7887a9fa1625b4d1bbe.tar.bz2
spack-ee1a2d94ad78b90314f7e7887a9fa1625b4d1bbe.tar.xz
spack-ee1a2d94ad78b90314f7e7887a9fa1625b4d1bbe.zip
bison: conflict %oneapi due to possible miscompilation (#40860)
-rw-r--r--var/spack/repos/builtin/packages/bison/package.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bison/package.py b/var/spack/repos/builtin/packages/bison/package.py
index 1ad363f747..e42e823bbb 100644
--- a/var/spack/repos/builtin/packages/bison/package.py
+++ b/var/spack/repos/builtin/packages/bison/package.py
@@ -65,6 +65,13 @@ class Bison(AutotoolsPackage, GNUMirrorPackage):
patch("nvhpc-3.7.patch", when="@3.7.0:3.7 %nvhpc")
conflicts("%intel@:14", when="@3.4.2:", msg="Intel 14 has immature C11 support")
+ conflicts(
+ "%oneapi",
+ msg=(
+ "bison is likely miscompiled by oneapi compilers, "
+ "see https://github.com/spack/spack/issues/37172"
+ ),
+ )
if sys.platform == "darwin" and macos_version() >= Version("10.13"):
patch("secure_snprintf.patch", level=0, when="@3.0.4")