Undo part of CLAPACK patch 0003 (#860)

This commit is contained in:
Dexter Chua 2020-12-14 16:14:03 +08:00 committed by GitHub
parent 34026265fc
commit c7c445e83c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 37 deletions

View File

@ -13,19 +13,11 @@ diff --git a/Makefile b/Makefile
index b3467a6..83baba5 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,15 @@
@@ -5,6 +5,7 @@
#
include make.inc
+include ../Makefile.envs
+
+TOPDIR=$(abspath .)
+
+CFLAGS = $(CFLAGS_OPT) -I$(TOPDIR)/INCLUDE -fPIC -DNO_BLAS_WRAP
+LDFLAGS = $(LDFLAGS_OPT) -fPIC
+DRVCFLAGS = $(CFLAGS)
+F2CCFLAGS = $(CFLAGS)
+
all: f2clib lib
#all: f2clib lapack_install lib lapack_testing blas_testing variants_testing
@ -135,31 +127,3 @@ index 7491963..0cc1cda 100644
zlahrd.o zlahr2.o zlaic1.o zlals0.o zlalsa.o zlalsd.o zlangb.o zlange.o \
zlangt.o zlanhb.o \
zlanhe.o \
diff --git a/make.inc b/make.inc
index 567c737..d010f57 100644
--- a/make.inc
+++ b/make.inc
@@ -21,19 +21,15 @@ PLAT = _WA
# and desired load options for your machine.
#
#######################################################
+
# This is used to compile C libary
#CC = gcc # inherit $CC from emmake
# if no wrapping of the blas library is needed, uncomment next line
#CC = gcc -DNO_BLAS_WRAP
-CFLAGS = -O3 -I$(TOPDIR)/INCLUDE -fPIC -DNO_BLAS_WRAP
-LDFLAGS = -O3
LOADER = $(CC)
LOADOPTS =
NOOPT = -O0 -I$(TOPDIR)/INCLUDE
-DRVCFLAGS = $(CFLAGS)
-F2CCFLAGS = $(CFLAGS)
#######################################################################
-
#
# Timer for the SECOND and DSECND routines
#
--
2.19.0