dd4hep: add v0.16 and geant4units variant (#22064)
This commit is contained in:
parent
290df7a14a
commit
70cd948852
@ -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 @@ def cmake_args(self):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user