Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch-all pipelines #1002

Open
bgermann opened this issue Feb 8, 2024 · 0 comments
Open

arch-all pipelines #1002

bgermann opened this issue Feb 8, 2024 · 0 comments

Comments

@bgermann
Copy link

bgermann commented Feb 8, 2024

It would be nice especially for the fetching phase if one could declare arch-all pipelines.
With the current implementation, a melange pipeline is run once on every architecture that the build is run for.
That means downloading the same files over and over again.
An obvious optimisation would be the following: Having a pipeline flag (i.e., arch-all) that declares it to be independent of the build architecture that is run preferrably in the native build environment.
If the melange pipeline starts with any number of such pipelines, they could be run once and hitting the first arch-dependent pipeline the builders can be spawned. If an arch-all pipeline is run after that, it can obviously also be executed within the builder.

build.arch is a variable that should be forbidden from being used in the proposed pipelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant