1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 13-UFconfig_UFconfig.mk.dpatch by Daniel Rus Morales <danirus@tol-project.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Customizing CFLAGS.
8
diff -u upstrm/UFconfig/UFconfig.mk debsrc/UFconfig/UFconfig.mk
9
--- upstrm/UFconfig/UFconfig.mk 2007-10-24 15:55:44.000000000 +0200
10
+++ debsrc/UFconfig/UFconfig.mk 2007-12-15 17:53:21.000000000 +0100
12
# BLAS = -lgoto -lgfortran -lgfortranbegin
14
# This is probably slow ... it might connect to the Standard Reference BLAS:
15
-BLAS = -lblas -lgfortran -lgfortranbegin
18
+LAPACK = -llapackgf-3
20
# The BLAS might not contain xerbla, an error-handling routine for LAPACK and
22
# The path is relative to where it is used, in CHOLMOD/Lib, CHOLMOD/MATLAB, etc.
23
# You may wish to use an absolute path. METIS is optional. Compile
24
# CHOLMOD with -DNPARTITION if you do not wish to use METIS.
25
-METIS_PATH = ../../metis-4.0
26
-METIS = ../../metis-4.0/libmetis.a
27
+#METIS_PATH = ../../metis-4.0
28
+#METIS = ../../metis-4.0/libmetis.a
30
# If you use CHOLMOD_CONFIG = -DNPARTITION then you must use the following
37
#------------------------------------------------------------------------------
38
# UMFPACK configuration:
40
# -DNSUNPERF for Solaris only. If defined, do not use the Sun
44
+CHOLMOD_CONFIG = -I/usr/include/mpi -DNPARTITION
46
#------------------------------------------------------------------------------
50
# Using default compilers:
56
# CFLAGS = -g -fexceptions \
58
# CFLAGS = -O3 -fexceptions \
59
-Wall -W -Werror -Wshadow -Wmissing-prototypes -Wstrict-prototypes \
60
-Wredundant-decls -Wnested-externs -Wdisabled-optimization -ansi
61
-# CFLAGS = -O3 -fexceptions -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
62
+CFLAGS = -O3 -fexceptions -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE