@@ -13,7 +13,7 @@ dnl All rights reserved.
13
13
dnl Copyright (c) 2010-2021 Cisco Systems, Inc. All rights reserved
14
14
dnl Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
15
15
dnl Copyright (c) 2018-2022 Amazon.com, Inc. or its affiliates. All Rights reserved.
16
- dnl Copyright (c) 2021 Triad National Security, LLC. All rights
16
+ dnl Copyright (c) 2021-2023 Triad National Security, LLC. All rights
17
17
dnl reserved.
18
18
dnl $COPYRIGHT$
19
19
dnl
@@ -167,32 +167,36 @@ of type-component pairs. For example, --enable-mca-no-build=pml-ob1])
167
167
# Second, set the DSO_all and STATIC_all variables. conflict
168
168
# resolution (prefer static) is done in the big loop below
169
169
#
170
+ # Exception here is the components of the accelerator framework,
171
+ # which by default are built to be dynamic, except for null.
172
+ #
170
173
AC_MSG_CHECKING ( [ which components should be run-time loadable] )
171
174
if test "$enable_static" != "no"; then
172
175
DSO_all=0
173
176
msg="none (static libraries built)"
174
177
elif test "$OPAL_ENABLE_DLOPEN_SUPPORT" = 0; then
175
178
DSO_all=0
176
179
msg="none (dlopen disabled)"
177
- elif test -z "$enable_mca_dso"; then
178
- DSO_all=0
179
- msg=default
180
180
elif test "$enable_mca_dso" = "no"; then
181
181
DSO_all=0
182
182
msg=none
183
183
elif test "$enable_mca_dso" = "yes"; then
184
184
DSO_all=1
185
185
msg=all
186
186
else
187
- DSO_all=0
188
- ifs_save="$IFS"
189
- IFS="${IFS}$PATH_SEPARATOR,"
190
- msg=
191
- for item in $enable_mca_dso; do
192
- AS_VAR_SET ( [ AS_TR_SH ( [ DSO_$item] ) ] , [ 1] )
193
- msg="$item $msg"
194
- done
195
- IFS="$ifs_save"
187
+ msg=
188
+ if test -z "$enable_mca_dso"; then
189
+ enable_mca_dso="accelerator-cuda,accelerator-rocm,accelerator-ze,btl-smcuda,rcache-gpusm,rcache-rgpusm"
190
+ msg="(default)"
191
+ fi
192
+ DSO_all=0
193
+ ifs_save="$IFS"
194
+ IFS="${IFS}$PATH_SEPARATOR,"
195
+ for item in $enable_mca_dso; do
196
+ AS_VAR_SET ( [ AS_TR_SH ( [ DSO_$item] ) ] , [ 1] )
197
+ msg="$item $msg"
198
+ done
199
+ IFS="$ifs_save"
196
200
fi
197
201
AC_MSG_RESULT ( [ $msg] )
198
202
unset msg
0 commit comments