]> git.pld-linux.org Git - packages/SuiteSparse_config.git/blob - SuiteSparse_config-config.patch
5aec8866c42c91ba8d25bc361a54c23706a31451
[packages/SuiteSparse_config.git] / SuiteSparse_config-config.patch
1 --- SuiteSparse_config/SuiteSparse_config.mk.orig       2012-06-01 21:25:05.000000000 +0200
2 +++ SuiteSparse_config/SuiteSparse_config.mk    2012-06-26 19:19:18.178725712 +0200
3 @@ -60,7 +60,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) -fPIC
9  
10  # ranlib, and ar, for generating libraries.  If you don't need ranlib,
11  # just change it to RANLAB = echo
12 @@ -73,7 +73,7 @@
13  
14  # Fortran compiler (not required for 'make' or 'make library')
15  F77 = gfortran
16 -F77FLAGS = $(FFLAGS) -O
17 +F77FLAGS = $(FFLAGS)
18  F77LIB =
19  
20  # C and Fortran libraries.  Remove -lrt if you don't have it.
21 @@ -82,8 +82,9 @@
22  # LIB = -lm
23  
24  # For "make install"
25 -INSTALL_LIB = /usr/local/lib
26 -INSTALL_INCLUDE = /usr/local/include
27 +INSTALL_PREFIX = /usr
28 +INSTALL_LIB = $(INSTALL_PREFIX)/lib
29 +INSTALL_INCLUDE = $(INSTALL_PREFIX)/include
30  
31  # Which version of MAKE you are using (default is "make")
32  # MAKE = make
33 @@ -162,8 +163,8 @@
34  # The path is relative to where it is used, in CHOLMOD/Lib, CHOLMOD/MATLAB, etc.
35  # You may wish to use an absolute path.  METIS is optional.  Compile
36  # CHOLMOD with -DNPARTITION if you do not wish to use METIS.
37 -METIS_PATH = ../../metis-4.0
38 -METIS = ../../metis-4.0/libmetis.a
39 +METIS_PATH = /usr/include/metis
40 +METIS = -lmetis
41  
42  #------------------------------------------------------------------------------
43  # UMFPACK configuration:
This page took 0.062039 seconds and 2 git commands to generate.