File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 82
82
# ## Start of boilerplate -- do not edit this block #######################
83
83
export OPENCOARRAYS_SRC_DIR=" ${OPENCOARRAYS_SRC_DIR:- ${PWD} } "
84
84
if [[ ! -f " ${OPENCOARRAYS_SRC_DIR} /src/libcaf.h" ]]; then
85
- echo " Please run this script inside the top-level OpenCoarrays source directory or set OPENCOARRAYS_SRC_DIR to the OpenCoarrays source directory path."
85
+ echo " Please run this script inside the top-level OpenCoarrays source directory or "
86
+ echo " set OPENCOARRAYS_SRC_DIR to the OpenCoarrays source directory path."
86
87
exit 1
87
88
fi
88
89
export B3B_USE_CASE=" ${B3B_USE_CASE:- ${OPENCOARRAYS_SRC_DIR} / prerequisites/ use-case} "
@@ -245,14 +246,19 @@ if [[ "${arg_v}" == "${__flag_present}" || "${arg_V}" == "opencoarrays" ]]; then
245
246
246
247
elif [[ ! -z " ${arg_D:- ${arg_P:- ${arg_U:- ${arg_V} } } } " || " ${arg_l} " == " ${__flag_present} " ]]; then
247
248
248
- # Delegate to build.sh
249
+ # Delegate to build.sh for the packages it builds
249
250
build_arg=${arg_D:- ${arg_P:- ${arg_U:- ${arg_V:- ${arg_p} } } } }
250
251
[ ! -z " ${arg_D} " ] && build_flag=" -D"
251
252
[ ! -z " ${arg_P} " ] && build_flag=" -P"
252
253
[ ! -z " ${arg_U} " ] && build_flag=" -U"
253
254
[ ! -z " ${arg_V} " ] && build_flag=" -V"
254
255
[ " ${arg_l} " == " ${__flag_present} " ] && build_flag=" -l"
255
256
" ${opencoarrays_src_dir} " /prerequisites/build.sh " ${build_flag} " " ${build_arg} "
257
+ # Add lines other packages the current script builds
258
+ if [[ " ${arg_l} " == " ${__flag_present} " ]]; then
259
+ echo " opencoarrays (default version ` ${build_script} -V opencoarrays` )"
260
+ echo " ofp (default version ` ${build_script} -V ofp` )"
261
+ fi
256
262
257
263
elif [[ ! -z " ${arg_p:- } " && " ${arg_p:- } " != " opencoarrays" ]]; then
258
264
You can’t perform that action at this time.
0 commit comments