summaryrefslogtreecommitdiffstats
path: root/cluster
diff options
context:
space:
mode:
Diffstat (limited to 'cluster')
-rwxr-xr-xcluster/atlas/DEPENDS7
-rw-r--r--cluster/atlas/HISTORY1
2 files changed, 7 insertions, 1 deletions
diff --git a/cluster/atlas/DEPENDS b/cluster/atlas/DEPENDS
index e0d753e231..826f0b0268 100755
--- a/cluster/atlas/DEPENDS
+++ b/cluster/atlas/DEPENDS
@@ -1,4 +1,9 @@
-optional_depends fortran "" "--nof77" "for fortran bindings"
+optional_depends fortran "" "--nof77" "for fortran bindings" &&
if is_depends_enabled $SPELL fortran; then
optional_depends lapack "" "" "to build enhanced liblapack.a"
+fi &&
+
+# atlas needs a fresh liblapack.a from lapack, not a former processed one
+if is_depends_enabled $SPELL lapack && spell_ok $SPELL; then
+ force_depends lapack
fi
diff --git a/cluster/atlas/HISTORY b/cluster/atlas/HISTORY
index ae8666bd2a..5495ff64a9 100644
--- a/cluster/atlas/HISTORY
+++ b/cluster/atlas/HISTORY
@@ -1,6 +1,7 @@
2011-05-15 Peng Chang (Charels) <chp@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
+ * DEPENDS: force_depends lapack when necessary
* DETAILS: updated to 3.8.4
* PRE_BUILD: patch archinfo_x86.c; there's no reference builds for Corei2,
which will cause build failure and the detection for Corei2 is buggy, so