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:
8c7687b
)
Refs #329 #287. Only disable -fopenmp for LAPACK Fortran codes on Windows.
author
Zhang Xianyi
<traits.zhang@gmail.com>
Fri, 24 Jan 2014 07:39:46 +0000
(15:39 +0800)
committer
Zhang Xianyi
<traits.zhang@gmail.com>
Fri, 24 Jan 2014 07:39:46 +0000
(15:39 +0800)
Makefile.system
patch
|
blob
|
history
diff --git
a/Makefile.system
b/Makefile.system
index
b63c779
..
7ba45f2
100644
(file)
--- a/
Makefile.system
+++ b/
Makefile.system
@@
-872,8
+872,14
@@
override FPFLAGS += $(COMMON_OPT) $(FCOMMON_OPT) $(COMMON_PROF)
#MAKEOVERRIDES =
#For LAPACK Fortran codes.
+#Disable -fopenmp for LAPACK Fortran codes on Windows.
+ifdef OS_WINDOWS
LAPACK_FFLAGS := $(filter-out -fopenmp -mp -openmp -xopenmp=parallel,$(FFLAGS))
LAPACK_FPFLAGS := $(filter-out -fopenmp -mp -openmp -xopenmp=parallel,$(FPFLAGS))
+else
+LAPACK_FFLAGS := $(FFLAGS)
+LAPACK_FPFLAGS := $(FPFLAGS)
+endif
LAPACK_CFLAGS = $(CFLAGS)
LAPACK_CFLAGS += -DHAVE_LAPACK_CONFIG_H