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

Use a single codegen-unit for compilation #231

Closed
wants to merge 1 commit into from

Conversation

bmwiedemann
Copy link

Use a single codegen-unit for compilation
as suggested in
https://nnethercote.github.io/perf-book/build-configuration.html#codegen-units

to achieve reproducible builds.
It can also enhance optimizations of the produced binary.

This patch was done while working on reproducible builds for openSUSE, sponsored by the NLnet NGI0 fund.

@jacobgkau
Copy link
Member

@mmstick From your comment in #230, it sounded like you were suggesting e.g. openSUSE could configure their build environment to use a set number of codegen units. Does it make sense to do this here at the upstream project level?

@jacobgkau jacobgkau requested a review from a team July 31, 2024 19:25
as suggested in
https://nnethercote.github.io/perf-book/build-configuration.html#codegen-units

to achieve reproducible builds.
It can also enhance optimizations of the produced binary.

Fixes pop-os#230

This patch was done while working on reproducible builds for openSUSE, sponsored by the NLnet NGI0 fund.
@mmstick
Copy link
Member

mmstick commented Jul 31, 2024

It's something that OpenSUSE should do in their build environment if they want this. It'll slow down compile times for everyone else.

@mmstick mmstick closed this Jul 31, 2024
@bmwiedemann bmwiedemann deleted the issue230 branch August 1, 2024 10:49
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

Successfully merging this pull request may close these issues.

3 participants