diff options
author | bernhardkaindl <43588962+bernhardkaindl@users.noreply.github.com> | 2021-09-26 10:29:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-26 10:29:08 +0200 |
commit | 7189a69c7024bc48310dd67d4f5be266399dc6d6 (patch) | |
tree | 02cffd5c43c28219ebaa3e60a54b51d13179ed63 | |
parent | fee0831b63dc8c99b61337f87822171792e9a762 (diff) | |
download | spack-7189a69c7024bc48310dd67d4f5be266399dc6d6.tar.gz spack-7189a69c7024bc48310dd67d4f5be266399dc6d6.tar.bz2 spack-7189a69c7024bc48310dd67d4f5be266399dc6d6.tar.xz spack-7189a69c7024bc48310dd67d4f5be266399dc6d6.zip |
rivet: Fix of build and tests on Ubuntu 18.04 w/ version bump (#26152)
When using Ubuntu's gcc-8.4.0 on Ubuntu 18.04 to compile rivet-3.1.3,
compilation errors related to UnstableParticles(), "UFS" show up.
Compilation with this compiler is fixed in rivet-3.1.4, adding it.
Adding type='link' to the depends on 'hepmc' and 'hepmc' fixes
the tests to find libHepMC.so.4 in `spack install --tests=all`
Co-authored-by: Valentin Volkl <valentin.volkl@cern.ch>
-rw-r--r-- | var/spack/repos/builtin/packages/rivet/package.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/rivet/package.py b/var/spack/repos/builtin/packages/rivet/package.py index e9f394474f..9f08ff67a0 100644 --- a/var/spack/repos/builtin/packages/rivet/package.py +++ b/var/spack/repos/builtin/packages/rivet/package.py @@ -12,10 +12,11 @@ class Rivet(AutotoolsPackage): """Rivet - the particle-physics MC analysis toolkit""" homepage = "https://rivet.hepforge.org/" - url = "https://rivet.hepforge.org/downloads/?f=Rivet-3.1.2.tar.bz2" + url = "https://rivet.hepforge.org/downloads/?f=Rivet-3.1.4.tar.bz2" tags = ['hep'] + version('3.1.4', sha256='37edc80a2968ce1031589e43ba6b492877ca7901bea38f8bb7536a5c8cf8100d') version('3.1.3', sha256='53ddce41705b9c22b2eaa90603f6659aa9bf46c466d8772ca9dbe4430972e021') version('3.1.2', sha256='c041d09644f4eae7c212d82237033267fbc1583dfbb4e3e67377f86cece9577a') version('3.1.1', sha256='7c98b26af5f859bc65200499d15765e4b056b4cf233b34176f27a7e6bc4cf9b1') @@ -105,8 +106,8 @@ class Rivet(AutotoolsPackage): depends_on('yoda@1.7.0:1.7.999', when='@2.6.0,2.7.0,2.7.1,3.0.0,3.0.2') depends_on('yoda@1.5.0:1.5.999', when='@2.4.1') - depends_on('hepmc', type=('build', 'run'), when='hepmc=2') - depends_on('hepmc3', type=('build', 'run'), when='hepmc=3') + depends_on('hepmc', type=('build', 'link', 'run'), when='hepmc=2') + depends_on('hepmc3', type=('build', 'link', 'run'), when='hepmc=3') depends_on('boost', when='@:2.5.0', type=('build', 'run')) depends_on('fastjet', type=('build', 'run')) depends_on('fjcontrib', type=('build', 'run'), when='@3.0.0:') |