summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openblas/package.py4
1 files changed, 3 insertions, 1 deletions
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 @@ class Openblas(MakefilePackage):
@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)