Skip to content

More flexible, robust, and extensive installation options

Compare
Choose a tag to compare
@zbeekman zbeekman released this 30 Apr 19:48
1.5.0
03cae00

1.5.0 Build Status

This version introduces a more flexible 💃, extensive, and robust ☕ installation process via a major overhaul 🔨 of "install.sh" and the scripts that support it. All script arguments have changed to greatly improve the argument-handling. Execute "./install.sh -h" at a shell command line for a help page. The behavior of executing "./install.sh" with no arguments remains unchanged and will still result in a default installation of OpenCoarrays and any undetected prerequisites.

  • Traditional single-character Unix-style flags 🎏 (preceded by "-") with corresponding longer equivalents (preceded by "--"). For example, either of the following statements produces a list of the packages the install.sh script is capable of installing:
./install.sh -l 
./install.sh --list-package
  • Arguments can now appear in any order as long as any flag requiring an argument immediately precedes the corresponding argument. For example, the following statement will install the with the minimum recommended version numbers of the gcc/gfortran/g++ compilers (pre-installed lower-numbered versions can be used with the --with-c, --with-cpp, and --with-fortran flags or can be installed by install.sh with the -I or --install-version flags):
./install.sh --package gcc
  • Default values for some flags for which passing the corresponding argument is optional.
  • Improved installation script robustness achieved by wrapping the bash3boilerplate 🔥 project's use case scripts and through pre-release script lint-removal guided by the shellcheck 🐚 tool.
  • Better organization of script-installed prerequisite packages. By default, all script-installed prerequisite package files are organized into three subdirectories of the new "prerequisites" subdirectory: source code is downloaded to the "downloads" subdirectory, built in a "builds" subdirectory, and installed in the "installations" subdirectory.
  • Experimental support for installing the Open Fortran Parser (OFP) and its supporting packages. For example, the following command will install OFP in your home directory:
./install.sh --package ofp --install-dir "${HOME}"

Currently, the script assumes that OFP and its prerequisites were not previously installed and requires that the prerequisite packages be installed in /opt (which requires sudo privileges) as binary files compiled for OS X only.