summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSeth R. Johnson <johnsonsr@ornl.gov>2023-06-28 17:57:08 -0400
committerGitHub <noreply@github.com>2023-06-28 17:57:08 -0400
commit51c75c6da31d803760a7235dbf285b55091222e4 (patch)
tree311439f1738d7f84f2cfc922305b45ca1471255a /var
parentc3f4822f92e0afc70f3a642310c7e1282434d397 (diff)
downloadspack-51c75c6da31d803760a7235dbf285b55091222e4.tar.gz
spack-51c75c6da31d803760a7235dbf285b55091222e4.tar.bz2
spack-51c75c6da31d803760a7235dbf285b55091222e4.tar.xz
spack-51c75c6da31d803760a7235dbf285b55091222e4.zip
openblas: do not build tests when installing (#38591)
* openblas: do not build tests when installing * Add note about building tests
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)