summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>2019-10-23 17:07:22 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2019-10-23 10:07:22 -0500
commitb75f506a1a3c67950e361676900bedd8aae18f7e (patch)
treedf3c006f6b6b82e923e13047808f818679550f1d /var
parent4bd0a9b286605a9aae6eec90b92671e31f419032 (diff)
downloadspack-b75f506a1a3c67950e361676900bedd8aae18f7e.tar.gz
spack-b75f506a1a3c67950e361676900bedd8aae18f7e.tar.bz2
spack-b75f506a1a3c67950e361676900bedd8aae18f7e.tar.xz
spack-b75f506a1a3c67950e361676900bedd8aae18f7e.zip
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 ```
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/bison/package.py4
1 files changed, 4 insertions, 0 deletions
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')