From: | "Steve Arnold (nerdboy)" <nerdboy@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-cluster/mpich2/files: mpich2-1.0.6-no-pvfs2.patch |
Date: | Mon, 24 Dec 2007 17:33:08 |
Message-Id: | E1J6rAe-0008EC-2z@stork.gentoo.org |
1 | nerdboy 07/12/24 17:32:56 |
2 | |
3 | Added: mpich2-1.0.6-no-pvfs2.patch |
4 | Log: |
5 | made libaio and basic romio support the standard config |
6 | (Portage version: 2.1.4_rc7) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-cluster/mpich2/files/mpich2-1.0.6-no-pvfs2.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/mpich2/files/mpich2-1.0.6-no-pvfs2.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-cluster/mpich2/files/mpich2-1.0.6-no-pvfs2.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: mpich2-1.0.6-no-pvfs2.patch |
15 | =================================================================== |
16 | --- src/mpi/romio/configure.orig 2007-12-15 17:34:03.000000000 -0800 |
17 | +++ src/mpi/romio/configure 2007-12-15 18:15:12.000000000 -0800 |
18 | @@ -1925,6 +1925,12 @@ |
19 | # Check whether --with-pvfs2 was given. |
20 | if test "${with_pvfs2+set}" = set; then |
21 | withval=$with_pvfs2; |
22 | + if test "x$withval" = "xno" ; then |
23 | + without_pvfs2=yes |
24 | + with_pvfs2="" |
25 | + fi |
26 | +else |
27 | + without_pvfs2=yes |
28 | fi |
29 | |
30 | |
31 | @@ -7574,11 +7580,16 @@ |
32 | |
33 | |
34 | if test $PVFS2_CONFIG != "notfound" ; then |
35 | - CFLAGS="$CFLAGS $( $PVFS2_CONFIG --cflags)" |
36 | - LIBS="$LIBS $( $PVFS2_CONFIG --libs)" |
37 | - ROMIO_LIBLIST="$ROMIO_LIBLIST $LIBS" |
38 | - FILE_SYSTEM="pvfs2 $FILE_SYSTEM" |
39 | - file_system_pvfs2=1 |
40 | + if test "x$without_pvfs2" = "xyes" ; then |
41 | + ROMIO_LIBLIST="$ROMIO_LIBLIST $LIBS" |
42 | + file_system_pvfs2=0 |
43 | + else |
44 | + CFLAGS="$CFLAGS $( $PVFS2_CONFIG --cflags)" |
45 | + LIBS="$LIBS $( $PVFS2_CONFIG --libs)" |
46 | + ROMIO_LIBLIST="$ROMIO_LIBLIST $LIBS" |
47 | + FILE_SYSTEM="pvfs2 $FILE_SYSTEM" |
48 | + file_system_pvfs2=1 |
49 | + fi |
50 | fi |
51 | |
52 | if test "$PVFS2_CONFIG" = "notfound" -a -n "$with_pvfs2" ; then |
53 | |
54 | |
55 | |
56 | -- |
57 | gentoo-commits@g.o mailing list |