openblas: do not build tests when installing (#38591)

* openblas: do not build tests when installing
* Add note about building tests
This commit is contained in:
Seth R. Johnson 2023-06-28 17:57:08 -04:00 committed by GitHub
parent c3f4822f92
commit 51c75c6da3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -463,7 +463,9 @@ def libs(self):
@property @property
def build_targets(self): 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") @run_after("build")
@on_package_attributes(run_tests=True) @on_package_attributes(run_tests=True)