[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1-134-g91d023c

Service Account noreply at mpich.org
Wed Apr 2 08:54:49 CDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  91d023c16ca73968974a7780160239e41825e1c2 (commit)
      from  b0a75d1660b89e8df453153c1c3b96d36fdb0f6b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/91d023c16ca73968974a7780160239e41825e1c2

commit 91d023c16ca73968974a7780160239e41825e1c2
Author: Huiwei Lu <huiweilu at mcs.anl.gov>
Date:   Wed Mar 12 16:30:25 2014 -0500

    Fixes default optimization flags
    
    The default optimization flags (-O2) are set for C and F77, but not for
    C++ and Fortran 90.
    
    In commit [b4ce3c99], the behaviour of PAC_C_CHECK_COMPILER_OPTION and
    PAC_F77_CHECK_COMPILER_OPTION were changed in configure.ac, while
    PAC_CXX_CHECK_COMPILER_OPTION and PAC_FC_CHECK_COMPILER_OPTION
    remained the same.
    
    Fixes #2033
    
    Signed-off-by: Pavan Balaji <balaji at mcs.anl.gov>

diff --git a/configure.ac b/configure.ac
index 94bdb3a..3534298 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2200,8 +2200,7 @@ if test "$enable_fc" = "yes" ; then
     AC_SUBST(FCINCFLAG)
 
     # Check if $MPI_DEFAULT_FCOPTS is valid with $F90
-    if test "$enable_default_optimize" = "yes" \
-         -a -n "$MPI_DEFAULT_FCOPTS" ; then
+    if test -n "$MPI_DEFAULT_FCOPTS" ; then
         if test "$enable_check_compiler_flags" = "yes" ; then
             PAC_FC_CHECK_COMPILER_OPTION( [$MPI_DEFAULT_FCOPTS], [
             FCFLAGS="$FCFLAGS $MPI_DEFAULT_FCOPTS"
@@ -2381,8 +2380,7 @@ fi
 
 if test "$enable_cxx" = yes; then
     # Check if $MPI_DEFAULT_CXXOPTS is valid with $CXX
-    if test "$enable_default_optimize" = "yes" \
-         -a -n "$MPI_DEFAULT_CXXOPTS" ; then
+    if test -n "$MPI_DEFAULT_CXXOPTS" ; then
         if test "$enable_check_compiler_flags" = "yes" ; then
             PAC_CXX_CHECK_COMPILER_OPTION( [$MPI_DEFAULT_CXXOPTS], [
             CXXFLAGS="$CXXFLAGS $MPI_DEFAULT_CXXOPTS"

-----------------------------------------------------------------------

Summary of changes:
 configure.ac |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list