revert r23764 in ompi/contrib/vt/vt
This commit was SVN r23782. The following SVN revision numbers were found above: r23764 --> open-mpi/ompi@40a2bfa238
Этот коммит содержится в:
родитель
1c8f3e1add
Коммит
8e8c407616
@ -3,8 +3,8 @@
|
||||
version of the OTF library
|
||||
(so it's possible to add these objects to 3rd-party shared libraries)
|
||||
- fixed and enhanced calculation of trace file size in otfinfo
|
||||
- disable OpenMP support in otfprofile if the PGI compiler
|
||||
is used to work around some compiler errors
|
||||
- temporary disabled OpenMP support completely if the PGI compiler is
|
||||
used to work around some uncleared compile errors
|
||||
- patched libtool:
|
||||
- to avoid a bug in detection of the PGI 10 C++ compiler
|
||||
- to detect IBM cross compilers on BlueGene/P
|
||||
|
@ -1,11 +1,27 @@
|
||||
AC_DEFUN([CHECK_OMP],
|
||||
[
|
||||
check_omp="yes"
|
||||
have_omp="no"
|
||||
|
||||
AC_ARG_VAR(OPENMP_CXXFLAGS, [C++ compiler flags to enable support for OpenMP])
|
||||
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AX_OPENMP([have_omp="yes"])
|
||||
AC_LANG_RESTORE
|
||||
dnl Disable OpenMP if the PGI compiler is used to work around the following errors:
|
||||
dnl compiler version compiler error
|
||||
dnl < 9.0-3 PGCC-S-0000-Internal compiler error. calc_dw_tag:no tag
|
||||
dnl (see Technical Problem Report 4337 at http://www.pgroup.com/support/release_tprs_90.htm)
|
||||
dnl 10.1 - 10.6 this kind of pragma may not be used here
|
||||
dnl #pargma omp barrier
|
||||
case `$CC -V 2>&1` in
|
||||
*pgcc*)
|
||||
check_omp="no"
|
||||
;;
|
||||
esac
|
||||
|
||||
AS_IF([test "$check_omp" = "yes"],
|
||||
[
|
||||
AC_LANG_SAVE
|
||||
AC_LANG_CPLUSPLUS
|
||||
AX_OPENMP([have_omp="yes"])
|
||||
AC_LANG_RESTORE
|
||||
])
|
||||
])
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user