[Lunar-commits] <moonbase> SuiteSparse: Adding to moonbase.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Feb 10 03:25:24 CET 2011


commit 526e19f20be0b31f54f8e7266df7fbe1ecd36dbd
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Feb 9 21:25:24 2011 -0500

    SuiteSparse: Adding to moonbase.
---
 science/SuiteSparse/BUILD     |   18 ++++++++++++++++++
 science/SuiteSparse/DEPENDS   |    3 +++
 science/SuiteSparse/DETAILS   |   39 +++++++++++++++++++++++++++++++++++++++
 science/SuiteSparse/PRE_BUILD |    4 ++++
 4 files changed, 64 insertions(+), 0 deletions(-)

diff --git a/science/SuiteSparse/BUILD b/science/SuiteSparse/BUILD
new file mode 100644
index 0000000..c56dcc5
--- /dev/null
+++ b/science/SuiteSparse/BUILD
@@ -0,0 +1,18 @@
+(
+
+  sedit "s:/usr/local/:/usr/:" UFconfig/UFconfig.mk &&
+  sedit "s:CC = cc:CC = gcc:" metis-4.0/Makefile.in &&
+  sedit "s:OPTFLAGS = -O2:OPTFLAGS = -O3 -fPIC:" metis-4.0/Makefile.in &&
+
+  patch_it $SOURCE_CACHE/$SOURCE3 0 &&
+
+  cd metis-4.0 &&
+  make  &&
+  cd $SOURCE_DIRECTORY &&
+
+  make CFLAGS+=" -fPIC" library &&
+  prepare_install &&
+  install metis-4.0/libmetis.a /usr/lib/ &&
+  make install 
+
+) > $C_FIFO 2>&1
diff --git a/science/SuiteSparse/DEPENDS b/science/SuiteSparse/DEPENDS
new file mode 100644
index 0000000..cd214ba
--- /dev/null
+++ b/science/SuiteSparse/DEPENDS
@@ -0,0 +1,3 @@
+depends lapack
+depends glpk
+
diff --git a/science/SuiteSparse/DETAILS b/science/SuiteSparse/DETAILS
new file mode 100644
index 0000000..7260dac
--- /dev/null
+++ b/science/SuiteSparse/DETAILS
@@ -0,0 +1,39 @@
+          MODULE=SuiteSparse
+         VERSION=3.6.0
+        VERSION2=4.0
+          SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=metis-$VERSION2.tar.gz
+         SOURCE3=metis-4.0-01.patch
+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/
+     SOURCE3_URL=$PATCH_URL
+      SOURCE_VFY=sha1:bc430a051de5681d31f819b40b7f0ea0be178e04
+     SOURCE2_VFY=sha1:580568308e1fa40e5a7a77cacbf27f865d6c01af
+     SOURCE3_VFY=5a36b56bb976236393cfc0b7c5e3dc883fc64673
+        WEB_SITE=http://www.cise.ufl.edu/research/sparse/SuiteSparse/
+         ENTERED=20110209
+         UPDATED=20110209
+           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
diff --git a/science/SuiteSparse/PRE_BUILD b/science/SuiteSparse/PRE_BUILD
new file mode 100644
index 0000000..03a0cb4
--- /dev/null
+++ b/science/SuiteSparse/PRE_BUILD
@@ -0,0 +1,4 @@
+mk_source_dir &&
+unpack $SOURCE  &&
+cd $SOURCE_DIRECTORY &&
+unpack $SOURCE2


More information about the Lunar-commits mailing list