|
26 | 26 | # Copyright (c) 2018 Amazon.com, Inc. or its affiliates.
|
27 | 27 | # All Rights reserved.
|
28 | 28 | # Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
|
| 29 | +# Copyright (c) 2019 Triad National Security, LLC. All rights |
| 30 | +# reserved. |
29 | 31 | # $COPYRIGHT$
|
30 | 32 | #
|
31 | 33 | # Additional copyrights may follow
|
@@ -945,22 +947,6 @@ OPAL_CHECK_BROKEN_QSORT
|
945 | 947 | # all: type of getsockopt optlen
|
946 | 948 | # all: type of recvfrom optlen
|
947 | 949 |
|
948 |
| -# |
949 |
| -# Check out what thread support we have |
950 |
| -# |
951 |
| -OPAL_CONFIG_THREADS |
952 |
| - |
953 |
| -CFLAGS="$CFLAGS $THREAD_CFLAGS" |
954 |
| -CPPFLAGS="$CPPFLAGS $THREAD_CPPFLAGS" |
955 |
| -LDFLAGS="$LDFLAGS $THREAD_LDFLAGS" |
956 |
| -LIBS="$LIBS $THREAD_LIBS" |
957 |
| - |
958 |
| -OPAL_WRAPPER_FLAGS_ADD([CFLAGS], [$THREAD_CFLAGS]) |
959 |
| -OPAL_WRAPPER_FLAGS_ADD([CXXFLAGS], [$THREAD_CXXFLAGS]) |
960 |
| -OPAL_WRAPPER_FLAGS_ADD([FCFLAGS], [$THREAD_FCFLAGS]) |
961 |
| -OPAL_WRAPPER_FLAGS_ADD([LDFLAGS], [$THREAD_LDFLAGS]) |
962 |
| -# no need to update WRAPPER_EXTRA_LIBS - we'll get it from LT later |
963 |
| - |
964 | 950 | #
|
965 | 951 | # What is the local equivalent of "ln -s"
|
966 | 952 | #
|
@@ -1113,6 +1099,14 @@ AC_MSG_RESULT([$opal_subdir_args])
|
1113 | 1099 |
|
1114 | 1100 | OPAL_MCA
|
1115 | 1101 |
|
| 1102 | +# |
| 1103 | +# Now that we know how to support threads with wrappers, update |
| 1104 | +# |
| 1105 | +OPAL_WRAPPER_FLAGS_ADD([CFLAGS], [$THREAD_CFLAGS]) |
| 1106 | +OPAL_WRAPPER_FLAGS_ADD([CXXFLAGS], [$THREAD_CXXFLAGS]) |
| 1107 | +OPAL_WRAPPER_FLAGS_ADD([FCFLAGS], [$THREAD_FCFLAGS]) |
| 1108 | +OPAL_WRAPPER_FLAGS_ADD([LDFLAGS], [$THREAD_LDFLAGS]) |
| 1109 | + |
1116 | 1110 | m4_ifdef([project_ompi], [OMPI_REQUIRE_ENDPOINT_TAG_FINI])
|
1117 | 1111 |
|
1118 | 1112 | # Last minute disable of OpenSHMEM if we didn't find any oshmem SPMLs
|
|
0 commit comments