From 3e06e9b979131cf2208b4237bab45aeb924d05d3 Mon Sep 17 00:00:00 2001 From: Peng Chang (Charles) Date: Sat, 14 May 2011 21:35:58 +0800 Subject: atlas: patch for configure for compatibility with lapack --- cluster/atlas/HISTORY | 5 +++++ cluster/atlas/PRE_BUILD | 1 + cluster/atlas/configure.patch | 12 ++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 cluster/atlas/configure.patch (limited to 'cluster/atlas') diff --git a/cluster/atlas/HISTORY b/cluster/atlas/HISTORY index 4c8c9d854b..09b8af8803 100644 --- a/cluster/atlas/HISTORY +++ b/cluster/atlas/HISTORY @@ -1,3 +1,8 @@ +2011-05-14 Peng Chang (Charles) + * PRE_BUILD: patching configure, removing duplicate object file from + liblapack.a + * configure.patch: the patch + 2011-05-13 Peng Chang (Charles) * DETAILS: PATCHLEVEL++ * BUILD, CONFIGURE: clean up ineffective options diff --git a/cluster/atlas/PRE_BUILD b/cluster/atlas/PRE_BUILD index ce52e773e0..1486f51799 100755 --- a/cluster/atlas/PRE_BUILD +++ b/cluster/atlas/PRE_BUILD @@ -2,4 +2,5 @@ default_pre_build && mkdir $SOURCE_DIRECTORY/bld && cd $SOURCE_DIRECTORY && +patch configure $SPELL_DIRECTORY/configure.patch && patch tune/blas/gemm/emit_mm.c $SPELL_DIRECTORY/emit_mm.patch diff --git a/cluster/atlas/configure.patch b/cluster/atlas/configure.patch new file mode 100644 index 0000000000..f457d5bd8c --- /dev/null +++ b/cluster/atlas/configure.patch @@ -0,0 +1,12 @@ +--- configure 2009-02-19 02:47:35.000000000 +0800 ++++ configure 2011-05-14 16:49:30.470003020 +0800 +@@ -262,7 +262,8 @@ + if test $flapack != "ATL_NoOverride" + then + cp -f $flapack lib/liblapack.a +- ar d lib/liblapack.a lsame.o xerbla.o csrot.o zdrot.o ++ ar d lib/liblapack.a lsame.o xerbla.o csrot.o zdrot.o \ ++ spotrf.o cpotrs.o cgetrs.o cpotrf.o cgetrf.o + fi + echo "DONE configure" + # -- cgit v1.2.3