You can now use stdlib with fpm using the upstream standard library (stdlib) repository.
See here for instructions.
An auto-generated mirror of the fortran-lang standard library (stdlib) structured as an fpm package (experimental)
This repository uses Github actions to pull and pre-process source files from the fortran-lang stdlib project in order to generate a package repository compatible with the Fortran Package Manager (fpm).
To use stdlib within your fpm project, add the following to your project manifest (fpm.toml
):
[dependencies]
stdlib = { git = "https://github.com/LKedward/stdlib-fpm.git" }
-
Generic procedures have a maximum array rank of 4
-
The legacy Haskell implementation of
fpm
is not supported -
The following tests from the upstream repository are not included here:
test_always_fail.f90
test_always_skip.f90
stats/test_mean_f03.f90
-
See https://stdlib.fortran-lang.org/ for API documentation
-
See https://github.com/fortran-lang/stdlib for reporting bugs and contributing to stdlib
-
See https://github.com/fortran-lang/fpm for more information on using fpm
-
Update
stdlib-revision
with the updated git commit from https://github.com/fortran-lang/stdlib -
(Optionally) update the
generate-package.sh
script to account for any changes in the upstream library- This script is responsible for ensuring that the resulting package is fpm compatible
- Update the release notes in this
README.md
to account for any changes ingenerate-package.sh
-
Create a PR containing only the modified
std-revision
,generate-package.sh
andREADME.md
files (if changed) -
GOTO step 2 if the CI checks fail, otherwise GOTO step 5
-
If the CI checks pass, then the PR can be reviewed and merged