projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
599de9e
)
Add conditionals around ar calls for optional modules
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Thu, 21 Dec 2017 19:42:30 +0000
(20:42 +0100)
committer
GitHub
<noreply@github.com>
Thu, 21 Dec 2017 19:42:30 +0000
(20:42 +0100)
The macOS ar aborts when it gets called with no input, see #1398
lapack-netlib/LAPACKE/src/Makefile
patch
|
blob
|
history
diff --git
a/lapack-netlib/LAPACKE/src/Makefile
b/lapack-netlib/LAPACKE/src/Makefile
index
6009843
..
44884d4
100644
(file)
--- a/
lapack-netlib/LAPACKE/src/Makefile
+++ b/
lapack-netlib/LAPACKE/src/Makefile
@@
-2457,9
+2457,15
@@
all: ../../$(LAPACKELIB)
../../$(LAPACKELIB): $(OBJ_A) $(OBJ_B) $(DEPRECATED) $(EXTENDED) $(MATGEN)
$(ARCH) $(ARCHFLAGS) $@ $(OBJ_A)
$(ARCH) $(ARCHFLAGS) $@ $(OBJ_B)
+ifdef BUILD_DEPRECATED
$(ARCH) $(ARCHFLAGS) $@ $(DEPRECATED)
+endif
+ifdef (USEXBLAS)
$(ARCH) $(ARCHFLAGS) $@ $(EXTENDED)
+endif
+ifdef LAPACKE_WITH_TMG
$(ARCH) $(ARCHFLAGS) $@ $(MATGEN)
+endif
$(RANLIB) $@
clean: cleanobj