acts: add v13.0.0 (#26196)

This commit is contained in:
Wouter Deconinck 2021-09-24 06:47:25 -05:00 committed by GitHub
parent 2d8f06bfa0
commit f68b2ea73a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,6 +38,7 @@ class Acts(CMakePackage, CudaPackage):
# Supported Acts versions # Supported Acts versions
version('main', branch='main') version('main', branch='main')
version('master', branch='main', deprecated=True) # For compatibility version('master', branch='main', deprecated=True) # For compatibility
version('13.0.0', commit='ad05672e48b693fd37156f1ad62ed57aa82f858c', submodules=True)
version('12.0.1', commit='a80d1ef995d8cdd4190cc09cb249276a3e0161f4', submodules=True) version('12.0.1', commit='a80d1ef995d8cdd4190cc09cb249276a3e0161f4', submodules=True)
version('12.0.0', commit='e0aa4e7dcb70df025576e050b6e652a2f736454a', submodules=True) version('12.0.0', commit='e0aa4e7dcb70df025576e050b6e652a2f736454a', submodules=True)
version('11.0.0', commit='eac3def261f65b343af6d8ce4bc40443ac57b57e') version('11.0.0', commit='eac3def261f65b343af6d8ce4bc40443ac57b57e')
@ -124,6 +125,7 @@ class Acts(CMakePackage, CudaPackage):
# FIXME: Cannot build ONNX plugin as Spack doesn't have an ONNX runtime # FIXME: Cannot build ONNX plugin as Spack doesn't have an ONNX runtime
# FIXME: Cannot build SyCL plugin yet as Spack doesn't have SyCL support # FIXME: Cannot build SyCL plugin yet as Spack doesn't have SyCL support
variant('tgeo', default=False, description='Build the TGeo plugin') variant('tgeo', default=False, description='Build the TGeo plugin')
variant('alignment', default=False, description='Build the alignment package')
# Variants that only affect Acts examples for now # Variants that only affect Acts examples for now
variant('geant4', default=False, description='Build the Geant4-based examples') variant('geant4', default=False, description='Build the Geant4-based examples')
@ -166,6 +168,7 @@ class Acts(CMakePackage, CudaPackage):
conflicts('+pythia8', when='@:0.22') conflicts('+pythia8', when='@:0.22')
conflicts('+pythia8', when='-examples') conflicts('+pythia8', when='-examples')
conflicts('+tgeo', when='-identification') conflicts('+tgeo', when='-identification')
conflicts('+alignment', when='@:12')
conflicts('%gcc@:7', when='@0.23:') conflicts('%gcc@:7', when='@0.23:')
def cmake_args(self): def cmake_args(self):
@ -215,7 +218,8 @@ def plugin_cmake_variant(plugin_name, spack_variant):
plugin_cmake_variant("JSON", "json"), plugin_cmake_variant("JSON", "json"),
cmake_variant(unit_tests_label, "unit_tests"), cmake_variant(unit_tests_label, "unit_tests"),
cmake_variant(legacy_plugin_label, "legacy"), cmake_variant(legacy_plugin_label, "legacy"),
plugin_cmake_variant("TGEO", "tgeo") plugin_cmake_variant("TGEO", "tgeo"),
cmake_variant("ALIGNMENT", "alignment")
] ]
log_failure_threshold = spec.variants['log_failure_threshold'].value log_failure_threshold = spec.variants['log_failure_threshold'].value