You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Binaries for the latest stable release are available [to download](https://github.com/fortran-lang/fpm/releases/latest) for Windows, MacOS, and Linux.
37
46
38
-
__Note:__ On Linux and MacOS, you will need to enable executable permission before you can use the binary.
47
+
**Note:** On Linux and MacOS, you will need to enable executable permission before you can use the binary.
39
48
40
49
_e.g._`$ chmod u+x fpm-0.6.0-linux-x86_64`
41
50
42
51
The binaries at the [current tag](https://github.com/fortran-lang/fpm/releases/tag/current) are updated automatically to always provide the current git version from the default branch.
43
52
53
+
### [Conda]
44
54
45
-
#### [Conda]
55
+
Fpm is available on [conda-forge], to add `conda-forge` to your channels use:
46
56
47
-
Fpm is available on [conda-forge], to add conda-forge to your channels use:
48
-
49
-
```
57
+
```sh
50
58
conda config --add channels conda-forge
51
59
```
52
60
53
61
Fpm can be installed with:
54
62
55
-
```
63
+
```sh
56
64
conda create -n fpm fpm
57
65
conda activate fpm
58
66
```
@@ -63,51 +71,12 @@ or from [miniconda](https://docs.conda.io/en/latest/miniconda.html).
63
71
[Conda]: https://conda.io
64
72
[conda-forge]: https://conda-forge.org/
65
73
66
-
67
-
#### [MSYS2]
68
-
69
-
Fpm is available as MinGW package in the MSYS2 package manager,
70
-
which supports parallelization of the target compilation.
71
-
To install fpm with pacman use
72
-
73
-
```
74
-
pacman -S mingw-w64-x86_64-fpm
75
-
```
76
-
77
-
Afterwards fpm will be available for usage.
78
-
Currently `i686`, `x86_64` and `ucrt-x86_64` are supported MinGW architectures for fpm.
79
-
For more details check the package information [here](https://packages.msys2.org/base/mingw-w64-fpm).
80
-
81
-
[MSYS2]: https://www.msys2.org/
82
-
83
-
84
-
#### [Spack]
85
-
86
-
Fpm is available with spack in its develop version.
87
-
To install fpm from spack use
88
-
89
-
```
90
-
spack install fpm
91
-
```
92
-
93
-
You can add `+openmp` to enable parallelization of the target compilation in fpm.
94
-
To use fpm in your environment load it with
95
-
96
-
```
97
-
spack load fpm
98
-
```
99
-
100
-
For more details check the package information [here](https://spack.readthedocs.io/en/latest/package_list.html#fpm).
101
-
102
-
[Spack]: https://spack.io
103
-
104
-
105
-
#### Homebrew
74
+
### [Homebrew](https://brew.sh/)
106
75
107
76
The Fortran Package Manager (fpm) is available for the [Homebrew](https://brew.sh/) package manager via an additional tap.
108
77
To install fpm via brew, include the new tap and install using
109
78
110
-
```
79
+
```sh
111
80
brew tap fortran-lang/fortran
112
81
brew install fpm
113
82
```
@@ -117,15 +86,11 @@ Binary distributions are available for MacOS 11 (Catalina) and 12 (Big Sur) for
117
86
Fpm should be available and functional after those steps.
118
87
For more details checkout the tap [here](https://github.com/fortran-lang/homebrew-fortran).
119
88
120
-
#### Github Actions
121
-
122
-
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