Skip to content

Commit 2d709a7

Browse files
author
Damian Rouson
committed
Add argument examples in install.sh-usage
1 parent 8836d58 commit 2d709a7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

install.sh-usage

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
-b --install-branch [arg] Install the specified repository development branch.
2-
-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.
5-
-d --debug Enable debug mode.
6-
-D --print-downloader [arg] Print download program for package specified in argument.
1+
-b --install-branch [arg] Install the specified repository development branch (Examples: -b trunk or -b gcc-7-branch).
2+
-B --list-branches [arg] List the available branches in the specified package's repository (Example: -B gcc).
3+
-c --with-c [arg] Use specified C compiler (Example: -c /usr/local/bin/gcc).
4+
-C --with-cxx [arg] Use specified C++ compiler (Example: -C /usr/local/bin/g++).
5+
-d --debug Enable debug mode.
6+
-D --print-downloader [arg] Print download program for package specified in argument (Example: -D gcc).
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 (Example: -f /usr/local/bin/gfortran).
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:-}"
11-
-I --install-version [arg] Install package version.
12-
-j --num-threads [arg] Number of threads to use when invoking make. Default="1"
11+
-I --install-version [arg] Install package version (Example: -I 7.2.0).
12+
-j --num-threads [arg] Number of threads to use when invoking make (Example: -j 4). Default="1"
1313
-l --list-packages Print packages this script can install.
14-
-m --with-cmake [arg] Use specified CMake installation.
15-
-M --with-mpi [arg] Use specified MPI installation.
14+
-m --with-cmake [arg] Use specified CMake installation (Example: -m /usr/local/bin/cmake).
15+
-M --with-mpi [arg] Use specified MPI installation (Examples: -M /usr/local/ or -m /opt/mpich-3.2/).
1616
-n --no-color Disable color output.
1717
-o --only-download Download (without building) the source for the package specified by -p or --package.
18-
-p --package [arg] Install specified package. Default="opencoarrays"
19-
-P --print-path [arg] Print installation directory for specified package.
20-
-u --from-url [arg] Specify a URL to use for downloading a package.
21-
-U --print-url [arg] Print download location for specified package.
18+
-p --package [arg] Install specified package (Examples: -p gcc or -p mpich). Default="opencoarrays"
19+
-P --print-path [arg] Print installation directory for specified package (Example: -P gcc).
20+
-u --from-url [arg] Specify a URL to use for downloading a package (Example: -u https://github.com/sourceryinstitute/gcc/archive/teams-rc3.tar.gz).
21+
-U --print-url [arg] Print download location for specified package (Example: -U gcc).
2222
-v --version Print OpenCoarrays version number.
23-
-V --print-version [arg] Print version number for specified package.
23+
-V --print-version [arg] Print version number for specified package (Example: -V mpich).
2424
-y --yes-to-all Build non-interactively by assuming affirmative user responses.
2525
-z --disable-bootstrap Disabling bootstrap build of GCC for speed when a recent GCC is already installed.

0 commit comments

Comments
 (0)