1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## UFconfig.mk.dpatch by Christophe Prud'homme <prudhomm@debian.org> <prudhomm@mit.edu>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: * Do not use metis library
6
## DP: * Drop the fortran libraries from linking options
7
## DP: * Link against lapackgf-3 library
10
diff -urNad suitesparse-3.2.0~/UFconfig/UFconfig.mk suitesparse-3.2.0/UFconfig/UFconfig.mk
11
--- suitesparse-3.2.0~/UFconfig/UFconfig.mk 2008-12-07 17:52:54.000000000 +0100
12
+++ suitesparse-3.2.0/UFconfig/UFconfig.mk 2008-12-07 17:53:36.000000000 +0100
14
# BLAS = -lgoto -lgfortran -lgfortranbegin -lg2c
16
# This is probably slow ... it might connect to the Standard Reference BLAS:
17
-BLAS = -lblas -lgfortran -lgfortranbegin -lg2c
20
+LAPACK = -llapackgf-3
22
# Using non-optimized versions:
23
# BLAS = -lblas_plain -lgfortran -lgfortranbegin -lg2c
25
# The path is relative to where it is used, in CHOLMOD/Lib, CHOLMOD/MATLAB, etc.
26
# You may wish to use an absolute path. METIS is optional. Compile
27
# CHOLMOD with -DNPARTITION if you do not wish to use METIS.
28
-METIS_PATH = ../../metis-4.0
29
-METIS = ../../metis-4.0/libmetis.a
30
+#METIS_PATH = ../../metis-4.0
31
+#METIS = ../../metis-4.0/libmetis.a
33
# If you use CHOLMOD_CONFIG = -DNPARTITION then you must use the following
40
#------------------------------------------------------------------------------
41
# UMFPACK configuration:
43
# -DNSUNPERF for Solaris only. If defined, do not use the Sun
47
+CHOLMOD_CONFIG = -DNPARTITION
49
#------------------------------------------------------------------------------
50
# SuiteSparseQR configuration:
52
# -DHAVE_TBB enable the use of Intel's Threading Building Blocks (TBB)
54
# default, without timing, without TBB:
56
+SPQR_CONFIG = -DNPARTITION
57
# with timing and TBB:
58
# SPQR_CONFIG = -DTIMING -DHAVE_TBB