summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2007-12-24 17:32:55 +0000
committerSteve Arnold <nerdboy@gentoo.org>2007-12-24 17:32:55 +0000
commitca602ca6b9af919e6122ff9598a0b182f97b40fe (patch)
treea4937fc9072b5f1bc9cb9b36f1e738e9611b44ab /sys-cluster/mpich2/files
parentDont force src_test any longer as things seem to be sane. (diff)
downloadgentoo-2-ca602ca6b9af919e6122ff9598a0b182f97b40fe.tar.gz
gentoo-2-ca602ca6b9af919e6122ff9598a0b182f97b40fe.tar.bz2
gentoo-2-ca602ca6b9af919e6122ff9598a0b182f97b40fe.zip
made libaio and basic romio support the standard config
(Portage version: 2.1.4_rc7)
Diffstat (limited to 'sys-cluster/mpich2/files')
-rw-r--r--sys-cluster/mpich2/files/mpich2-1.0.6-no-pvfs2.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/sys-cluster/mpich2/files/mpich2-1.0.6-no-pvfs2.patch b/sys-cluster/mpich2/files/mpich2-1.0.6-no-pvfs2.patch
new file mode 100644
index 000000000000..c3b58e447956
--- /dev/null
+++ b/sys-cluster/mpich2/files/mpich2-1.0.6-no-pvfs2.patch
@@ -0,0 +1,37 @@
+--- src/mpi/romio/configure.orig 2007-12-15 17:34:03.000000000 -0800
++++ src/mpi/romio/configure 2007-12-15 18:15:12.000000000 -0800
+@@ -1925,6 +1925,12 @@
+ # Check whether --with-pvfs2 was given.
+ if test "${with_pvfs2+set}" = set; then
+ withval=$with_pvfs2;
++ if test "x$withval" = "xno" ; then
++ without_pvfs2=yes
++ with_pvfs2=""
++ fi
++else
++ without_pvfs2=yes
+ fi
+
+
+@@ -7574,11 +7580,16 @@
+
+
+ if test $PVFS2_CONFIG != "notfound" ; then
+- CFLAGS="$CFLAGS $( $PVFS2_CONFIG --cflags)"
+- LIBS="$LIBS $( $PVFS2_CONFIG --libs)"
+- ROMIO_LIBLIST="$ROMIO_LIBLIST $LIBS"
+- FILE_SYSTEM="pvfs2 $FILE_SYSTEM"
+- file_system_pvfs2=1
++ if test "x$without_pvfs2" = "xyes" ; then
++ ROMIO_LIBLIST="$ROMIO_LIBLIST $LIBS"
++ file_system_pvfs2=0
++ else
++ CFLAGS="$CFLAGS $( $PVFS2_CONFIG --cflags)"
++ LIBS="$LIBS $( $PVFS2_CONFIG --libs)"
++ ROMIO_LIBLIST="$ROMIO_LIBLIST $LIBS"
++ FILE_SYSTEM="pvfs2 $FILE_SYSTEM"
++ file_system_pvfs2=1
++ fi
+ fi
+
+ if test "$PVFS2_CONFIG" = "notfound" -a -n "$with_pvfs2" ; then