# Parallel fpm builds

**URL:** <https://fortran-lang.discourse.group/t/parallel-fpm-builds/10632>\
**Category:** fpm\
**Created:** [January 20, 2026, 1:04am UTC](https://fortran-lang.discourse.group/t/parallel-fpm-builds/10632 "2026-01-20T01:04:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeff.irwin](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/jeff.irwin/32/3673_2.png) [@jeff.irwin](https://fortran-lang.discourse.group/u/jeff.irwin)\
**Post date:** [January 20, 2026, 1:04am UTC](https://fortran-lang.discourse.group/t/parallel-fpm-builds/10632/1 "2026-01-20T01:04:47Z")

</div>

Do the official binary releases of FPM have parallelism enabled? I was browsing the source when I [saw this](https://github.com/fortran-lang/fpm/blob/eccb199671fc9b7e61a78647afd3300536452b8a/src/fpm_backend.F90#L11):

> @note If compiled with OpenMP, targets will be build in parallel where possible.

I tried downloading the latest linux release, but it seems to only build on one thread: [https://github.com/fortran-lang/fpm/releases/download/v0.12.0/fpm-0.12.0-linux-x86\_64-gcc-12](https://github.com/fortran-lang/fpm/releases/download/v0.12.0/fpm-0.12.0-linux-x86_64-gcc-12)

It works and it works great! At least, it does when I build fpm locally with `fpm build --profile release --flag “-fopenmp”`

---

<div class="post-metadata">

**Author:** ![everythingfunctional](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/everythingfunctional/32/176_2.png) [@everythingfunctional](https://fortran-lang.discourse.group/u/everythingfunctional)\
**Post date:** [January 22, 2026, 7:07am UTC](https://fortran-lang.discourse.group/t/parallel-fpm-builds/10632/2 "2026-01-22T07:07:21Z")

</div>

I asked about doing this a while ago, but I don’t know that anybody’s done anything to do it yet.

> <https://github.com/fortran-lang/fpm/issues/962>
>
> \### Description
> 
> I don't know if there are downsides to doing so, but it would b…e nice if the default fpm could do parallel builds, as it would save me some time in my CI.
> 
> \### Possible Solution
> 
> Add the openmp meta package as a dependency in fpm's \`fpm.toml\` or modify the scripts compiling the binaries for the release to include the \`-fopenmp\` flag.
> 
> \### Additional Information
> 
> I've got some projects that are big enough they would really benefit from parallel builds.

---

<div class="post-metadata">

**Author:** ![jeff.irwin](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/jeff.irwin/32/3673_2.png) [@jeff.irwin](https://fortran-lang.discourse.group/u/jeff.irwin)\
**Post date:** [January 23, 2026, 12:35am UTC](https://fortran-lang.discourse.group/t/parallel-fpm-builds/10632/3 "2026-01-23T00:35:30Z")

</div>

Thanks! I should’ve searched the issues better

For what it’s worth, I’m also building fpm from source on Ubuntu – Ubuntu 22.04.5 LTS in WSL. I haven’t seen any issues with segfaults. Maybe that issue is fixed or maybe my testing just wasn’t thorough enough
