File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change
1
+ --- SuiteSparse_config/SuiteSparse_config.mk 2014-12-22 14:21:00.000000000 -0800
2
+ +++ SuiteSparse_config/SuiteSparse_config.mk 2017-01-20 15:17:43.000000000 -0800
3
+ @@ -69,7 +69,7 @@
4
+ # C and C++ compiler flags. The first three are standard for *.c and *.cpp
5
+ # Add -DNTIMER if you do use any timing routines (otherwise -lrt is required).
6
+ # CF = $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -O3 -fexceptions -fPIC -DNTIMER
7
+ - CF = $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -O3 -fexceptions -fPIC
8
+ + CF = $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -O2 -fexceptions -fPIC
9
+ # for the MKL BLAS:
10
+ # CF = $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -O3 -fexceptions -fPIC -I$(MKLROOT)/include -D_GNU_SOURCE
11
+ # with no optimization:
Original file line number Diff line number Diff line change @@ -37,12 +37,17 @@ $(BUILDDIR)/SuiteSparse-$(SUITESPARSE_VER)/SuiteSparse-winclang.patch-applied: $
37
37
cd $(dir $@ ) && patch -p0 < $(SRCDIR ) /patches/SuiteSparse-winclang.patch
38
38
echo 1 > $@
39
39
40
+ $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /SuiteSparse-O2.patch-applied : $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /SuiteSparse-winclang.patch-applied
41
+ cd $(dir $@ ) && patch -p0 < $(SRCDIR ) /patches/SuiteSparse-O2.patch
42
+ echo 1 > $@
43
+
44
+
40
45
ifeq ($(USE_SYSTEM_BLAS ) , 0)
41
46
$(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /build-compiled : | $(build_prefix ) /manifest/openblas
42
47
else ifeq ($(USE_SYSTEM_LAPACK), 0)
43
48
$(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /build-compiled : | $(build_prefix ) /manifest/lapack
44
49
endif
45
- $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /build-compiled : $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /source-extracted $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /SuiteSparse-winclang .patch-applied
50
+ $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /build-compiled : $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /source-extracted $(BUILDDIR ) /SuiteSparse-$(SUITESPARSE_VER ) /SuiteSparse-O2 .patch-applied
46
51
$(MAKE ) -C $(dir $< ) library $(SUITESPARSE_MFLAGS )
47
52
echo 1 > $@
48
53
You can’t perform that action at this time.
0 commit comments