Skip to content

Commit

Permalink
SuiteSparse: resurrected and version bumped
Browse files Browse the repository at this point in the history
  • Loading branch information
v4hn committed Jul 9, 2012
1 parent 9069bbf commit 6b666bb
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 0 deletions.
20 changes: 20 additions & 0 deletions science/SuiteSparse/BUILD
@@ -0,0 +1,20 @@
(

CFLAGS+=" -fPIC -O3 -I../Include" &&
CXXFLAGS+=" -fPIC -O3 -I../Include" &&

sedit "s:/usr/local/:/usr/:" SuiteSparse_config/SuiteSparse_config.mk &&
sedit "s:CC = cc:CC = gcc:" metis-4.0/Makefile.in &&
sedit "s:OPTFLAGS = -O2:OPTFLAGS = -O3 -fPIC:" metis-4.0/Makefile.in &&

cd metis-4.0 &&
make &&
cd $SOURCE_DIRECTORY &&

make CFLAGS+=" -fPIC" library &&
prepare_install &&
make install &&

install metis-4.0/libmetis.a /usr/lib/

) > $C_FIFO 2>&1
2 changes: 2 additions & 0 deletions science/SuiteSparse/DEPENDS
@@ -0,0 +1,2 @@
depends lapack
depends glpk
36 changes: 36 additions & 0 deletions science/SuiteSparse/DETAILS
@@ -0,0 +1,36 @@
MODULE=SuiteSparse
VERSION=4.0.0
VERSION2=4.0.3
SOURCE=$MODULE-$VERSION.tar.gz
SOURCE2=metis-$VERSION2.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
SOURCE_URL=http://www.cise.ufl.edu/research/sparse/SuiteSparse/
SOURCE2_URL=http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/
SOURCE_VFY=sha1:4f1f5af64625606d58c129087a66d58d90c4dd58
SOURCE2_VFY=sha1:63303786414a857eaeea2b2a006521401bccda5e
WEB_SITE=http://www.cise.ufl.edu/research/sparse/SuiteSparse/
ENTERED=20110209
UPDATED=20120708
SHORT="Suite of Sparse matrix packages"
PSAFE=no
cat << EOF
A meta package of Spare matrix applications. It includes the following;

AMD: symmetric approximate minimum degree
BTF: permutation to block triangular form
CAMD: symmetric approximate minimum degree
CCOLAMD: constrained column approximate minimum degree
COLAMD: column approximate minimum degree
CHOLMOD: sparse supernodal Cholesky factorization and update/downdate
CSparse: a concise sparse matrix package
CXSparse: an extended version of CSparse
KLU: sparse LU factorization, for circuit simulation
LDL: a simple LDL^T factorization
UMFPACK: sparse multifrontal LU factorization
RBio: MATLAB toolbox for reading/writing sparse matrices
UFconfig: common configuration for all but CSparse
LINFACTOR: solve Ax=b using LU or CHOL
MESHND: 2D and 3D mesh generation and nested dissection
SSMULT: sparse matrix times sparse matrix
SuiteSparseQR: multifrontal sparse QR
EOF
5 changes: 5 additions & 0 deletions science/SuiteSparse/PRE_BUILD
@@ -0,0 +1,5 @@
mk_source_dir &&
unpack $SOURCE &&
cd $SOURCE_DIRECTORY &&
unpack $SOURCE2 &&
mv metis-4.0.3 metis-4.0

0 comments on commit 6b666bb

Please sign in to comment.