From b75f506a1a3c67950e361676900bedd8aae18f7e Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Wed, 23 Oct 2019 17:07:22 +0200 Subject: bison: Fix build (#13231) It seems that 3.4.2 includes a change that is supposed to fix parallel builds (https://lists.gnu.org/archive/html/bug-bison/2019-08/msg00000.html). Instead, it actually breaks it for me (with -j48) with errors such as: ``` mv: cannot stat 'examples/c/reccalc/scan.stamp.tmp': No such file or directory Makefile:9323: recipe for target 'examples/c/reccalc/scan.stamp' failed ``` --- var/spack/repos/builtin/packages/bison/package.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/bison/package.py b/var/spack/repos/builtin/packages/bison/package.py index 02abd3e4fa..7444400d00 100644 --- a/var/spack/repos/builtin/packages/bison/package.py +++ b/var/spack/repos/builtin/packages/bison/package.py @@ -32,3 +32,7 @@ class Bison(AutotoolsPackage): patch('secure_snprintf.patch', level=0, when='@3.0.4') build_directory = 'spack-build' + + @property + def parallel(self): + return not self.spec.satisfies('@3.4.2') -- cgit v1.2.3-60-g2f50