1 --- mpich-1.2.1/mpid/ch_p4/Makefile.in.orig Wed Aug 16 21:22:39 2000
2 +++ mpich-1.2.1/mpid/ch_p4/Makefile.in Tue May 29 22:11:11 2001
4 # found in, not the directory where the compiler is running (!)
5 # Trailing / causes problems for some versions of gcc (was -I./)
6 # Was -I../.. -I../ch_p4
7 -CFLAGS = @CFLAGS@ -I${top_srcdir}/mpid/ch2 -I${srcdir} -I${top_srcdir}/mpid/util -Ip4 -Ip4/include
8 +CFLAGS = @CFLAGS@ ${OPTFLAGS} -I${top_srcdir}/mpid/ch2 -I${srcdir} -I${top_srcdir}/mpid/util -Ip4 -Ip4/include
10 # See mpid/ch_adi2/Makefile.in for a full list
11 SOURCE = adi2recv.c adi2send.c adi2init.c adi2probe.c adi2ssend.c \
12 --- mpich-1.2.5/src/env/Makefile.in.orig Tue Sep 5 16:23:17 2000
13 +++ mpich-1.2.5/src/env/Makefile.in Tue May 29 22:28:29 2001
15 # the MPI libraries will work
16 msgqdllloc.o: ${top_srcdir}/src/env/msgqdllloc.c
17 @if test -n "@SHAREDKIND_FOR_TV@" -a "@SHAREDKIND_FOR_TV@" != "ignore" ; then \
18 - ${CC} ${DEFS} ${CFLAGS} -c @CC_SHARED_OPT_FOR_TV@ \
19 + ${CC} ${DEFS} ${CFLAGS} ${OPTFLAGSC} ${OPTFLAGS} -c @CC_SHARED_OPT_FOR_TV@ \
20 -DMPICH_INFODLL_LOC='"@libdir@/libtvmpich.so"' ${top_srcdir}/src/env/msgqdllloc.c ; \
22 - ${CC} ${DEFS} ${CFLAGS} -c ${top_srcdir}/src/env/msgqdllloc.c ; \
23 + ${CC} ${DEFS} ${CFLAGS} ${OPTFLAGSC} ${OPTFLAGS} -c ${top_srcdir}/src/env/msgqdllloc.c ; \
27 --- mpich-1.2.5/src/infoexport/Makefile.in.orig Fri Jan 14 21:58:04 2000
28 +++ mpich-1.2.5/src/infoexport/Makefile.in Tue May 29 22:50:47 2001
31 # Define FOR_MPI2=1 to enable some MPI-2 support
32 DEFS = @DEFS@ ${MPIPROFILE} -I. -I${srcdir} @mpich_includes@ -DFOR_MPI2=0
33 -CFLAGS = -g @CC_SHARED_OPT_FOR_TV@ @CFLAGS@
34 +CFLAGS = @OPTFLAGS@ @CC_SHARED_OPT_FOR_TV@ @CFLAGS@
38 --- mpich-1.2.1/src/fortran/configure.in.orig Tue Aug 29 23:53:00 2000
39 +++ mpich-1.2.1/src/fortran/configure.in Tue May 29 22:56:52 2001
43 [--enable-strict - Turn on strict compilation testing when using gcc],
44 -COPTIONS="${COPTIONS} -Wall -O -Wstrict-prototypes -Wmissing-prototypes -DGCC_WALL")
45 +COPTIONS="${COPTIONS} -Wall -Wstrict-prototypes -Wmissing-prototypes -DGCC_WALL")
48 [--enable-echo - Turn on echoing from within the configure script],
49 --- mpich-1.2.1/src/fortran/configure.orig Tue Sep 5 22:05:39 2000
50 +++ mpich-1.2.1/src/fortran/configure Tue May 29 23:16:32 2001
52 # Check whether --enable-strict or --disable-strict was given.
53 if test "${enable_strict+set}" = set; then
54 enableval="$enable_strict"
55 - COPTIONS="${COPTIONS} -Wall -O -Wstrict-prototypes -Wmissing-prototypes -DGCC_WALL"
56 + COPTIONS="${COPTIONS} -Wall -Wstrict-prototypes -Wmissing-prototypes -DGCC_WALL"
60 --- mpich-1.2.5/configure.in.orig Tue Aug 29 23:52:53 2000
61 +++ mpich-1.2.5/configure.in Tue May 29 23:05:24 2001
66 + COPTIONS="$OPTFLAGSC $OPTFLAGS"; export COPTIONS;\
67 + FOPTIONS="$OPTFLAGSF $OPTFLAGS"; export FOPTIONS;\
68 export mpich_includes ;\
70 export BASE_LIB_LIST ;\
72 -mpibindir=$binbuild_dir \
73 -mpilib=$libbuild_dir/lib$MPILIBNAME.a \
74 -mpiolib=$libbuild_dir/lib$MPILIBNAME.a \
75 - -cc="$CC" -cflags="$ROMIO_CFLAGS $CC_SHARED_OPT" \
76 - -fc="$F77" -fflags="$ROMIO_FFLAGS $FC_SHARED_OPT" \
77 + -cc="$CC" -cflags="$ROMIO_CFLAGS $CC_SHARED_OPT $OPTFLAGSC $OPTFLAGS" \
78 + -fc="$F77" -fflags="$ROMIO_FFLAGS $FC_SHARED_OPT $OPTFLAGSF $OPTFLAGS" \
79 -f90="$F90" $romio_config_args $enable_args $with_args )
80 /bin/rm -f include/mpio.h ${top_srcdir}/include/mpio.h
81 cp romio/include/mpio.h include
83 --prefix=${prefix} $enable_args $with_args \
84 --libdir=${libdir} --bindir=${bindir} \
85 --includedir=${includedir} \
86 + --with-cflags="$OPTFLAGSC $OPTFLAGS" \
89 echo "Done configuring MPE Profiling Libraries" ; echo
90 --- mpich-1.2.5/configure.orig Tue Aug 29 23:52:24 2000
91 +++ mpich-1.2.5/configure Tue May 29 23:09:00 2001
92 @@ -13517,6 +13517,8 @@
96 + COPTIONS="$OPTFLAGSC $OPTFLAGS"; export COPTIONS;\
97 + FOPTIONS="$OPTFLAGSF $OPTFLAGS"; export FOPTIONS;\
98 export mpich_includes ;\
100 export BASE_LIB_LIST ;\
101 @@ -13723,8 +13723,8 @@
102 -mpibindir=$binbuild_dir \
103 -mpilib=$libbuild_dir/lib$MPILIBNAME.a \
104 -mpiolib=$libbuild_dir/lib$MPILIBNAME.a \
105 - -cc="$CC" -cflags="$ROMIO_CFLAGS $CC_SHARED_OPT" \
106 - -fc="$F77" -fflags="$ROMIO_FFLAGS $FC_SHARED_OPT" \
107 + -cc="$CC" -cflags="$ROMIO_CFLAGS $CC_SHARED_OPT $OPTFLAGSC $OPTFLAGS" \
108 + -fc="$F77" -fflags="$ROMIO_FFLAGS $FC_SHARED_OPT $OPTFLAGSF $OPTFLAGS" \
109 -f90="$F90" $romio_config_args $enable_args $with_args )
110 /bin/rm -f include/mpio.h ${top_srcdir}/include/mpio.h
111 cp romio/include/mpio.h include
112 @@ -13800,6 +13800,7 @@
113 --prefix=${prefix} $enable_args $with_args \
114 --libdir=${libdir} --bindir=${bindir} \
115 --includedir=${includedir} \
116 + --with-cflags="$OPTFLAGSC $OPTFLAGS" \
118 if test $? = 0 ; then
119 echo "Done configuring MPE Profiling Libraries" ; echo
120 --- mpich-1.2.5/Makefile.in.orig Tue Sep 5 22:06:05 2000
121 +++ mpich-1.2.5/Makefile.in Wed May 30 01:07:43 2001
123 CC="@CC@" ; export CC ; \
124 ldir=`echo $(libdir) | sed -e 's%$(MPIR_HOME)/%%g'` ; \
125 if ${top_srcdir}/${CPP_DIR}/configure --with-mpich=.. \
126 - --with-libopt=" " \
127 + --with-libopt="@OPTFLAGS@" \
129 --with-mpichbin=${binbuild_dir} \
130 --with-mpichlib=${libbuild_dir} \
133 @if [ ! -d mpid/server ] ; then mkdir mpid/server ; fi
134 @( cd mpid/server ; rm -f config.cache ; \
135 + CFLAGS="@OPTFLAGSC@ @OPTFLAGS@"; export CFLAGS ; \
136 CC="@CC@" ; export CC ; MAKE="${MAKE}" ; export MAKE ; \
137 ${top_srcdir}/mpid/server/configure ; $(MAKE) serv_p4 ; \
138 cp serv_p4 $(binbuild_dir) )
139 --- mpich-1.2.5/mpid/ch_p4/setup_ch_p4.orig Fri Aug 18 21:45:14 2000
140 +++ mpich-1.2.5/mpid/ch_p4/setup_ch_p4 Wed May 30 05:11:02 2001
142 echo "Configuring new p4 secure server"
144 CC="$CC" ; export CC ; \
145 + CFLAGS="$OPTFLAGS"; export CFLAGS ; \
146 "$top_srcdir/mpid/server/configure" )
147 if test $? != 0 ; then
148 print_error "Configure of the secure server may have failed!"
149 --- mpich-1.2.5/romio/configure.in.orig Mon Jan 13 22:55:57 2003
150 +++ mpich-1.2.5/romio/configure.in Sat Apr 5 11:05:59 2003
152 USER_CFLAGS="$CFLAGS -g"
153 USER_FFLAGS="$FFLAGS -g"
155 - USER_CFLAGS="$CFLAGS -O"
156 - USER_FFLAGS="$FFLAGS -O"
157 + USER_CFLAGS="$CFLAGS"
158 + USER_FFLAGS="$FFLAGS"
161 if test -n "$arch_sun4" ; then
162 @@ -515,14 +515,14 @@
163 if test $DEBUG = "yes"; then
164 if test "$CC" = "gcc"; then
165 dnl CFLAGS="$CFLAGS -g -O -Wall -Wstrict-prototypes -Wmissing-prototypes -DAIO_SUN"
166 - CFLAGS="$CFLAGS -g -O -Wall -Wstrict-prototypes -Wmissing-prototypes"
167 + CFLAGS="$CFLAGS -g -Wall -Wstrict-prototypes -Wmissing-prototypes"
169 dnl CFLAGS="$CFLAGS -g -DAIO_SUN"
173 dnl CFLAGS="$CFLAGS -O -DAIO_SUN"
174 - CFLAGS="$CFLAGS -O"
177 if test "$enable_aio" = "no" ; then
179 @@ -547,14 +547,14 @@
180 if test $DEBUG = "yes"; then
181 if test "$CC" = "gcc" ; then
182 dnl CFLAGS="$CFLAGS -g -O -Wall -Wstrict-prototypes -Wmissing-prototypes -DAIO_SUN"
183 - CFLAGS="$CFLAGS -g -O -Wall -Wstrict-prototypes -Wmissing-prototypes"
184 + CFLAGS="$CFLAGS -g -Wall -Wstrict-prototypes -Wmissing-prototypes"
186 dnl CFLAGS="$CFLAGS -g -v -DAIO_SUN"
187 CFLAGS="$CFLAGS -g -v"
190 dnl CFLAGS="$CFLAGS -O -DAIO_SUN"
191 - CFLAGS="$CFLAGS -O"
194 if test "$enable_aio" = "no" ; then
199 dnl CFLAGS="$CFLAGS -O -DNO_FD_IN_AIOCB -DAIO_HANDLE_IN_AIOCB"
200 - CFLAGS="$CFLAGS -O"
203 # Check that aio is available (many systems appear to have aio
204 # either installed improperly or turned off).
208 if test "$CC" = "icc"; then
209 - CFLAGS="$CFLAGS -Knoieee -Mvect -O3"
210 + CFLAGS="$CFLAGS -Knoieee -Mvect"
212 - CFLAGS="$CFLAGS -O"
216 AR="ar860 cr$AR_LOCAL"
218 CFLAGS="$CFLAGS -g $TFLOP_FLAGS"
220 if test "$CC" = "pgcc"; then
221 - CFLAGS="$CFLAGS -Knoieee -Mvect -O3 $TFLOP_FLAGS"
222 + CFLAGS="$CFLAGS -Knoieee -Mvect $TFLOP_FLAGS"
224 - CFLAGS="$CFLAGS -O $TFLOP_FLAGS"
225 + CFLAGS="$CFLAGS $TFLOP_FLAGS"
229 @@ -733,14 +733,14 @@
230 if test $DEBUG = "yes" ; then
231 if test "$CC" = "gcc" ; then
232 dnl CFLAGS="$CFLAGS -g -O -Wall -Wstrict-prototypes -Wmissing-prototypes -DNO_AIO"
233 - CFLAGS="$CFLAGS -g -O -Wall -Wstrict-prototypes -Wmissing-prototypes"
234 + CFLAGS="$CFLAGS -g -Wall -Wstrict-prototypes -Wmissing-prototypes"
236 dnl CFLAGS="$CFLAGS -g -DNO_AIO"
240 dnl CFLAGS="$CFLAGS -O -DNO_AIO"
241 - CFLAGS="$CFLAGS -O"
244 if test "$enable_aio" != "yes" ; then
248 USER_FFLAGS="$FFLAGS -Chopt"
249 dnl CFLAGS="$CFLAGS -O -DNO_AIO -DSX4"
250 - CFLAGS="$CFLAGS -O"
252 FFLAGS="$FFLAGS -Chopt"
256 CFLAGS="$CFLAGS -g +w1"
258 dnl CFLAGS="$CFLAGS -O -DNO_AIO"
259 - CFLAGS="$CFLAGS -O"
265 CFLAGS="$CFLAGS -g -std1 -warnprotos -verbose"
267 dnl CFLAGS="$CFLAGS -O -DAIO_PRIORITY_DEFAULT"
268 - CFLAGS="$CFLAGS -O"
271 AC_DEFINE(AIO_PRIORITY_DEFAULT)
272 MPI_LIB="$MPI_LIB -laio"
276 dnl CFLAGS="$CFLAGS -O -DNO_AIO"
277 - CFLAGS="$CFLAGS -O"
282 @@ -1001,7 +1001,7 @@
283 if test $DEBUG = "yes"; then
284 CFLAGS="$CFLAGS -g -fullwarn"
286 - CFLAGS="$CFLAGS -O"
289 if test $osversion = 4 ; then
291 --- mpich-1.2.5/romio/configure.orig Mon Jan 13 22:55:58 2003
292 +++ mpich-1.2.5/romio/configure Sat Apr 5 11:06:46 2003
294 USER_CFLAGS="$CFLAGS -g"
295 USER_FFLAGS="$FFLAGS -g"
297 - USER_CFLAGS="$CFLAGS -O"
298 - USER_FFLAGS="$FFLAGS -O"
299 + USER_CFLAGS="$CFLAGS"
300 + USER_FFLAGS="$FFLAGS"
303 if test -n "$arch_sun4" ; then
304 @@ -745,12 +745,12 @@
306 if test $DEBUG = "yes"; then
307 if test "$CC" = "gcc"; then
308 - CFLAGS="$CFLAGS -g -O -Wall -Wstrict-prototypes -Wmissing-prototypes"
309 + CFLAGS="$CFLAGS -g -Wall -Wstrict-prototypes -Wmissing-prototypes"
314 - CFLAGS="$CFLAGS -O"
317 if test "$enable_aio" = "no" ; then
319 @@ -796,12 +796,12 @@
321 if test $DEBUG = "yes"; then
322 if test "$CC" = "gcc" ; then
323 - CFLAGS="$CFLAGS -g -O -Wall -Wstrict-prototypes -Wmissing-prototypes"
324 + CFLAGS="$CFLAGS -g -Wall -Wstrict-prototypes -Wmissing-prototypes"
326 CFLAGS="$CFLAGS -g -v"
329 - CFLAGS="$CFLAGS -O"
332 if test "$enable_aio" = "no" ; then
335 if test $DEBUG = "yes"; then
338 - CFLAGS="$CFLAGS -O"
341 # Check that aio is available (many systems appear to have aio
342 # either installed improperly or turned off).
343 @@ -1083,9 +1083,9 @@
346 if test "$CC" = "icc"; then
347 - CFLAGS="$CFLAGS -Knoieee -Mvect -O3"
348 + CFLAGS="$CFLAGS -Knoieee -Mvect"
350 - CFLAGS="$CFLAGS -O"
354 AR="ar860 cr$AR_LOCAL"
355 @@ -1150,9 +1150,9 @@
356 CFLAGS="$CFLAGS -g $TFLOP_FLAGS"
358 if test "$CC" = "pgcc"; then
359 - CFLAGS="$CFLAGS -Knoieee -Mvect -O3 $TFLOP_FLAGS"
360 + CFLAGS="$CFLAGS -Knoieee -Mvect $TFLOP_FLAGS"
362 - CFLAGS="$CFLAGS -O $TFLOP_FLAGS"
363 + CFLAGS="$CFLAGS $TFLOP_FLAGS"
367 @@ -1268,12 +1268,12 @@
369 if test $DEBUG = "yes" ; then
370 if test "$CC" = "gcc" ; then
371 - CFLAGS="$CFLAGS -g -O -Wall -Wstrict-prototypes -Wmissing-prototypes"
372 + CFLAGS="$CFLAGS -g -Wall -Wstrict-prototypes -Wmissing-prototypes"
377 - CFLAGS="$CFLAGS -O"
380 if test "$enable_aio" != "yes" ; then
382 @@ -1501,7 +1501,7 @@
385 USER_FFLAGS="$FFLAGS -Chopt"
386 - CFLAGS="$CFLAGS -O"
388 FFLAGS="$FFLAGS -Chopt"
391 @@ -1546,7 +1546,7 @@
392 if test $DEBUG = "yes"; then
393 CFLAGS="$CFLAGS -g +w1"
395 - CFLAGS="$CFLAGS -O"
400 @@ -1669,7 +1669,7 @@
401 if test $DEBUG = "yes"; then
402 CFLAGS="$CFLAGS -g -std1 -warnprotos -verbose"
404 - CFLAGS="$CFLAGS -O"
409 @@ -1720,7 +1720,7 @@
410 if test $DEBUG = "yes"; then
413 - CFLAGS="$CFLAGS -O"
418 @@ -2049,7 +2049,7 @@
419 if test $DEBUG = "yes"; then
420 CFLAGS="$CFLAGS -g -fullwarn"
422 - CFLAGS="$CFLAGS -O"
425 if test $osversion = 4 ; then