[mpich2/f15] Modify patch to make MPICH2 examples build with --enable-lib-depend
Deji Akingunola
deji at fedoraproject.org
Mon Sep 12 14:25:48 UTC 2011
commit 3e9cd319537a96f8b207ae12cbf4d75addffad5e
Author: Deji Akingunola <dakingun at mail.com>
Date: Mon Sep 12 10:28:21 2011 -0400
Modify patch to make MPICH2 examples build with --enable-lib-depend
mpich2-mpicxx-und.patch | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/mpich2-mpicxx-und.patch b/mpich2-mpicxx-und.patch
index c9e041b..88b7c81 100644
--- a/mpich2-mpicxx-und.patch
+++ b/mpich2-mpicxx-und.patch
@@ -18,6 +18,17 @@
# --------------------------------------------------------------------------
.libstamp0:
+--- Makefile.in 2011-09-11 20:52:24.702958021 -0400
++++ Makefile.in.new 2011-09-12 09:34:52.824287092 -0400
+@@ -328,7 +328,7 @@
+ # 1) Build the debugger interface if requested
+ # Move the "pkglist.new" file to "pkglist" on successful completion
+ all-postamble:
+- ( cd examples && $(MAKE) )
++ ( cd examples && $(MAKE) LDFLAGS='-L../lib/' LIBS='-lmpl -lopa' )
+ @if [ "@BUILD_TVDLL@" = "yes" ] ; then \
+ ( cd src/mpi/debugger && $(MAKE) ./libtvmpich2. at SHLIB_EXT@ ) ; fi
+ @if [ -s lib/pkglist.new ] ; then mv -f lib/pkglist.new lib/pkglist ; fi
--- src/util/createshlib.in 2010-11-06 11:02:44.000000000 -0400
+++ src/util/createshlib.in.new 2011-08-27 01:04:47.980532917 -0400
@@ -99,7 +99,7 @@
More information about the scm-commits
mailing list