bison: conflict %oneapi due to possible miscompilation (#40860)

This commit is contained in:
Thomas-Ulrich 2023-11-14 17:58:17 +01:00 committed by GitHub
parent 25eca56909
commit ee1a2d94ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")