feat: support "build-for: [all]" in core24
Metadata
Current evaluation
Merged PR #4873 as commit 319056d7a, adding core24 support for build-for: [all] and fixing #4854. The feature shipped in Snapcraft 8.4.0.
Resolution: closed resolved
Reason: PR #4873 was approved and merged, updating core24 platform handling and adding unit and spread tests for the advanced grammar. Commit 319056d7a contains the merged feature and resolves #4854.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Supports `build-for: [all]` for core24 snaps.
Fixes #4854
CRAFT-3017
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #4873 as commit 319056d7a, adding core24 support for build-for: [all] and fixing #4854. The feature shipped in Snapcraft 8.4.0. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #4873 added build-for: [all] support for core24, fixing #4854; craft-application was updated to 3.0.0 and unit and spread tests were added. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged implementation of build-for: [all] support for core24 snaps, fixing #4854. Changes were squashed, craft-application updated to 3.0.0, and unit and spread tests added after two approvals. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds support for build-for: [all] in core24 snaps, resolving #4854 and CRAFT-3017. Updated craft-application to 3.0.0 and added unit and spread tests following review feedback. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#4854
(confidence 100%)
Architecture-independent build support issue explicitly fixed by PR #4873.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4854 Accept `build-for: [all]` and `--build-for=all` for architecture-independent snaps | snapcraft | closed | Resolved: Snapcraft supports build-for [all] and --build-for=all for remote builds/core24 in 8.4.0 and core22 in 8.7.0; requested core22/core24 regression tests were added. | |
| #4734 feat: drop `build-base: devel` requirement for core24 | snapcraft | merged | Merged #4734 in commit aed002bbe, removing the build-base: devel requirement for core24 snaps. | |
| #5767 feat: add support for core26 (#5677) | snapcraft | merged | Merged core26 support into Snapcraft, adding base recognition and unit-test coverage; core26 initially required build-base: devel. | |
| #4630 feat: add platforms and drop architectures for core24 | snapcraft | merged | Merged as canonical/snapcraft#4630 (f771a4ab8), adding optional core24 platform selection and removing legacy architectures, with host build defaults. | |
| #5274 feat: support foreign architectures for core24 | snapcraft | merged | Merged PR #5274 expanded core24 cross-compilation by allowing package-repositories and build-package entries for any supported architecture, fixing #5222 and #4542. | |
| #4617 feat(craft-application): support root packages for core24 | snapcraft | merged | Merged PR #4617 added core24 support for root-level build-packages and build-snaps, fixing #4605; landed as 397f4c8c3. | |
| #4603 Investigate proper support for "build-for: all" | snapcraft | closed | Core24 will not support build-for: all; maintainers found true architecture independence uncommon and consider per-architecture snaps or remote builds sufficient. | |
| #365 feat: accept build-for: [all] in platforms | craft-application | merged | Merged PR canonical/craft-application#365 (CRAFT-3016): accepts 'build-for: [all]' in platform definitions, disallowing other platforms when set; closes craft-application#360, related to snapcraft#4854. | |
| #4519 Use `core24` buildd daily image | snapcraft | closed | Core24 buildd daily support was merged in snapcraft#4532 (a9e12f622), so build-base: devel now uses that image without changing snapcraft.yaml. | |
| #4693 feat: core24 using Craft Application and core22 components | snapcraft | merged | Merged as commit ab1c86df3: snaps with base core24 are now built using Craft Application and core22 components, a large change (284 files, +10487/-1939) in snapcraft. |