summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2023-10-30 04:40:31 -0500
committerGitHub <noreply@github.com>2023-10-30 10:40:31 +0100
commita9e78dc7d897c146b11a93fd8c0176d0e886f2b4 (patch)
treea2344170613929b5cac8927c893c90dad6d61479
parentb53b235cffdb960a5e315a287517843a07836461 (diff)
downloadspack-a9e78dc7d897c146b11a93fd8c0176d0e886f2b4.tar.gz
spack-a9e78dc7d897c146b11a93fd8c0176d0e886f2b4.tar.bz2
spack-a9e78dc7d897c146b11a93fd8c0176d0e886f2b4.tar.xz
spack-a9e78dc7d897c146b11a93fd8c0176d0e886f2b4.zip
acts: new variant +binaries when +examples (#40738)
Co-authored-by: wdconinc <wdconinc@users.noreply.github.com>
-rw-r--r--var/spack/repos/builtin/packages/acts/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/acts/package.py b/var/spack/repos/builtin/packages/acts/package.py
index 0acd011402..f474b92cc9 100644
--- a/var/spack/repos/builtin/packages/acts/package.py
+++ b/var/spack/repos/builtin/packages/acts/package.py
@@ -244,6 +244,9 @@ class Acts(CMakePackage, CudaPackage):
# Variants that only affect Acts examples for now
variant(
+ "binaries", default=False, description="Build the examples binaries", when="@23: +examples"
+ )
+ variant(
"edm4hep",
default=False,
description="Build the EDM4hep examples",
@@ -384,6 +387,7 @@ class Acts(CMakePackage, CudaPackage):
cmake_variant("ANALYSIS_APPS", "analysis"),
plugin_cmake_variant("AUTODIFF", "autodiff"),
cmake_variant("BENCHMARKS", "benchmarks"),
+ example_cmake_variant("BINARIES", "binaries"),
plugin_cmake_variant("CUDA", "cuda"),
plugin_cmake_variant("DD4HEP", "dd4hep"),
example_cmake_variant("DD4HEP", "dd4hep"),