summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/suitesparse-1.patch19
-rw-r--r--src/suitesparse.mk2
2 files changed, 20 insertions, 1 deletions
diff --git a/src/suitesparse-1.patch b/src/suitesparse-1.patch
new file mode 100644
index 0000000..2563084
--- /dev/null
+++ b/src/suitesparse-1.patch
@@ -0,0 +1,19 @@
+--- SuiteSparse-3.7.0/CHOLMOD/Makefile 2011-12-08 19:56:52.000000000 +0100
++++ SuiteSparse-3.6.0/CHOLMOD/Makefile 2011-01-25 21:05:49.000000000 +0100
+@@ -13,6 +13,6 @@
+
+ # Compile the C-callable libraries and the Demo programs.
+ all:
++ ( cd Lib ; $(MAKE) )
+- ( cd Demo ; $(MAKE) )
+
+ # Compile the C-callable libraries only.
+--- SuiteSparse-3.7.0/UMFPACK/Makefile 2011-12-08 20:57:27.000000000 +0100
++++ SuiteSparse-3.6.1/UMFPACK/Makefile 2011-01-25 21:07:50.000000000 +0100
+@@ -13,5 +13,5 @@
+ # compile all C code (except hb, fortran, and fortran64), including AMD and the
+ # demos, but not the MATLAB mexFunctions
+ all:
++ ( cd Lib ; $(MAKE) )
+- ( cd Demo ; $(MAKE) )
+
diff --git a/src/suitesparse.mk b/src/suitesparse.mk
index 32eb0d1..76b3362 100644
--- a/src/suitesparse.mk
+++ b/src/suitesparse.mk
@@ -24,7 +24,7 @@ define $(PKG)_BUILD
CC='$(TARGET)-gcc' \
CPLUSPLUS='$(TARGET)-g++' \
F77='$(TARGET)-gfortran' \
- AR='$(TARGET)-ar cr' \
+ AR='$(TARGET)-ar' \
RANLIB='$(TARGET)-ranlib' \
BLAS='-lblas -lgfortran -lgfortranbegin' \
CHOLMOD_CONFIG='-DNPARTITION'