← Back to issue list

feat: add parallel parameter to autotools plugin

View original Github issue

Metadata

Project
craft-parts
Number
#1167
Type
pull request
State
merged
Author
vpa1977
Labels
—
Created
Updated
Closed

Current evaluation

Merged #1167 as commit 7dfd1bf7, adding disable_parallel to the Autotools plugin so builds can omit make -j and addressing #1069.

Resolution: closed resolved

Reason: PR #1167 was approved and merged as commit 7dfd1bf7. It implements the disable_parallel option, tests, and documentation needed to suppress make parallelism for affected builds.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This addresses https://github.com/canonical/craft-parts/issues/1069 by adding "disable_parallel" boolean option that disables `-j` option to make command. The similiar change should be done to `make` for parity in a follow up PR. - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #1167 as commit 7dfd1bf7, adding disable_parallel to the Autotools plugin so builds can omit make -j and addressing #1069.
stealth/space-bunny-alpha — closed resolved Merged #1167 (7dfd1bf7), adding autotools disable_parallel to suppress make's -j flag and address #1069. Make-plugin parity remains tracked in #1242.
qwen/qwen3.6-35b-a3b — — Merged a feature adding a disable_parallel boolean option to the autotools plugin to suppress the -j make flag. Approved by three reviewers, passed all CI checks, and updated the changelog to resolve issue #1069.
qwen3.6-35b-a3b-mtp-q6 — — Merged the disable_parallel boolean addition to the autotools plugin, disabling the -j make flag. Resolves issue #1069. A follow-up PR will apply the same change to the make plugin for parity.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/craft-parts#1242 (confidence 100%)

    Open follow-up for equivalent disable-parallel support in the make plugin.

  • Likely Fixed By: canonical/craft-parts#1069 (confidence 99%)

    PR #1167 explicitly addresses the OpenJDK Autotools build failure by allowing make -j to be disabled.

Related issues

Issue Project State Summary Similarity
#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.
80%
#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.
78%
#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.
76%
#1631 docs: document autotools disable-parallel key craft-parts open Docs-only PR adding the autotools `disable-parallel` key and a parallel-build note plus a changelog entry to the Autotools plugin reference. Approved by one reviewer but 2 unresolved comments remain; author agreed to revert the "How it works" line and awaits maintainer guidance; 3 CI checks failing.
74%
#1551417 Support parallel builds snapcraft (launchpad) closed Parallel autotools, CMake, and make builds were enabled by default with a --no-parallel-build opt-out via merged PR #357 (commit 35cd5ca2c).
74%
#1603 docs: for the autotools plugin relevant flags are not described, e.g. disable_parallel craft-parts open Docs gap: the Autotools plugin reference does not document the disable-parallel part property or its effect on make -j. Triaged; fix PR #1631 is open with unresolved review comments and failing CI.
73%
#698 Add option disable-parallel for all plugins. snapcraft merged Merged PR #698 added a per-part disable-parallel option to BasePlugin, allowing all plugins to opt out of parallel builds; merged as b7fc3eb66.
72%
#1249 qmake plugin: Support `disable-parallel` parameter craft-parts open Enhancement: add disable-parallel support to the qmake plugin. Maintainer-filed, labeled Needs information; explicitly deferred as low priority pending a real-world use case. One of six sibling per-plugin issues (cmake, meson, make, go, rust).
70%
#1234 cmake plugin: Support `disable-parallel` parameter craft-parts open Enhancement: make the cmake plugin honour the `disable-parallel` part property. Still unimplemented at HEAD (cmake_plugin.py always emits `-j{parallel_build_count}`). Maintainer-filed, labelled Enhancement/Needs information; explicitly deprioritised pending a real-world use case.
70%