summaryrefslogtreecommitdiffstats
path: root/cluster
diff options
context:
space:
mode:
authorPeng Chang (Charles)2011-05-14 21:35:58 +0800
committerPeng Chang (Charles)2011-05-14 22:26:51 +0800
commit3e06e9b979131cf2208b4237bab45aeb924d05d3 (patch)
tree51025aa81e250dd3c0e9c890a3931e84a77c61a2 /cluster
parentd1331db14893fd0b0df79cfb90c414740c3efb7b (diff)
atlas: patch for configure for compatibility with lapack
Diffstat (limited to 'cluster')
-rw-r--r--cluster/atlas/HISTORY5
-rwxr-xr-xcluster/atlas/PRE_BUILD1
-rw-r--r--cluster/atlas/configure.patch12
3 files changed, 18 insertions, 0 deletions
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) <chp@sourcemage.org>
+ * PRE_BUILD: patching configure, removing duplicate object file from
+ liblapack.a
+ * configure.patch: the patch
+
2011-05-13 Peng Chang (Charles) <chp@sourcemage.org>
* 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"
+ #