Skip to content

Commit

Permalink
herwig, thepeg: Add latest version and specify rivet dependencies bet…
Browse files Browse the repository at this point in the history
…ter (spack#48142)

* thepeg: Correctly specify rivet version for dependency

* herwig3: Add latest version 7.3.0

* thepeg: Make sure to have consistent hepmc version

rivet and thepeg need to have the same hepmc version otherwise things
will not compile
  • Loading branch information
tmadlener authored Dec 22, 2024
1 parent 858c7ca commit d1d6182
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions var/spack/repos/builtin/packages/herwig3/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class Herwig3(AutotoolsPackage):

license("GPL-3.0-only")

version("7.3.0", sha256="2624819d2dff105ba952ea1b5cf12eb6f4926d4951774a41907699e2f567686c")
version("7.2.3", sha256="5599899379b01b09e331a2426d78d39b7f6ec126db2543e9d340aefe6aa50f84")
version("7.2.2", sha256="53e06b386df5bc20fe268b6c8ba50f1e62b6744e577d383ec836ea3fc672c383")
version("7.2.1", sha256="d4fff32f21c5c08a4b2e563c476b079859c2c8e3b78d853a8a60da96d5eea686")
Expand All @@ -33,6 +34,7 @@ class Herwig3(AutotoolsPackage):
depends_on("[email protected]", when="@7.2.1")
depends_on("[email protected]", when="@7.2.2")
depends_on("[email protected]", when="@7.2.3")
depends_on("[email protected]", when="@7.3.0")
depends_on("evtgen")

depends_on("boost +math+test")
Expand Down
3 changes: 2 additions & 1 deletion var/spack/repos/builtin/packages/thepeg/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ class Thepeg(AutotoolsPackage):
depends_on("hepmc3", when="hepmc=3")
conflicts("hepmc=3", when="@:2.1", msg="HepMC3 support was added in 2.2.0")
depends_on("fastjet", when="@2.0.0:")
depends_on("rivet", when="@2.0.3: +rivet")
depends_on("rivet@:3 hepmc=2", when="@2.0.3: +rivet hepmc=2")
depends_on("rivet@:3 hepmc=3", when="@2.0.3: +rivet hepmc=3")
depends_on("boost +test", when="@2.1.1:")

depends_on("autoconf", type="build")
Expand Down

0 comments on commit d1d6182

Please sign in to comment.