April 29, 2023, 10:23pm
fpm, the Fortran Package Manager is now officially available through PyPi for all major OSs and architectures. It has been compiled with support for OpenMP for parallel compilation.
Versions of fpm from v0.3.0 to v0.8.1 (latest) have been uploaded to PyPi. Users can install them via:
pip install fpm
and can run it as you normally would
or as a python module
python3 -m fpm --version
There is also a source distribution on PyPi that will download, configure and compile fpm from source, but at this stage it requires OpenMP to be present in your system.
Let me know if you have any problems
Just tested this on a Mac (Intel), worked like a charm!
$ python3 -m fpm --version
Version: 0.8.1, alpha
Description: A Fortran package manager and build system
Home Page: https://github.com/fortran-lang/fpm
OS Type: macOS
April 30, 2023, 12:21pm
That’s great to hear. We managed to also cross-compile for MacOS arm64 with OpenMP, which was a true nightmare to get working. Massive kudos to GNU compiler devs for doing all the hard and thankless work in writing the cross-compiler!
Great! Now I’m likely to give it a go.
Maybe the documentation can reflect that pip is an install source? I didn’t see it on the GH page or this one:
Nice catch, we will update the docs.