File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 11 -b --install-branch [arg] Install the specified repository development branch.
22 -B --list-branches [arg] List the available branches in the specified package's repository.
3- -c --with-c [arg] Use specified C compiler.
4- -C --with-cxx [arg] Use specified C++ compiler.
3+ -c --with-c [arg] Use specified C compiler.
4+ -C --with-cxx [arg] Use specified C++ compiler.
55 -d --debug Enable debug mode.
66 -D --print-downloader [arg] Print download program for package specified in argument.
77 -e --verbose Enable verbose mode, print script as it is executed.
8- -f --with-fortran [arg] Use specified Fortran compiler.
8+ -f --with-fortran [arg] Use specified Fortran compiler.
99 -h --help Print this page.
1010 -i --install-prefix [arg] Install package in specified path. Default="${OPENCOARRAYS_SRC_DIR}/prerequisites/installations/${package_name:-}/${version_to_build:-}"
1111 -I --install-version [arg] Install package version.
1414 -m --with-cmake [arg] Use specified CMake installation. Default="cmake"
1515 -M --with-mpi [arg] Use specified MPI installation.
1616 -n --no-color Disable color output.
17+ -o --only-download Download (without building) the source for the package specified by -p or --package.
1718 -p --package [arg] Install specified package. Default="opencoarrays"
1819 -P --print-path [arg] Print installation directory for specified package.
1920 -U --print-url [arg] Print download location for specified package.
Original file line number Diff line number Diff line change 141141source " ${OPENCOARRAYS_SRC_DIR:- } /prerequisites/build-functions/download_if_necessary.sh"
142142download_if_necessary
143143
144+ # Exit if -o or --only-download was specified when invoking this script
145+ if [[ ${arg_o:- } == " ${__flag_present} " ]]; then
146+ info " No installation to perform: -o or --only-download specified. Exiting."
147+ exit 0
148+ fi
149+
144150if [[ -z " ${arg_B} " ]]; then
145151 # shellcheck source=./build-functions/unpack_if_necessary.sh
146152 source " ${OPENCOARRAYS_SRC_DIR:- } /prerequisites/build-functions/unpack_if_necessary.sh"
Original file line number Diff line number Diff line change 1414 -m --with-cmake [arg] Use the specified CMake installation. Default="cmake"
1515 -M --with-mpi [arg] Use the specified MPI installation.
1616 -n --no-color Disable color output.
17+ -o --only-download Download (without building) the package source specified by -p or --package.
1718 -p --package [arg] Package to install.
1819 -P --print-path [arg] Print installation path for package specified in argument.
1920 -t --with-tau [arg] Use the specified TAU parallel performance utilities installation. Default="tauf90"
You can’t perform that action at this time.
0 commit comments