diff options
author | Victor A. P. Magri <50467563+victorapm@users.noreply.github.com> | 2024-11-25 12:26:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 18:26:53 +0100 |
commit | 741652caa105edcc0414d6a8f0d94bd4ba20a736 (patch) | |
tree | 65c2ea0ee2e015c515ac4e359d61959c98ef180c | |
parent | 8e914308f056e876a98aff55988cde3d477dd0e9 (diff) | |
download | spack-741652caa105edcc0414d6a8f0d94bd4ba20a736.tar.gz spack-741652caa105edcc0414d6a8f0d94bd4ba20a736.tar.bz2 spack-741652caa105edcc0414d6a8f0d94bd4ba20a736.tar.xz spack-741652caa105edcc0414d6a8f0d94bd4ba20a736.zip |
caliper: add "tools" variant (#47779)
-rw-r--r-- | var/spack/repos/builtin/packages/caliper/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/caliper/package.py b/var/spack/repos/builtin/packages/caliper/package.py index ad06a5e242..5cf3376f0d 100644 --- a/var/spack/repos/builtin/packages/caliper/package.py +++ b/var/spack/repos/builtin/packages/caliper/package.py @@ -101,6 +101,8 @@ class Caliper(CachedCMakePackage, CudaPackage, ROCmPackage): variant("vtune", default=False, description="Enable Intel Vtune support") variant("kokkos", default=True, when="@2.3.0:", description="Enable Kokkos profiling support") variant("tests", default=False, description="Enable tests") + variant("tools", default=True, description="Enable tools") + # TODO change the 'when' argument for the next release of Caliper variant("python", default=False, when="@master", description="Build Python bindings") @@ -156,6 +158,7 @@ class Caliper(CachedCMakePackage, CudaPackage, ROCmPackage): entries.append(cmake_cache_option("BUILD_SHARED_LIBS", spec.satisfies("+shared"))) entries.append(cmake_cache_option("BUILD_TESTING", spec.satisfies("+tests"))) + entries.append(cmake_cache_option("WITH_TOOLS", spec.satisfies("+tools"))) entries.append(cmake_cache_option("BUILD_DOCS", False)) entries.append(cmake_cache_path("PYTHON_EXECUTABLE", spec["python"].command.path)) |