diff options
author | Milan Curcic <caomaco@gmail.com> | 2021-03-17 13:12:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-17 13:12:20 -0400 |
commit | 8841ab8b8cbd328f9c56a6f023a0ab02bfee5854 (patch) | |
tree | 82c705a5fbf75e099c1a39a10cd0cad99c802bdb | |
parent | 482a52bab1e25497819ffbbb99fab45df9c59406 (diff) | |
parent | fc9fea90256f9dc9221fbfaed4dc9ecc03832bab (diff) | |
download | fpm-8841ab8b8cbd328f9c56a6f023a0ab02bfee5854.tar.gz fpm-8841ab8b8cbd328f9c56a6f023a0ab02bfee5854.zip |
Merge pull request #397 from milancurcic/add-conda-instructions
Add Conda install instructions to the README
-rw-r--r-- | README.md | 29 |
1 files changed, 26 insertions, 3 deletions
@@ -17,14 +17,38 @@ To report a bug report or suggest a feature, please read our ## Getting started -### Binary download +### Setting up fpm + +#### Binary download `x86-64` binaries are available [to download](https://github.com/fortran-lang/fpm/releases) for Windows, MacOS and Linux. __Note:__ On Linux and MacOS, you will need to enable executable permission before you can use the binary. _e.g._ `$ chmod u+x fpm-v0.1.0-linux-x86_64` -__Github actions:__ 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. +#### Conda + +Fpm is available on conda-forge, to add conda-forge to your channels use: + +``` +conda config --add channels conda-forge +``` + +Fpm can be installed with: + +``` +conda create -n fpm fpm +conda activate fpm +``` + +The conda package manager can be installed from [miniforge](https://github.com/conda-forge/miniforge/releases) +or from [miniconda](https://docs.conda.io/en/latest/miniconda.html). + +#### Github Actions + +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. + +#### Bootstraping on other platforms For other platforms and architectures have a look at the [bootstrapping instructions](#bootstrapping-instructions). @@ -94,4 +118,3 @@ with itself and run the tests with: $ cd fpm $ fpm test ``` - |