From 8250a085b036af1adac23a8ba1de8af0a2f1fe5b Mon Sep 17 00:00:00 2001 From: Anton Kozhevnikov Date: Fri, 8 Sep 2023 10:14:06 +0200 Subject: [PATCH] BUILD_TESTING is a CMake variable and should not be scoped (#39866) --- var/spack/repos/builtin/packages/sirius/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/sirius/package.py b/var/spack/repos/builtin/packages/sirius/package.py index c5589200b1e..8716f89ef27 100644 --- a/var/spack/repos/builtin/packages/sirius/package.py +++ b/var/spack/repos/builtin/packages/sirius/package.py @@ -289,12 +289,12 @@ def cmake_args(self): self.define_from_variant(cm_label + "CREATE_PYTHON_MODULE", "python"), self.define_from_variant(cm_label + "USE_CUDA", "cuda"), self.define_from_variant(cm_label + "USE_ROCM", "rocm"), - self.define_from_variant(cm_label + "BUILD_TESTING", "tests"), self.define_from_variant(cm_label + "BUILD_APPS", "apps"), self.define_from_variant(cm_label + "BUILD_SHARED_LIBS", "shared"), self.define_from_variant(cm_label + "USE_FP32", "single_precision"), self.define_from_variant(cm_label + "USE_PROFILER", "profiler"), self.define_from_variant(cm_label + "USE_WANNIER90", "wannier90"), + self.define_from_variant("BUILD_TESTING", "tests"), ] lapack = spec["lapack"]