New commits:
commit d10688beb6d969f01e9127f97d32e50363140fc8
Author: Sukneet Basuta <sukneet AT sourcemage.org>
Commit: Sukneet Basuta <sukneet AT sourcemage.org>
atlas: if fortran is enabled, apply patch to not compile fortran libs
(fixes #161)
* no_fortran.patch: added, patch to not compile fortran libs
* BUILD: Only install fortran libs if optional fortran depends is enabled
diff --git a/cluster/atlas/HISTORY b/cluster/atlas/HISTORY
index 5495ff6..d1d45ff 100644
--- a/cluster/atlas/HISTORY
+++ b/cluster/atlas/HISTORY
@@ -1,3 +1,9 @@
+2012-06-22 Sukneet Basuta <sukneet AT sourcemage.org>
+ * PRE_BUILD: if optional fortran depends is enabled, apply
+ patch to not compile fortran libs
+ * no_fortran.patch: added, patch to not compile fortran libs
+ * BUILD: Only install fortran libs if optional fortran depends is
enabled
+
2011-05-15 Peng Chang (Charels) <chp AT sourcemage.org>
* BUILD: fat_shared is still not prevailing, added make check and
make time,
these takes only 2 min, but definitely worth keeping record
diff --git a/cluster/atlas/INSTALL b/cluster/atlas/INSTALL
index 3fe412b..b18db84 100755
--- a/cluster/atlas/INSTALL
+++ b/cluster/atlas/INSTALL
@@ -1,13 +1,17 @@
make install &&
if [ $PT_LIB == y ]; then
- mv -v lib/libptf77blas.so lib/libf77blas.so &&
mv -v lib/libptcblas.so lib/libcblas.so &&
- mv -v $INSTALL_ROOT/usr/lib/libptf77blas.a
$INSTALL_ROOT/usr/lib/libf77blas.a &&
- mv -v $INSTALL_ROOT/usr/lib/libptcblas.a $INSTALL_ROOT/usr/lib/libcblas.a
+ mv -v $INSTALL_ROOT/usr/lib/libptcblas.a $INSTALL_ROOT/usr/lib/libcblas.a
&&
+ if is_depends_enabled $SPELL fortran; then
+ mv -v lib/libptf77blas.so lib/libf77blas.so &&
+ mv -v $INSTALL_ROOT/usr/lib/libptf77blas.a
$INSTALL_ROOT/usr/lib/libf77blas.a
+ fi
else
- rm -v $INSTALL_ROOT/usr/lib/libptf77blas.a &&
- rm -v $INSTALL_ROOT/usr/lib/libptcblas.a
+ rm -v $INSTALL_ROOT/usr/lib/libptcblas.a &&
+ if is_depends_enabled $SPELL fortran; then
+ rm -v $INSTALL_ROOT/usr/lib/libptf77blas.a
+ fi
fi &&