← Back to issue list

Add option disable-parallel for all plugins.

View original Github issue

Metadata

Project
snapcraft
Number
#698
Type
pull request
State
merged
Author
blakerouse
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #698 added a per-part disable-parallel option to BasePlugin, allowing all plugins to opt out of parallel builds; merged as b7fc3eb66.

Resolution: closed resolved

Reason: PR #698 was merged into Snapcraft as commit b7fc3eb66, implementing generic parallel-build disabling across all plugins after successful retesting.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Some projects do not support parallel building with autotools. For the maas-rack charm I need to disable parallel building just for specifically building isc-dhcp-server. This gives the ability for a developer to disable this option per part, allowing those parts that can build in parallel to do so.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #698 added a per-part disable-parallel option to BasePlugin, allowing all plugins to opt out of parallel builds; merged as b7fc3eb66.
stealth/space-bunny-alpha — closed resolved Merged in PR #698, adding a generic disable-parallel option to BasePlugin so parts can opt out of parallel builds while other parts remain parallel-capable.
stealth/space-bunny-alpha — closed resolved Merged #698 via commit b7fc3eb66, adding disable-parallel to BasePlugin so all plugins can build serially per part.
qwen/qwen3.6-35b-a3b — — Merged adding a generic disable-parallel option to the BasePlugin, allowing developers to disable parallel building across all plugins for projects that do not support it. Updated from per-part to base-level implementation and approved after testing.
qwen3.6-35b-a3b-mtp-q6 — — Merged adds a generic disable-parallel option to the BasePlugin class, enabling developers to disable parallel builds across all plugins for projects that do not support parallel autotools compilation.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#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.
80%
#1242 make plugin: Support `disable-parallel` parameter craft-parts open Enhancement: make plugin should honor the disable-parallel part property (currently always emits make -j"N"). Filed by a maintainer, labeled Triaged/Enhancement, and explicitly deferred as "extremely low priority" until a real-world non-parallel-build use case is supplied; autotools already has it via PR #1167.
75%
#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.
72%
#2733 cmake plugin: support disable-parallel option snapcraft merged Merged in canonical/snapcraft#2733 (commit 634d72466), enabling CMake disable-parallel via BasePlugin's parallel build count and adding unit coverage.
72%
#1237 go plugin: Support `disable-parallel` parameter craft-parts open Adding disable-parallel support to the Go plugin remains open and low priority, pending a concrete real-world use case or application that fails with parallel builds.
71%
#1232 ant plugin: Support `disable-parallel` parameter craft-parts open Ant plugin support for disable-parallel is unimplemented; the request remains open as Needs information, with maintainers requesting a real-world case that fails under parallel builds.
71%