File tree 2 files changed +10
-6
lines changed 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 14
14
# Copyright (c) 2015 Research Organization for Information Science
15
15
# and Technology (RIST). All rights reserved.
16
16
# Copyright (c) 2019 Sandia National Laboratories. All rights reserved.
17
- # Copyright (c) 2019 Triad National Security, LLC. All rights
17
+ # Copyright (c) 2019-2022 Triad National Security, LLC. All rights
18
18
# Reserved.
19
19
# Copyright (c) 2021 Argonne National Laboratory. All rights reserved.
20
20
# $COPYRIGHT$
@@ -56,8 +56,10 @@ AC_DEFUN([OPAL_CONFIG_ARGOBOTS_THREADS],[
56
56
57
57
AS_IF([test $opal_argo_happy = yes && test $opal_argo11_happy = no],
58
58
[AC_MSG_ERROR([Open MPI requires Argobots 1.1 or newer.])])
59
- AS_IF([test $opal_argo_happy = yes && test $opal_argo11_happy = yes && test -n " $opal_argo_dir " ],
60
- [OPAL_ARGO_INCLUDE_PATH= " $opal_argo_dir /include/" ],
59
+ dnl extract the fully qualified include path from the opal_argo_CPPFLAGS variable
60
+ dnl for use in threads_argobots.h
61
+ AS_IF([test $opal_argo_happy = yes && test $opal_argo11_happy = yes],
62
+ [OPAL_ARGO_INCLUDE_PATH= ` echo " ${opal_argo_CPPFLAGS} /" | sed -e ' s/\-I//g' | sed -e ' s/ //g' ` ],
61
63
[OPAL_ARGO_INCLUDE_PATH= " " ])
62
64
63
65
AS_IF([test $opal_argo_happy = yes],
Original file line number Diff line number Diff line change 13
13
# Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
14
14
# Copyright (c) 2015 Research Organization for Information Science
15
15
# and Technology (RIST). All rights reserved.
16
- # Copyright (c) 2019 Triad National Security, LLC. All rights
16
+ # Copyright (c) 2019-2022 Triad National Security, LLC. All rights
17
17
# reserved.
18
18
#
19
19
# $COPYRIGHT$
@@ -45,8 +45,10 @@ AC_DEFUN([OPAL_CONFIG_QTHREADS],[
45
45
[opal_qthreads_happy= yes],
46
46
[opal_qthreads_happy= no])
47
47
48
- AS_IF([test $opal_qthreads_happy = yes && test -n " $opal_qthreads_dir " ],
49
- [OPAL_QTHREADS_INCLUDE_PATH= " $opal_qthreads_dir /include/" ],
48
+ dnl extract the fully qualified include path from the opal_qthreads_CPPFLAGS variable
49
+ dnl for use in threads_qthreads.h
50
+ AS_IF([test $opal_qthreads_happy = yes],
51
+ [OPAL_QTHREADS_INCLUDE_PATH= ` echo " ${opal_qthreads_CPPFLAGS} /" | sed -e ' s/\-I//g' | sed -e ' s/ //g' ` ],
50
52
[OPAL_QTHREADS_INCLUDE_PATH= " " ])
51
53
52
54
AS_IF([test $opal_qthreads_happy = yes],
You can’t perform that action at this time.
0 commit comments