acts: new variant +binaries when +examples (#40738)

Co-authored-by: wdconinc <wdconinc@users.noreply.github.com>
This commit is contained in:
Wouter Deconinck 2023-10-30 04:40:31 -05:00 committed by GitHub
parent b53b235cff
commit a9e78dc7d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -243,6 +243,9 @@ class Acts(CMakePackage, CudaPackage):
variant("tgeo", default=False, description="Build the TGeo plugin", when="+identification") variant("tgeo", default=False, description="Build the TGeo plugin", when="+identification")
# Variants that only affect Acts examples for now # Variants that only affect Acts examples for now
variant(
"binaries", default=False, description="Build the examples binaries", when="@23: +examples"
)
variant( variant(
"edm4hep", "edm4hep",
default=False, default=False,
@ -384,6 +387,7 @@ def plugin_cmake_variant(plugin_name, spack_variant):
cmake_variant("ANALYSIS_APPS", "analysis"), cmake_variant("ANALYSIS_APPS", "analysis"),
plugin_cmake_variant("AUTODIFF", "autodiff"), plugin_cmake_variant("AUTODIFF", "autodiff"),
cmake_variant("BENCHMARKS", "benchmarks"), cmake_variant("BENCHMARKS", "benchmarks"),
example_cmake_variant("BINARIES", "binaries"),
plugin_cmake_variant("CUDA", "cuda"), plugin_cmake_variant("CUDA", "cuda"),
plugin_cmake_variant("DD4HEP", "dd4hep"), plugin_cmake_variant("DD4HEP", "dd4hep"),
example_cmake_variant("DD4HEP", "dd4hep"), example_cmake_variant("DD4HEP", "dd4hep"),