summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJuan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com>2023-05-17 17:15:50 +0200
committerGitHub <noreply@github.com>2023-05-17 17:15:50 +0200
commitf438fb6c798c49e67db1dd6fc1c4a5b3b9b67959 (patch)
tree15a217f70239f88a66faf1e4204375bc8592efb6 /var
parent371a8a361a838cca2c59da748498b31e0a8926db (diff)
downloadspack-f438fb6c798c49e67db1dd6fc1c4a5b3b9b67959.tar.gz
spack-f438fb6c798c49e67db1dd6fc1c4a5b3b9b67959.tar.bz2
spack-f438fb6c798c49e67db1dd6fc1c4a5b3b9b67959.tar.xz
spack-f438fb6c798c49e67db1dd6fc1c4a5b3b9b67959.zip
whizard: build newer versions in parallel (#37422)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/whizard/package.py15
1 files changed, 6 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/whizard/package.py b/var/spack/repos/builtin/packages/whizard/package.py
index 07203b7324..57a6434229 100644
--- a/var/spack/repos/builtin/packages/whizard/package.py
+++ b/var/spack/repos/builtin/packages/whizard/package.py
@@ -43,17 +43,11 @@ class Whizard(AutotoolsPackage):
)
variant("pythia8", default=True, description="builds with pythia8")
-
variant("fastjet", default=False, description="builds with fastjet")
-
variant("lcio", default=False, description="builds with lcio")
-
variant("lhapdf", default=False, description="builds with fastjet")
-
variant("openmp", default=False, description="builds with openmp")
-
variant("openloops", default=False, description="builds with openloops")
-
variant("latex", default=False, description="data visualization with latex")
depends_on("libtirpc")
@@ -86,9 +80,12 @@ class Whizard(AutotoolsPackage):
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
+ @property
+ def parallel(self):
+ # Trying to build in parallel leads to a race condition at the build step.
+ # See: https://github.com/key4hep/key4hep-spack/issues/71
+ # On 3.1.0 it doesn't seem to happen
+ return self.spec.version > Version("3.0.3")
def setup_build_environment(self, env):
# whizard uses the compiler during runtime,