From ed3ced3522d3c6b4cb10c73fb4bedb63c6358b0e Mon Sep 17 00:00:00 2001 From: Peng Chang (Charles) Date: Sun, 15 May 2011 20:03:04 +0800 Subject: atlas: force_depends lapack when necessary --- cluster/atlas/DEPENDS | 7 ++++++- cluster/atlas/HISTORY | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) 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) * 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 -- cgit v1.2.3