* Clean up the --with-platform option to automagically set a whole bunch
of flags to configure. Now don't need to specify the contrib/platform part of the path if you don't want to * Add "optimized" platform setting that will undo all the performance- affecting things that a developer build sets up. This commit was SVN r6946.
Этот коммит содержится в:
родитель
47b2b95c00
Коммит
1fe9356d37
@ -37,7 +37,7 @@ mpi libraries])
|
||||
AC_MSG_RESULT([yes])
|
||||
WANT_COVERAGE=1
|
||||
else
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_MSG_RESULT([no])
|
||||
WANT_COVERAGE=0
|
||||
fi
|
||||
|
||||
|
@ -29,6 +29,13 @@ AC_DEFUN([OMPI_LOAD_PLATFORM], [
|
||||
elif test "$with_platform" = "no" ; then
|
||||
AC_MSG_ERROR([--without-platform is not a valid argument])
|
||||
elif test "$with_platform" != "" ; then
|
||||
# if no path part, check in contrib/platform
|
||||
if test "`basename $with_platform`" = "$with_platform" ; then
|
||||
if test -r "${srcdir}/contrib/platform/$with_platform" ; then
|
||||
with_platform="${srcdir}/contrib/platform/$with_platform"
|
||||
fi
|
||||
fi
|
||||
|
||||
# make sure file exists
|
||||
if test ! -r "$with_platform" ; then
|
||||
AC_MSG_ERROR([platform file $with_platform not found])
|
||||
@ -46,6 +53,6 @@ AC_DEFUN([OMPI_LOAD_PLATFORM], [
|
||||
platform_loaded="$with_platform"
|
||||
fi
|
||||
echo "Loaded platform arguments for $platform_loaded"
|
||||
OMPI_LOG_MSG([Loaded platform arguments for $platform_loaded"])
|
||||
OMPI_LOG_MSG([Loaded platform arguments for $platform_loaded])
|
||||
fi
|
||||
])
|
||||
|
@ -83,7 +83,7 @@ fi
|
||||
|
||||
OMPI_CXXFLAGS_BEFORE_PICKY="$CXXFLAGS"
|
||||
if test "$TRULY_GXX" = "yes" -a "$WANT_PICKY_COMPILER" = 1; then
|
||||
add="-g -Wall -Wundef -Wno-long-long"
|
||||
add="-Wall -Wundef -Wno-long-long"
|
||||
|
||||
# see if -Wno-long-double works...
|
||||
AC_LANG_PUSH(C++)
|
||||
|
4
contrib/platform/optimized
Обычный файл
4
contrib/platform/optimized
Обычный файл
@ -0,0 +1,4 @@
|
||||
enable_mem_debug=no
|
||||
enable_mem_profile=no
|
||||
enable_debug=no
|
||||
with_threads=no
|
Загрузка…
Ссылка в новой задаче
Block a user