summaryrefslogtreecommitdiffstats
path: root/cluster/atlas
diff options
context:
space:
mode:
authorPeng Chang (Charles)2011-05-15 20:03:04 +0800
committerPeng Chang (Charles)2011-05-15 20:36:55 +0800
commited3ced3522d3c6b4cb10c73fb4bedb63c6358b0e (patch)
tree825f32acbd06daaa6d7c7e90f07f6643a3a69f79 /cluster/atlas
parentd79be23713e53ae7ab768f54f76ed272beb67700 (diff)
atlas: force_depends lapack when necessary
Diffstat (limited to 'cluster/atlas')
-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