Skip to content

install command ​

Install previously built FoBiS artifacts, or clone, build, and install a GitHub-hosted Fortran project in one step.

bash
fobis install [repo] [options]

How to use it, with examples: Libraries and other build systems, Dependencies.

All options ​

Arguments: REPO

OptionValueDefaultDescription
--fobos, -fTEXTSpecify a "fobos" file named differently from "fobos"
--fciAssume fobos inputs as case insensitive
--modeTEXTSelect a mode defined into a fobos file
--lmodesList the modes defined into a fobos file
--build-dir, --dbldTEXTDirectory containing built objects [default: ./]; given here, it wins over the mode's build_dir
--prefix, -pTEXT./Prefix path where built objects are installed [default: ./]
--binTEXTbin/Sub-directory for executables [default: bin/]
--libTEXTlib/Sub-directory for libraries [default: lib/]
--includeTEXTinclude/Sub-directory for include files [default: include/]
--branchTEXTBranch to check out when installing from GitHub
--tagTEXTTag to check out when installing from GitHub
--revTEXTCommit revision to check out when installing from GitHub
--updateRe-fetch (git pull) before building and installing
--no-buildClone only — skip building and installing
--deps-dirTEXTDirectory for cloning GitHub repositories [default: ~/.fobis/]
--force-compileForce to (re-)compile all
--colorsActivate colors in shell prints
--log, -lActivate log file creation
--graphGenerate a dependencies graph via graphviz
--quiet, -qLess verbose output
--verboseExtremely verbose output for debugging
--jobs, -jINTEGER1Number of concurrent compilation jobs [default: 1]
--makefile, -mTEXTGenerate a GNU Makefile for building the project