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 8282# ## Start of boilerplate -- do not edit this block #######################
8383export OPENCOARRAYS_SRC_DIR=" ${OPENCOARRAYS_SRC_DIR:- ${PWD} } "
8484if [[ ! -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."
8687 exit 1
8788fi
8889export 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
245246
246247elif [[ ! -z " ${arg_D:- ${arg_P:- ${arg_U:- ${arg_V} } } } " || " ${arg_l} " == " ${__flag_present} " ]]; then
247248
248- # Delegate to build.sh
249+ # Delegate to build.sh for the packages it builds
249250 build_arg=${arg_D:- ${arg_P:- ${arg_U:- ${arg_V:- ${arg_p} } } } }
250251 [ ! -z " ${arg_D} " ] && build_flag=" -D"
251252 [ ! -z " ${arg_P} " ] && build_flag=" -P"
252253 [ ! -z " ${arg_U} " ] && build_flag=" -U"
253254 [ ! -z " ${arg_V} " ] && build_flag=" -V"
254255 [ " ${arg_l} " == " ${__flag_present} " ] && build_flag=" -l"
255256 " ${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
256262
257263elif [[ ! -z " ${arg_p:- } " && " ${arg_p:- } " != " opencoarrays" ]]; then
258264
You can’t perform that action at this time.
0 commit comments