# Getting fpm working with LFortran

**URL:** <https://fortran-lang.discourse.group/t/getting-fpm-working-with-lfortran/1738>\
**Category:** Uncategorized\
**Created:** [August 22, 2021, 11:04pm UTC](https://fortran-lang.discourse.group/t/getting-fpm-working-with-lfortran/1738 "2021-08-22T23:04:30Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![awvwgk](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/awvwgk/32/154_2.png) [@awvwgk](https://fortran-lang.discourse.group/u/awvwgk)\
**Post date:** [November 2, 2021, 7:27am UTC](https://fortran-lang.discourse.group/t/getting-fpm-working-with-lfortran/1738/9 "2021-11-02T07:27:50Z")

</div>

> [@certik](#):
>
> How do you contribute to windows-msys2? All we need to do is to create a package.

To contribute a package you need a PKGBUILD file, which you can submit in a PR to

> **[GitHub - msys2/MINGW-packages: Package scripts for MinGW-w64 targets to build...](https://github.com/msys2/mingw-packages)**
>
> Package scripts for MinGW-w64 targets to build under MSYS2. - GitHub - msys2/MINGW-packages: Package scripts for MinGW-w64 targets to build under MSYS2.

I wrote a guide on creating PKGBUILD files with a template for CMake projects here:

> [@Packaging for MSYS2](https://fortran-lang.discourse.group/t/packaging-for-msys2/2005):
>
> @zoziha asked me about a MSYS2 version of stdlib when we were preparing the release for version 0.1.0 and while I’m not much of a Windows user, the MSYS2 tool chain is something I found very useful. In particular because its package manager, pacman, is based on Arch Linux’ tool chain, the one I’m using for my own machine. Arch Linux is known for its incredible comprehensive documentation, if you don’t know about it yet, checkout the [Arch Linux Wiki](https://wiki.archlinux.org/). The other nice thing is its very accessible p…

Note that MSYS2 uses LLVM 13, I guess this will cause issues for LFortran since it requires LLVM 11 at the moment.

---

_[View the full topic](https://fortran-lang.discourse.group/t/getting-fpm-working-with-lfortran/1738)._
