diff -Nurd SuiteSparse/KLU/Include/klu_internal.h SuiteSparse.patched/KLU/Include/klu_internal.h --- SuiteSparse/KLU/Include/klu_internal.h 2012-01-20 08:29:18.000000000 -0700 +++ SuiteSparse.patched/KLU/Include/klu_internal.h 2012-06-22 09:00:00.000000000 -0700 @@ -9,7 +9,6 @@ #include "klu.h" #include "btf.h" -#include "klu_version.h" /* ========================================================================== */ /* make sure debugging and printing is turned off */ @@ -36,6 +35,8 @@ #include #include #include +/* moved klu_version.h after math.h to circumvent compile error on ppc */ +#include "klu_version.h" #undef ASSERT #ifndef NDEBUG diff -Nurd SuiteSparse/UFconfig/UFconfig.mk SuiteSparse.patched/UFconfig/UFconfig.mk --- SuiteSparse/UFconfig/UFconfig.mk 2011-12-08 12:19:48.000000000 -0700 +++ SuiteSparse.patched/UFconfig/UFconfig.mk 2012-06-22 09:08:56.000000000 -0700 @@ -71,7 +71,7 @@ F77LIB = # C and Fortran libraries -LIB = -lm +# LIB = -lm # For "make install" INSTALL_LIB = /usr/local/lib @@ -108,8 +108,8 @@ # naming the BLAS and LAPACK library (*.a or *.so) files. # This is probably slow ... it might connect to the Standard Reference BLAS: -BLAS = -lblas -lgfortran -LAPACK = -llapack +# BLAS = -lblas -lgfortran +# LAPACK = -llapack # NOTE: this next option for the "Goto BLAS" has nothing to do with a "goto" # statement. Rather, the Goto BLAS is written by Dr. Kazushige Goto. @@ -148,8 +148,8 @@ # The path is relative to where it is used, in CHOLMOD/Lib, CHOLMOD/MATLAB, etc. # You may wish to use an absolute path. METIS is optional. Compile # CHOLMOD with -DNPARTITION if you do not wish to use METIS. -METIS_PATH = ../../metis-4.0 -METIS = ../../metis-4.0/libmetis.a +METIS_PATH = +METIS = #------------------------------------------------------------------------------ # UMFPACK configuration: @@ -211,10 +211,10 @@ # -DNSUNPERF for Solaris only. If defined, do not use the Sun # Performance Library -CHOLMOD_CONFIG = +# CHOLMOD_CONFIG = # uncomment this line to compile CHOLMOD without METIS: -# CHOLMOD_CONFIG = -DNPARTITION +CHOLMOD_CONFIG = -DNPARTITION #------------------------------------------------------------------------------ # SuiteSparseQR configuration: @@ -228,7 +228,7 @@ # -DHAVE_TBB enable the use of Intel's Threading Building Blocks (TBB) # default, without timing, without TBB: -SPQR_CONFIG = +SPQR_CONFIG = -DNPARTITION # with timing and TBB: # SPQR_CONFIG = -DTIMING -DHAVE_TBB # with timing @@ -348,11 +348,11 @@ # Macintosh #------------------------------------------------------------------------------ -# CC = gcc -# CFLAGS = -O3 -fno-common -no-cpp-precomp -fexceptions -# LIB = -lstdc++ -# BLAS = -framework Accelerate -# LAPACK = -framework Accelerate +CC = gcc +CFLAGS = -O3 -fno-common -no-cpp-precomp -fexceptions +LIB = -lstdc++ +BLAS = -framework Accelerate +LAPACK = -framework Accelerate #------------------------------------------------------------------------------ # IBM RS 6000