fobis
Expert knowledge of FoBiS.py (Fortran Building System for poor men) — an automatic Fortran build tool that resolves module dependency hierarchies without manual makefiles. Use this skill whenever the user asks about: writing or editing a fobos file, running FoBiS.py build/clean/fetch/install/rule commands, Fortran project build configuration, diagnosing FoBiS build errors, adding GitHub dependencies to a Fortran project, the --json output flag, multi-mode builds, templates, variables, library builds (static/shared), MPI/OpenMP/coarray builds, the fetch command, the install command, the cflags-heritage feature, parallel compilation, or any question that mentions "fobos", "FoBiS", or building Fortran projects. When in doubt, trigger this skill — it is better to consult it unnecessarily than to miss it. --- # FoBiS.py Expert Knowledge FoBiS.py is a CLI tool that auto-builds modern Fortran projects by parsing source files and resolving inter-module dependency hierarchies. It eliminates manual makefile dependency tracking. ## Core Concept FoBiS.py scans your source directories, parses every `.f90` (and related) file for `module`, `use`, and `include` statements, builds a dependency graph, and compiles in the correct order. The only file you need is `fobos` — the project configuration file. ## CLI Commands ```bash FoBiS.py build # compile and link FoBiS.py clean # remove compiled objects/mods FoBiS.py fetch # clone GitHub dependencies FoBiS.py install # install built artifacts (or from GitHub) FoBiS.py rule -ex <name> # run a custom shell rule from fobos FoBiS.py doctests # run inline Fortran doctests ``` Each command accepts `--fobos <path>` / `-f` to use a non-default fobos file, and `--mode <name>` to select a build mode. --- ## fobos File Format The `fobos` file is INI-format. FoBiS.py loads it automatically from the current directory. ### Single-mode (simplest) ```ini [default] compiler = gnu cflags =
更新日志: Source: GitHub https://github.com/szaghi/FoBiS
还没有评论,快来第一个发言吧。