Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv24552
Modified Files:
suitesparse.info suitesparse.patch
Added Files:
suitesparse-metis.info suitesparse-metis.patch
Log Message:
suitesparse family: sync. w/ unstable/10.4-EOL
Index: suitesparse.info
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/sci/suitesparse.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- suitesparse.info 11 Jul 2011 04:08:34 -0000 1.1
+++ suitesparse.info 19 Oct 2011 20:05:34 -0000 1.2
@@ -1,16 +1,23 @@
Package: suitesparse
-Version: 3.1.0
+Version: 3.6.1
Revision: 1
Source:
http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-%v.tar.gz
-Source-MD5: 58d90444feef92fc7c265cbd11a757c6
+Source-MD5: 88a44890e8f61cdbb844a76b7259d876
SourceDirectory: SuiteSparse
BuildDepends: fink (>= 0.24.12)
+Conflicts: %n-metis
+Replaces: %n-metis
+BuildConflicts: coreutils-default
+
PatchFile: %n.patch
-PatchFile-MD5: 1eb2eb73cb1abef598fb7bb51a8a26b3
+PatchFile-MD5: 6afa1a57d31746042d4183207f2de947
PatchScript: <<
%{default_script}
sed -i.bak -e 's,^CFLAGS = -O,&3 -fstrict-aliasing,'
C{,X}Sparse/Lib/Makefile
+ sed -i -e 's|-no-cpp-precomp||g' ./UFconfig/UFconfig.mk
<<
+# avoid race condidtion
+UseMaxBuildJobs: false
CompileScript: <<
#! /bin/sh -ev
# Compile SuiteSparse without METIS.
@@ -57,5 +64,5 @@
<<
Description: Suite of Sparse matrix packages
License: GPL/LGPL
-Maintainer: Ben Abbott <[email protected]>
+Maintainer: Jack Howarth <[email protected]>
Homepage: http://www.cise.ufl.edu/research/sparse/SuiteSparse/
--- NEW FILE: suitesparse-metis.info ---
Package: suitesparse-metis
Version: 3.6.1
Revision: 1
Source:
http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-%v.tar.gz
Source-MD5: 88a44890e8f61cdbb844a76b7259d876
SourceDirectory: SuiteSparse
BuildDepends: fink (>= 0.24.12)
BuildConflicts: coreutils-default
Conflicts: suitesparse
Replaces: suitesparse
Depends: metis
PatchFile: %n.patch
PatchFile-MD5: 86e123887db5bcc19880b49fe4ffe2e6
PatchScript: <<
#!/bin/sh -ev
sed -e 's,@METISPREFIX@,%p,g' %{PatchFile} | patch -p1
sed -i.bak -e 's,^CFLAGS = -O,&3 -fstrict-aliasing,'
C{,X}Sparse/Lib/Makefile
sed -i -e 's,I$(METIS_PATH)/Lib,I$(METIS_PATH)/include,'
CHOLMOD/Lib/Makefile
sed -i -e 's|-no-cpp-precomp||g' ./UFconfig/UFconfig.mk
<<
# avoid race condidtion
UseMaxBuildJobs: false
CompileScript: <<
#! /bin/sh -ev
# Compile SuiteSparse with METIS.
export CHOLMOD_CONFIG=''
echo **** Start: Message from SuiteSparse CompileScript ****
echo CHOLMOD_CONFIG = $CHOLMOD_CONFIG
echo **** Stop: Message from SuiteSparse CompileScript ****
make default
<<
InstallScript: <<
#! /bin/sh -ev
install -d %i/lib
find . -name 'lib*.a' -exec install -m 644 \{\} %i/lib \;
rm %i/lib/libcsparse.a
ranlib %i/lib/lib*.a
install -d %i/include/suitesparse
install -p -m 644 \
`find . -name '*.h'|egrep -v
'^\./(CSparse/|CXSparse_n|UMFPACK/Source/)|/(MATLAB|Demo|Tcov)/|_(internal|version)\.h$'`
\
%i/include/suitesparse
for f in `ls -1 {,*/,CHOLMOD/*/}*.txt|egrep -v '_newfiles|MATLAB'|sed -e
's,^,./,' -e 's,/[^/]*$,,'|sort -u`
do install -d %i/share/doc/suitesparse/$f; install -p -m 644 $f/*.txt
%i/share/doc/suitesparse/$f; done
for f in `ls -1d */Doc|fgrep -v _newfiles|sed -e 's,/[^/]*$,,'`
do install -d %i/share/doc/suitesparse/$f; install -p -m 644 $f/Doc/*
%i/share/doc/suitesparse/$f; done
cd %i/share/doc/suitesparse
# replace duplicates by symlinks
for n in lesser gpl; do
l=`ls -1 {,*/}*/$n.txt`
target=`tail -n1<<<"$l"`
list=`sed -e '$d'<<<"$l"`
for f in $list; do g=`sed -e 's,[^/]\+,..,g' -e 's,\.\.$,,' <<<"$f"`;
ln -fs $g$target $f; done
done
# clean up
find . \( -name Makefile \
-o -name '*.bib' -o -name '*.tex' -o -name '*.stex' -o -name '*.sed*'
-o -name '*.awk' -o -name '*diff' -o -name '*proto' \
\) -exec rm \{\} \;
cd -
<<
Description: Suite of Sparse matrix packages
DescUsage: <<
This version of SuiteSparse uses the METIS libraries. Packages that link
against libcholmod.a from this one will also need to use -lmetis.
<<
License: GPL/LGPL
Maintainer: Alexander Hansen <[email protected]>
Homepage: http://www.cise.ufl.edu/research/sparse/SuiteSparse/
--- NEW FILE: suitesparse-metis.patch ---
diff -urN -x .DS_Store originals/SuiteSparse/KLU/Include/klu_internal.h
SuiteSparse/KLU/Include/klu_internal.h
--- originals/SuiteSparse/KLU/Include/klu_internal.h 2007-05-04
17:00:06.000000000 -0400
+++ SuiteSparse/KLU/Include/klu_internal.h 2008-03-22 20:19:59.000000000
-0400
@@ -9,7 +9,7 @@
#include "klu.h"
#include "btf.h"
-#include "klu_version.h"
+/*#include "klu_version.h"*/
/* ==========================================================================
*/
/* make sure debugging and printing is turned off */
@@ -36,6 +36,8 @@
#include <limits.h>
#include <stdlib.h>
#include <math.h>
+/* 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-05-10 16:47:15.000000000 -0400
+++ SuiteSparse.patched//UFconfig/UFconfig.mk 2011-08-24 15:14:47.000000000
-0400
@@ -33,8 +33,8 @@
# C compiler and compiler flags: These will normally not give you optimal
# performance. You should select the optimization parameters that are best
# for your system. On Linux, use "CFLAGS = -O3 -fexceptions" for example.
-CC = cc
-CFLAGS = -O3 -fexceptions
+#CC = cc
+#CFLAGS = -O3 -fexceptions
# C++ compiler (also uses CFLAGS)
CPLUSPLUS = g++
@@ -54,7 +54,7 @@
F77LIB =
# C and Fortran libraries
-LIB = -lm
+#LIB = -lm
# For compiling MATLAB mexFunctions (MATLAB 7.5 or later)
MEX = mex -O -largeArrayDims -lmwlapack -lmwblas
@@ -91,8 +91,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.
@@ -132,13 +132,13 @@
# 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-4.0
+#METIS = ../../metis-4.0/libmetis.a
# If you use CHOLMOD_CONFIG = -DNPARTITION then you must use the following
# options:
-# METIS_PATH =
-# METIS =
+METIS_PATH = @METISPREFIX@
+METIS = @METISPREFIX@/lib/libmetis.a
#------------------------------------------------------------------------------
# UMFPACK configuration:
@@ -194,7 +194,7 @@
# -DNSUNPERF for Solaris only. If defined, do not use the Sun
# Performance Library
-CHOLMOD_CONFIG =
+CHOLMOD_CONFIG =
#------------------------------------------------------------------------------
# SuiteSparseQR configuration:
@@ -232,7 +232,7 @@
#------------------------------------------------------------------------------
# Using default compilers:
-# CC = gcc
+CC = gcc
# CFLAGS = -O3 -fexceptions
# alternatives:
@@ -286,10 +286,10 @@
# As recommended by macports, http://suitesparse.darwinports.com/
# I've tested them myself on Mac OSX 10.6.1 (Snow Leopard), on my MacBook Air.
-# F77 = gfortran
-# CFLAGS = -O3 -fno-common -no-cpp-precomp -fexceptions
-# BLAS = -framework Accelerate
-# LAPACK = -framework Accelerate
+F77 = gfortran
+CFLAGS = -O3 -fno-common -no-cpp-precomp -fexceptions
+BLAS = -framework Accelerate
+LAPACK = -framework Accelerate
# Using netlib.org LAPACK and BLAS compiled by gfortran, with and without
# optimzation:
Index: suitesparse.patch
===================================================================
RCS file:
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/sci/suitesparse.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- suitesparse.patch 11 Jul 2011 04:08:34 -0000 1.1
+++ suitesparse.patch 19 Oct 2011 20:05:34 -0000 1.2
@@ -1,28 +1,15 @@
-diff -urN -x .DS_Store originals/SuiteSparse/AMD/Makefile
SuiteSparse/AMD/Makefile
---- originals/SuiteSparse/AMD/Makefile 2007-05-05 13:23:47.000000000 -0400
-+++ SuiteSparse/AMD/Makefile 2008-03-22 20:19:59.000000000 -0400
-@@ -8,7 +8,7 @@
-
- # Compile all C code, including the C-callable routines.
- # Do not compile the FORTRAN versions, or MATLAB interface.
--demo:
-+demo: Makefile
- ( cd Lib ; $(MAKE) )
- ( cd Demo ; $(MAKE) )
-
-diff -urN -x .DS_Store originals/SuiteSparse/KLU/Include/klu_internal.h
SuiteSparse/KLU/Include/klu_internal.h
---- originals/SuiteSparse/KLU/Include/klu_internal.h 2007-05-04
17:00:06.000000000 -0400
-+++ SuiteSparse/KLU/Include/klu_internal.h 2008-03-22 20:19:59.000000000
-0400
-@@ -9,7 +9,7 @@
+diff -uNr SuiteSparse/KLU/Include/klu_internal.h
SuiteSparse.patched/KLU/Include/klu_internal.h
+--- SuiteSparse/KLU/Include/klu_internal.h 2009-03-24 14:55:04.000000000
-0400
++++ SuiteSparse.patched/KLU/Include/klu_internal.h 2011-07-24
09:50:47.000000000 -0400
+@@ -9,7 +9,6 @@
#include "klu.h"
#include "btf.h"
-#include "klu_version.h"
-+/*#include "klu_version.h"*/
/* ==========================================================================
*/
/* make sure debugging and printing is turned off */
-@@ -36,6 +36,8 @@
+@@ -36,6 +35,8 @@
#include <limits.h>
#include <stdlib.h>
#include <math.h>
@@ -31,53 +18,30 @@
#undef ASSERT
#ifndef NDEBUG
-diff -urN -x .DS_Store originals/SuiteSparse/LDL/Makefile
SuiteSparse/LDL/Makefile
---- originals/SuiteSparse/LDL/Makefile 2007-05-05 13:24:14.000000000 -0400
-+++ SuiteSparse/LDL/Makefile 2008-03-22 20:19:59.000000000 -0400
-@@ -7,7 +7,7 @@
- include ../UFconfig/UFconfig.mk
-
- # Compile all C code, including the C-callable routine.
--demo:
-+demo: Makefile
- ( cd Lib ; $(MAKE) )
- ( cd Demo ; $(MAKE) )
-
-diff -urN -x .DS_Store originals/SuiteSparse/UFconfig/UFconfig.mk
SuiteSparse/UFconfig/UFconfig.mk
---- originals/SuiteSparse/UFconfig/UFconfig.mk 2007-10-24 09:55:44.000000000
-0400
-+++ SuiteSparse/UFconfig/UFconfig.mk 2008-03-22 20:19:59.000000000 -0400
-@@ -32,8 +32,8 @@
- # C compiler and compiler flags: These will normally not give you optimal
- # performance. You should select the optimization parameters that are best
- # for your system. On Linux, use "CFLAGS = -O3 -fexceptions" for example.
--CC = cc
--CFLAGS = -O
-+#CC = cc
-+# CFLAGS = -O
-
- # ranlib, and ar, for generating libraries
- RANLIB = ranlib
-@@ -49,7 +49,7 @@
+diff -uNr SuiteSparse/UFconfig/UFconfig.mk
SuiteSparse.patched/UFconfig/UFconfig.mk
+--- SuiteSparse/UFconfig/UFconfig.mk 2011-05-10 16:47:15.000000000 -0400
++++ SuiteSparse.patched/UFconfig/UFconfig.mk 2011-07-24 09:53:37.000000000
-0400
+@@ -54,7 +54,7 @@
F77LIB =
# C and Fortran libraries
-LIB = -lm
+# LIB = -lm
- # For compiling MATLAB mexFunctions (MATLAB 7.5)
+ # For compiling MATLAB mexFunctions (MATLAB 7.5 or later)
MEX = mex -O -largeArrayDims -lmwlapack -lmwblas
-@@ -85,8 +85,8 @@
- # BLAS = -lgoto -lgfortran -lgfortranbegin
+@@ -91,8 +91,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 -lgfortranbegin
+-BLAS = -lblas -lgfortran
-LAPACK = -llapack
-+# BLAS = -lblas -lgfortran -lgfortranbegin
++# BLAS = -lblas -lgfortran
+# LAPACK = -llapack
- # The BLAS might not contain xerbla, an error-handling routine for LAPACK and
- # the BLAS. Also, the standard xerbla requires the Fortran I/O library, and
-@@ -114,13 +114,13 @@
+ # 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.
+@@ -132,13 +132,13 @@
# 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.
@@ -95,7 +59,7 @@
#------------------------------------------------------------------------------
# UMFPACK configuration:
-@@ -176,15 +176,15 @@
+@@ -194,7 +194,7 @@
# -DNSUNPERF for Solaris only. If defined, do not use the Sun
# Performance Library
@@ -103,18 +67,17 @@
+CHOLMOD_CONFIG = -DNPARTITION
#------------------------------------------------------------------------------
- # Linux
-
#------------------------------------------------------------------------------
-
- # Using default compilers:
--# CC = gcc
--CFLAGS = -O3
-+CC = gcc
-+# CFLAGS = -O3
+ # SuiteSparseQR configuration:
+@@ -208,7 +208,7 @@
+ # -DHAVE_TBB enable the use of Intel's Threading Building Blocks (TBB)
- # alternatives:
- # CFLAGS = -g -fexceptions \
-@@ -252,11 +252,11 @@
+ # default, without timing, without TBB:
+-SPQR_CONFIG =
++SPQR_CONFIG = -DNPARTITION
+ # with timing and TBB:
+ # SPQR_CONFIG = -DTIMING -DHAVE_TBB
+ # with timing
+@@ -328,11 +328,11 @@
# Macintosh
#------------------------------------------------------------------------------
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs