← Back to issue list

Support parallel builds

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1551417
Type
issue
State
closed
Author
~kyrofa
Labels
—
Created
Updated
Closed

Current evaluation

Parallel autotools, CMake, and make builds were enabled by default with a --no-parallel-build opt-out via merged PR #357 (commit 35cd5ca2c).

Resolution: closed resolved

Reason: PR #357 implemented automatic parallel builds and provided an opt-out for RAM-constrained environments. It was merged through commit 1a62686da and explicitly resolved LP #1551417.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Several of the plugins contained within Snapcraft (autotools, make, CMake) have the potential to run much faster than they do by enabling parallel builds. Currently Snapcraft doesn't take advantage of this, and it should. Ideally it should be automatic-- detect that the CPU is capable of parallel builds (and how many, perhaps via `multiprocessing.cpu_count()`) and enable it, all transparent to the user.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Parallel autotools, CMake, and make builds were enabled by default with a --no-parallel-build opt-out via merged PR #357 (commit 35cd5ca2c).
stealth/space-bunny-alpha — closed resolved Parallel autotools, CMake, and make builds were enabled by default, with a --no-parallel-build opt-out for RAM-constrained builds, via merged PR snapcraft#357.
stealth/space-bunny-alpha — closed resolved Fixed by merged PR #357 (commit 1a62686da): parallel autotools, CMake, and make builds were enabled by default, with a --no-parallel-build opt-out.
qwen/qwen3.6-35b-a3b — — Closed without implementation, indicating the feature request for automatic parallel build support was abandoned or superseded. No comments or resolution details were recorded.
qwen/qwen3.6-35b-a3b — — The feature request for automatic parallel build support was closed without implementation. No resolution details were provided, indicating the request was abandoned or deferred until later versions added native support.
qwen/qwen3.6-35b-a3b — — Closed without resolution or linked pull request, likely abandoned or superseded by later implementations. No comments or merge details were provided.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The request to automatically enable parallel builds for Snapcraft plugins was not addressed or merged.
qwen3.6-35b-a3b-mtp-q6 — — Closed without resolution. The feature request was abandoned, though parallel build support was later implemented in Snapcraft via plugin updates.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcraft#357 (confidence 100%)

    Merged implementation of default parallel builds for relevant plugins, backed by commit 35cd5ca2c.

Related issues

Issue Project State Summary Similarity
#357 Support parallel builds (enabled by default). snapcraft merged Merged PR #357 (commit 35cd5ca2c, merge 1a62686da) adding parallel build support, enabled by default in autotools/cmake/make plugins, plus a --no-parallel-build option. Resolves LP: #1551417.
91%
#1167 feat: add parallel parameter to autotools plugin craft-parts merged Merged #1167 as commit 7dfd1bf7, adding disable_parallel to the Autotools plugin so builds can omit make -j and addressing #1069.
74%
#1608994 Need a way to disable parallel building per part snapcraft (launchpad) closed Per-part parallel-build control was added by merged PR #698 (commit b7fc3eb66), which introduced the disable-parallel plugin property; the autotools plugin later gained it (commit 634d72466), documented in the 8.13 release notes.
73%