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

docker: enable IPO #11235

Merged
merged 1 commit into from
Nov 10, 2024
Merged

docker: enable IPO #11235

merged 1 commit into from
Nov 10, 2024

Conversation

pjonsson
Copy link
Contributor

This reduces the size of the small Ubuntu
image by 4 MB. There also seems to be
a slight speedup, the user time for the example
from #10809 goes from 34.x seconds to
33.x seconds on my computer.

@rouault
Copy link
Member

rouault commented Nov 10, 2024

My memories of IPO (at least on PROJ I believe) was that it leads to very long compilation times, in particular for the --release builds doing emulated compilation for arm64. Could you conditionalize that to the x86_64 arch ?

This reduces the size of the small Ubuntu
image by 4 MB. There also seems to be
a slight speedup, the user time for the example
from OSGeo#10809 goes from 34.x seconds to
33.x seconds on my computer.
@pjonsson
Copy link
Contributor Author

Ok, updated to only enable it for x86-64.

@rouault rouault merged commit 5f31183 into OSGeo:master Nov 10, 2024
18 checks passed
@rouault rouault added this to the 3.11.0 milestone Nov 10, 2024
@pjonsson pjonsson deleted the docker-enable-lto branch November 10, 2024 23:17
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.

2 participants