forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openblas: fix prereqs / make race (spack#35395)
Fix a race in the makefile where the shared lib was built before the object files were available. See OpenMathLib/OpenBLAS#3899
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
var/spack/repos/builtin/packages/openblas/fix-shared-tests-prereqs.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/Makefile b/Makefile | ||
index 967ab1bb6..98666e853 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -42,6 +42,9 @@ SUBDIRS_ALL = $(SUBDIRS) test ctest utest exports benchmark ../laswp ../bench cp | ||
.PHONY : all libs netlib $(RELA) test ctest shared install | ||
.NOTPARALLEL : all libs $(RELA) prof lapack-test install blas-test | ||
|
||
+shared: libs netlib $(RELA) | ||
+tests: libs netlib $(RELA) shared | ||
+ | ||
all :: libs netlib $(RELA) tests shared | ||
@echo | ||
@echo " OpenBLAS build complete. ($(LIB_COMPONENTS))" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters