From bead81fab521ab6f77a5217ae9c03248350dc501 Mon Sep 17 00:00:00 2001 From: Thomas Madlener Date: Mon, 12 Oct 2020 17:07:21 +0200 Subject: [PATCH] [whizard] Disable parallel builds to avoid race condition (#19270) --- var/spack/repos/builtin/packages/whizard/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/whizard/package.py b/var/spack/repos/builtin/packages/whizard/package.py index 367a50e3366..f7aee3ceb9d 100644 --- a/var/spack/repos/builtin/packages/whizard/package.py +++ b/var/spack/repos/builtin/packages/whizard/package.py @@ -77,6 +77,10 @@ class Whizard(AutotoolsPackage): conflicts('%intel@:17', msg='The fortran compiler needs to support Fortran 2008. For more detailed information see https://whizard.hepforge.org/compilers.html') + # Trying to build in parallel leads to a race condition at the build step. + # See: https://github.com/key4hep/k4-spack/issues/71 + parallel = False + def setup_build_environment(self, env): # whizard uses the compiler during runtime, # and seems incompatible with