When CXX support is disabled don't check if coverage is supported. The
problem is that ompi_cxx_vendor is only defined when MPI CXX support is enabled. This commit was SVN r30599.
Этот коммит содержится в:
родитель
3902cf66f1
Коммит
32a494e73b
@ -145,7 +145,7 @@ AC_DEFUN([_OMPI_SETUP_CXX_COMPILER],[
|
||||
# Back end of _OMPI_SETUP_CXX_COMPILER_BACKEND()
|
||||
AC_DEFUN([_OMPI_SETUP_CXX_COMPILER_BACKEND],[
|
||||
# Do we want code coverage
|
||||
if test "$WANT_COVERAGE" = "1"; then
|
||||
if test "$WANT_COVERAGE" = "1" -a "$WANT_MPI_CXX_SUPPORT" = "1"; then
|
||||
if test "$ompi_cxx_vendor" = "gnu" ; then
|
||||
AC_MSG_WARN([$OMPI_COVERAGE_FLAGS has been added to CFLAGS (--enable-coverage)])
|
||||
WANT_DEBUG=1
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user