Skip to content

Commit 6bbb307

Browse files
authored
Add new distributions where fpm is available to README (#562)
- MSYS2 has now a MinGW package for fpm - Spack has now a package for fpm
1 parent b6af3b1 commit 6bbb307

File tree

1 file changed

+44
-2
lines changed

1 file changed

+44
-2
lines changed

README.md

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ __Note:__ On Linux and MacOS, you will need to enable executable permission befo
3838

3939
_e.g._ `$ chmod u+x fpm-0.4.0-linux-x86_64`
4040

41-
#### Conda
4241

43-
Fpm is available on conda-forge, to add conda-forge to your channels use:
42+
#### [Conda]
43+
44+
Fpm is available on [conda-forge], to add conda-forge to your channels use:
4445

4546
```
4647
conda config --add channels conda-forge
@@ -56,6 +57,47 @@ conda activate fpm
5657
The conda package manager can be installed from [miniforge](https://github.com/conda-forge/miniforge/releases)
5758
or from [miniconda](https://docs.conda.io/en/latest/miniconda.html).
5859

60+
[Conda]: https://conda.io
61+
[conda-forge]: https://conda-forge.org/
62+
63+
64+
#### [MSYS2]
65+
66+
Fpm is available as MinGW package in the MSYS2 package manager.
67+
To install fpm with pacman use
68+
69+
```
70+
pacman -S mingw-w64-x86_64-fpm
71+
```
72+
73+
Afterwards fpm will be available for usage.
74+
Currently `i686`, `x86_64` and `ucrt-x86_64` are supported MinGW architectures for fpm.
75+
For more details check the package information [here](https://packages.msys2.org/base/mingw-w64-fpm).
76+
77+
[MSYS2]: https://www.msys2.org/
78+
79+
80+
#### [Spack]
81+
82+
Fpm is available with spack in its develop version.
83+
To install fpm from spack use
84+
85+
```
86+
spack install fpm
87+
```
88+
89+
You can add `+openmp` to enable parallelization of the target compilation in fpm.
90+
To use fpm in your environment load it with
91+
92+
```
93+
spack load fpm
94+
```
95+
96+
For more details check the package information [here](https://spack.readthedocs.io/en/latest/package_list.html#fpm).
97+
98+
[Spack]: https://spack.io
99+
100+
59101
#### Github Actions
60102

61103
To setup *fpm* within Github actions for automated testing, you can use the [fortran-lang/setup-fpm](https://github.com/marketplace/actions/setup-fpm) action.

0 commit comments

Comments
 (0)