Ticket #47903: patch-SuiteSparce_config_Mac.mk.diff
File patch-SuiteSparce_config_Mac.mk.diff, 2.0 KB (added by Schamschula (Marius Schamschula), 9 years ago) |
---|
-
SuiteSparse_config/SuiteSparse_config_Mac.mk
old new 95 95 # LIB = -lm 96 96 97 97 # For "make install" 98 INSTALL_LIB = /usr/local/lib99 INSTALL_INCLUDE = /usr/local/include98 INSTALL_LIB = @DESTROOT@@PREFIX@/lib 99 INSTALL_INCLUDE = @DESTROOT@@PREFIX@/include 100 100 101 101 # Which version of MAKE you are using (default is "make") 102 102 # MAKE = make … … 119 119 # naming the BLAS and LAPACK library (*.a or *.so) files. 120 120 121 121 # This is probably slow ... it might connect to the Standard Reference BLAS: 122 BLAS = -lblas -lgfortran123 LAPACK = -llapack122 # BLAS = -lblas -lgfortran 123 # LAPACK = -llapack 124 124 125 125 # MKL 126 126 # BLAS = -Wl,--start-group $(MKLROOT)/lib/intel64/libmkl_intel_lp64.a $(MKLROOT)/lib/intel64/libmkl_core.a $(MKLROOT)/lib/intel64/libmkl_intel_thread.a -Wl,--end-group -lpthread -lm … … 212 212 # The path is relative to where it is used, in CHOLMOD/Lib, CHOLMOD/MATLAB, etc. 213 213 # You may wish to use an absolute path. METIS is optional. Compile 214 214 # CHOLMOD with -DNPARTITION if you do not wish to use METIS. 215 METIS_PATH = ../../metis-4.0216 METIS = ../../metis-4.0/libmetis.a215 METIS_PATH = @METIS_PATH@ 216 METIS = @METIS@ 217 217 218 218 #------------------------------------------------------------------------------ 219 219 # UMFPACK configuration: … … 273 273 # -DNSUNPERF for Solaris only. If defined, do not use the Sun 274 274 # Performance Library 275 275 276 CHOLMOD_CONFIG = $(GPU_CONFIG)276 CHOLMOD_CONFIG = @CHOLMOD_CONFIG@ 277 277 278 278 # uncomment this line to compile CHOLMOD without METIS: 279 279 # CHOLMOD_CONFIG = -DNPARTITION … … 370 370 # on my MacBook Air, and they work fine. 371 371 372 372 F77 = gfortran 373 CF = $(CFLAGS) -O3 -fno-common -fexceptions -DNTIMER374 BLAS = -framework Accelerate375 LAPACK = -framework Accelerate373 CF = @ARCHES@ $(CFLAGS) -O3 -fno-common -fexceptions -DNTIMER 374 BLAS = @BLAS_LAPACK@ 375 LAPACK = @BLAS_LAPACK@ 376 376 LIB = -lm 377 377 378 378 #------------------------------------------------------------------------------