From 5d87a2e84bf2fe84d10b858f19bad5503d8249c8 Mon Sep 17 00:00:00 2001 From: Seth R Johnson Date: Wed, 13 Nov 2019 14:20:24 -0500 Subject: [PATCH] Mark compiler/version conflict for bison ``` In file included from /tmp/s3j/spack-stage/spack-stage-bison-3.4.2- uzjszv4owvqsymjpxtxvvegfavc6k5my/spack-src/lib/quotearg.c(33): /tmp/s3j/spack-stage/spack-stage-bison-3.4.2-uzjszv4owvqsymjpxtxvvegfavc6k5my/spack-src/lib/ xalloc.h(51): warning #303: explicit type is missing ("int" assumed) extern _Noreturn void xalloc_die (void); ``` --- var/spack/repos/builtin/packages/bison/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/bison/package.py b/var/spack/repos/builtin/packages/bison/package.py index 167171c54cfa8f..a6d2b39138ad04 100644 --- a/var/spack/repos/builtin/packages/bison/package.py +++ b/var/spack/repos/builtin/packages/bison/package.py @@ -31,6 +31,9 @@ class Bison(AutotoolsPackage): patch('pgi.patch', when='@3.0.4') + # Intel 14 has immature C11 support + conflicts('%intel@:15', when='@3.4.2:') + if sys.platform == 'darwin' and macos_version() >= Version('10.13'): patch('secure_snprintf.patch', level=0, when='@3.0.4')