I’m more than happy to announce that the Fortran package manager is now available on conda-forge! We have versions for Linux (x86_64, aarch64 and ppc64le) and MacOS (x86_64 and aarch64) already available there.
Go ahead and give it a try, you can grab a conda version from the mini-forge project if you don’t have a conda installation already. If not available yet, enable the conda-forge channel with:
conda config --add channels conda-forge
Once the conda-forge channel has been enabled, fpm can be installed with:
conda create -n fpm fpm conda activate fpm
Might take another half an hour until the fpm package propagated through the CDN of conda-forge.
How does it work?
John (@urbanjost) suggested to use a single Fortran file version of fpm to bootstrap. With this approach compiling fpm on all systems and for all package managers just boils down to
$FC $LDFLAGS $FFLAGS fpm-*.f90 -o $PREFIX/bin/fpm
All the fpm releases now have a single source file version available to allow us to get started packaging.