← Back to issue list

Allow platform-independent builds with the "all" architecture

View original Github issue

Metadata

Project
craft-parts
Number
#1019
Type
issue
State
open
Author
lengau
Labels
Type: Enhancement
Created
2025-02-20 00:39:01+00:00
Updated
2025-06-13 13:42:28+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Allow using the value "all" when creating a ProjectInfo. When this happens, fail during environment expansion if the user uses `$CRAFT_ARCH_TRIPLET_BUILD_FOR` and fail during part loading if any of the parts can't create platform-independent results. (This will require adding something to the plugin to determine this. For most plugins it's a simple True/False, but for the npm plugin this depends on the value the user set for `npm_include_node`). We don't have to worry about anything in override scripts for determining whether the result can be platform-independent. Only consider the direct output of the plugin. ### Why it needs to get done Make creating platform-independent parts easier.

Evaluation history

No evaluation history available.