[Lunar-commits] <moonbase> lapack: Not a version bump but is warrented. Switching to cmake for the build.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Thu Feb 10 01:32:58 CET 2011


commit 70f059410aef603d8878bc37b18e0ead14b87da1
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Feb 9 19:32:58 2011 -0500

    lapack: Not a version bump but is warrented. Switching to cmake for the build.
    
    This eliminates a lot of hackery to get shared objects.
---
 science/lapack/BUILD   |   27 +++++++++++++++++++--------
 science/lapack/DEPENDS |    1 +
 science/lapack/DETAILS |    4 ++--
 3 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/science/lapack/BUILD b/science/lapack/BUILD
index 8e63cc5..0589a93 100644
--- a/science/lapack/BUILD
+++ b/science/lapack/BUILD
@@ -1,12 +1,23 @@
 (
   
-  cp INSTALL/make.inc.gfortran make.inc &&
-  sedit "s:O2:O2 -fPIC:" make.inc &&
-  sedit "s:O0:O0 -fPIC:" make.inc &&
-  make blaslib &&
-  make all     &&
-
-  prepare_install &&
-  install *.a /usr/lib
+#  cp INSTALL/make.inc.gfortran make.inc &&
+#  sedit "s:O2:O2 -fPIC:" make.inc &&
+#  sedit "s:O0:O0 -fPIC:" make.inc &&
+#  make blaslib &&
+#  make all     &&
+
+#  prepare_install &&
+#  install *.a /usr/lib
+  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
+
+  mkdir $OOSB_DIR  &&
+  cd $OOSB_DIR     &&
+
+  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+                           -DCMAKE_BUILD_TYPE=RELEASE             \
+                           -DBUILD_SHARED_LIBS=ON                 \
+                           $OPTS                                 &&
+
+  default_make
 
 ) > $C_FIFO 2>&1
diff --git a/science/lapack/DEPENDS b/science/lapack/DEPENDS
new file mode 100644
index 0000000..60dd614
--- /dev/null
+++ b/science/lapack/DEPENDS
@@ -0,0 +1 @@
+depends cmake
diff --git a/science/lapack/DETAILS b/science/lapack/DETAILS
index 05b5b9c..a14ddef 100644
--- a/science/lapack/DETAILS
+++ b/science/lapack/DETAILS
@@ -2,10 +2,10 @@
       VERSION=3.3.0
        SOURCE=$MODULE-$VERSION.tgz
    SOURCE_URL=http://www.netlib.org/lapack/
-   SOURCE_VFY=sha1:a0354c8eda9737319f93472068bbf187b26e1e69
+   SOURCE_VFY=sha1:4f0b103da52110e7f60d1d7676727103aca9785e
      WEB_SITE=http://www.netlib.org/lapack/
       ENTERED=20100102
-      UPDATED=20101115
+      UPDATED=20110209
         SHORT="Linear Algebra PACKage"
 
 cat << EOF


More information about the Lunar-commits mailing list