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:
1f9e4f3
)
Handle special case of gfortran+clang+OpenMP
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Tue, 19 Jun 2018 18:47:33 +0000
(20:47 +0200)
committer
GitHub
<noreply@github.com>
Tue, 19 Jun 2018 18:47:33 +0000
(20:47 +0200)
test/Makefile
patch
|
blob
|
history
diff --git
a/test/Makefile
b/test/Makefile
index
65fb6f4
..
074411b
100644
(file)
--- a/
test/Makefile
+++ b/
test/Makefile
@@
-122,8
+122,13
@@
endif
FLDFLAGS = $(FFLAGS:-fPIC=) $(LDFLAGS)
-CEXTRALIB =
-
+ifeq ($(USE_OPENMP), 1)
+ifeq ($(F_COMPILER), GFORTRAN)
+ifeq ($(C_COMPILER), CLANG)
+CEXTRALIB = -lomp
+endif
+endif
+endif
sblat1 : sblat1.$(SUFFIX) ../$(LIBNAME)
$(FC) $(FLDFLAGS) -o sblat1 sblat1.$(SUFFIX) ../$(LIBNAME) $(EXTRALIB) $(CEXTRALIB)