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

[buildmaster] packages with ARCHITECTURE="any" should be built only once #234

Open
jmairboeck opened this issue Oct 22, 2022 · 1 comment

Comments

@jmairboeck
Copy link
Member

According to @waddlesplash, "any" architecture packages are built for all architectures separately. This is redundant and wastes resources. "any" arch packages are meant to be suitable for "any" architecture, therefore they need to be built only once (e.g. on x86_64) and then resulting packages can be reused for all architecture specific repositories, e.g. by making symlinks on the server side.

This was discussed in the context of the texlive package (see haikuports/haikuports#6771), which is > 4GB in total and would therefore benefit massively from this. When there are more than 2 supported architectures in the future, the benefits would be even greater.

@OscarL
Copy link
Contributor

OscarL commented Mar 31, 2024

[Context: texlive-2024-2 build on 64 bits failed with "No space left on device" error]

Would fixing this require having a buildmaster only for the "any" "architecture"?

Or maybe just disabling "any" arch for all but one buildmaster?

In either case... I guess we would end up needing a central https://eu.hpkg.haiku-os.org/haikuports/r1beta4/any/current repo setup, and it added to the default list of repositories on Haiku images/.hpkg, no?

Sounds like we need coordination with the sys-admin team on this one (besides any needed changes on HaikuPorter/Haiku).

CC: @kallisti5 (not sure who else to tag).

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

No branches or pull requests

2 participants