diff options
author | Valentin Volkl <valentin.volkl@cern.ch> | 2021-03-05 11:28:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 11:28:05 +0100 |
commit | 70cd94885260482079f67e9e362c128f63ba4587 (patch) | |
tree | f885ad09f80de4a18a0d58270ec4e013b2d15345 | |
parent | 290df7a14a84112fd7bd35ab8b6f0a520d79ea8f (diff) | |
download | spack-70cd94885260482079f67e9e362c128f63ba4587.tar.gz spack-70cd94885260482079f67e9e362c128f63ba4587.tar.bz2 spack-70cd94885260482079f67e9e362c128f63ba4587.tar.xz spack-70cd94885260482079f67e9e362c128f63ba4587.zip |
dd4hep: add v0.16 and geant4units variant (#22064)
-rw-r--r-- | var/spack/repos/builtin/packages/dd4hep/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dd4hep/package.py b/var/spack/repos/builtin/packages/dd4hep/package.py index 68c909563b..b8a111abf0 100644 --- a/var/spack/repos/builtin/packages/dd4hep/package.py +++ b/var/spack/repos/builtin/packages/dd4hep/package.py @@ -24,6 +24,7 @@ class Dd4hep(CMakePackage): tags = ['hep'] version('master', branch='master') + version('1.16', sha256='ea9755cd255cf1b058e0e3cd743101ca9ca5ff79f4c60be89f9ba72b1ae5ec69') version('1.15', sha256='992a24bd4b3dfaffecec9d1c09e8cde2c7f89d38756879a47b23208242f4e352') version('1.14.1', sha256='5b5742f1e23c2b36d3174cca95f810ce909c0eb66f3d6d7acb0ba657819e6717') version('1.14', sha256='b603aa3c0db8dda392253aa71fa4a0f0c3c9715d47df0b895d45c1e8849f4895') @@ -49,6 +50,7 @@ class Dd4hep(CMakePackage): variant('hepmc3', default=False, description="Enable build with hepmc3") variant('lcio', default=False, description="Enable build with lcio") variant('edm4hep', default=True, description="Enable build with edm4hep") + variant('geant4units', default=False, description="Use geant4 units throughout") variant('debug', default=False, description="Enable debug build flag - adds extra info in" " some places in addtion to the debug build type") @@ -77,6 +79,7 @@ class Dd4hep(CMakePackage): self.define_from_variant('DD4HEP_USE_GEANT4', 'geant4'), self.define_from_variant('DD4HEP_USE_LCIO', 'lcio'), self.define_from_variant('DD4HEP_USE_HEPMC3', 'hepmc3'), + self.define_from_variant('DD4HEP_USE_GEANT4_UNITS', 'geant4units'), self.define_from_variant('DD4HEP_BUILD_DEBUG', 'debug'), # Downloads assimp from github and builds it on the fly. # However, with spack it is preferrable to have a proper external |