We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c7687b commit 75acf96Copy full SHA for 75acf96
Makefile.system
@@ -872,8 +872,14 @@ override FPFLAGS += $(COMMON_OPT) $(FCOMMON_OPT) $(COMMON_PROF)
872
#MAKEOVERRIDES =
873
874
#For LAPACK Fortran codes.
875
+#Disable -fopenmp for LAPACK Fortran codes on Windows.
876
+ifdef OS_WINDOWS
877
LAPACK_FFLAGS := $(filter-out -fopenmp -mp -openmp -xopenmp=parallel,$(FFLAGS))
878
LAPACK_FPFLAGS := $(filter-out -fopenmp -mp -openmp -xopenmp=parallel,$(FPFLAGS))
879
+else
880
+LAPACK_FFLAGS := $(FFLAGS)
881
+LAPACK_FPFLAGS := $(FPFLAGS)
882
+endif
883
884
LAPACK_CFLAGS = $(CFLAGS)
885
LAPACK_CFLAGS += -DHAVE_LAPACK_CONFIG_H
0 commit comments