From 51c75c6da31d803760a7235dbf285b55091222e4 Mon Sep 17 00:00:00 2001 From: "Seth R. Johnson" Date: Wed, 28 Jun 2023 17:57:08 -0400 Subject: [PATCH] openblas: do not build tests when installing (#38591) * openblas: do not build tests when installing * Add note about building tests --- var/spack/repos/builtin/packages/openblas/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/openblas/package.py b/var/spack/repos/builtin/packages/openblas/package.py index a4f0e28b43..6c1415ffd0 100644 --- a/var/spack/repos/builtin/packages/openblas/package.py +++ b/var/spack/repos/builtin/packages/openblas/package.py @@ -463,7 +463,9 @@ def libs(self): @property def build_targets(self): - return ["-s"] + self.make_defs + ["all"] + # Do not build tests: see #38591 + # And note that "shared" is allowed (but ignored) when ~shared + return ["-s"] + self.make_defs + ["libs", "netlib", "shared"] @run_after("build") @on_package_attributes(run_tests=True)