Skip to content

Commit

Permalink
Merge pull request #8768 from bwbarrett/bugfix/pthreads-need-more-checks
Browse files Browse the repository at this point in the history
threads: Fix C++/Fortran pthread tests
  • Loading branch information
bwbarrett authored Apr 6, 2021
2 parents ca65630 + cc985b1 commit 8bc5d4c
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions opal/mca/threads/pthreads/configure.m4
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,11 @@ AC_DEFUN([OPAL_INTL_POSIX_THREADS_PLAIN], [
OPAL_INTL_POSIX_THREADS_PLAIN_C
AS_IF([test "$CXX" != "no"],
[OPAL_INTL_POSIX_THREADS_PLAIN_CXX
opal_pthread_cxx_success=1],
[OPAL_INTL_POSIX_THREADS_PLAIN_CXX],
[opal_pthread_cxx_success=0])
AS_IF([test "$FC" != "no"],
[OPAL_INTL_POSIX_THREADS_PLAIN_FC
opal_pthread_fortran_success=1],
[OPAL_INTL_POSIX_THREADS_PLAIN_FC],
[opal_pthread_fortran_success=0])
# End: OPAL_INTL_POSIX_THREADS_PLAIN
Expand Down Expand Up @@ -483,13 +481,11 @@ esac
OPAL_INTL_POSIX_THREADS_SPECIAL_FLAGS_C
AS_IF([test "$CXX" != "no"],
[OPAL_INTL_POSIX_THREADS_SPECIAL_FLAGS_CXX
opal_pthread_cxx_success=1],
[OPAL_INTL_POSIX_THREADS_SPECIAL_FLAGS_CXX],
[opal_pthread_cxx_success=0])
AS_IF([test "$FC" != "no"],
[OPAL_INTL_POSIX_THREADS_SPECIAL_FLAGS_FC
opal_pthread_fortran_success=1],
[OPAL_INTL_POSIX_THREADS_SPECIAL_FLAGS_FC],
[opal_pthread_fortran_success=0])
OPAL_VAR_SCOPE_POP
Expand Down Expand Up @@ -675,13 +671,11 @@ plibs="-lpthreads -llthread -lpthread"
OPAL_INTL_POSIX_THREADS_LIBS_C
AS_IF([test "$CXX" != "no"],
[OPAL_INTL_POSIX_THREADS_LIBS_CXX
opal_pthread_cxx_success=1],
[OPAL_INTL_POSIX_THREADS_LIBS_CXX],
[opal_pthread_cxx_success=0])
AS_IF([test "$FC" != "no"],
[OPAL_INTL_POSIX_THREADS_LIBS_FC
opal_pthread_fortran_success=1],
[OPAL_INTL_POSIX_THREADS_LIBS_FC],
[opal_pthread_fortran_success=0])
OPAL_VAR_SCOPE_POP
Expand Down

0 comments on commit 8bc5d4c

Please sign in to comment.