This repository provides package build instructions for tools and libraries around Fortran compatible with the Homebrew toolchain.
The lfortran compiler is installed from this tap:
brew install fortran-lang/fortran/lfortranfpm and fortls are available from Homebrew directly:
brew install fpm
brew install fortls- The daily
version_detectorworkflow checks for new releases and opens a version-bump PR if it finds one. - The
testworkflow builds the formula from source on all supported platforms and uploads the bottles as CI artifacts. Wait until it is green. - Add the
pr-pulllabel to the PR. Only do this after CI is green, otherwise bottles will be missing. - This triggers the
publishworkflow, which runsbrew pr-pull: it downloads the bottles from CI artifacts, uploads them to a GitHub Release (creating it if needed), commits thebottleblock to the formula, pushes tomain, and cleans up the PR branch. Do not merge the PR manually.
The package build files are available under a BSD-2-Clause license.