[Lunar-commits] <moonbase-other> SuiteSparse: resurrected and version bumped
v4hn
me at v4hn.de
Mon Jul 9 19:50:24 CEST 2012
commit 6b666bb7e8c10c80d8f3cc2b50fa580b277eff6f
Author: v4hn <me at v4hn.de>
Date: Mon, 09 Jul 2012 10:50:24 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/6b666bb7e8c10c80d8f3cc2b50fa580b277eff6f
SuiteSparse: resurrected and version bumped
---
science/SuiteSparse/BUILD +20/-0
science/SuiteSparse/DEPENDS +2/-0
science/SuiteSparse/DETAILS +36/-0
science/SuiteSparse/PRE_BUILD +5/-0
4 files changed, 63 insertions (+), 0 deletions (-)
--- /dev/null
+++ b/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
--- /dev/null
+++ b/science/SuiteSparse/DEPENDS
@@ -0,0 +1,2 @@
+depends lapack
+depends glpk
--- /dev/null
+++ b/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
--- /dev/null
+++ b/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
More information about the Lunar-commits
mailing list