Skip to content

Use link time optimization for CI release build #877

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

Merged
merged 10 commits into from
Jan 21, 2025

Conversation

TonyXiang8787
Copy link
Member

Use Link Time Optimization for CI release build for all targets. This is achieved by setting CMAKE_INTERPROCEDURAL_OPTIMIZATION in the preset.

In the user build, the C-API always enables LTO.

Signed-off-by: Tony Xiang <tony.xiang@alliander.com>
Signed-off-by: Tony Xiang <tony.xiang@alliander.com>
Signed-off-by: Tony Xiang <tony.xiang@alliander.com>
Signed-off-by: Tony Xiang <tony.xiang@alliander.com>
@TonyXiang8787 TonyXiang8787 marked this pull request as draft January 21, 2025 09:03
TonyXiang8787 and others added 4 commits January 21, 2025 14:36
Signed-off-by: Tony Xiang <tony.xiang@alliander.com>
I, Tony Xiang <tony.xiang@alliander.com>, hereby add my Signed-off-by to this commit: e60dac1

Signed-off-by: Tony Xiang <tony.xiang@alliander.com>
@TonyXiang8787 TonyXiang8787 marked this pull request as ready for review January 21, 2025 14:30
@TonyXiang8787 TonyXiang8787 marked this pull request as draft January 21, 2025 14:31
Signed-off-by: Tony Xiang <tony.xiang@alliander.com>
@TonyXiang8787 TonyXiang8787 marked this pull request as ready for review January 21, 2025 14:52
Signed-off-by: Tony Xiang <tony.xiang@alliander.com>
@TonyXiang8787 TonyXiang8787 added this pull request to the merge queue Jan 21, 2025
Merged via the queue into main with commit a4be26e Jan 21, 2025
28 checks passed
@TonyXiang8787 TonyXiang8787 deleted the feature/use-lto-for-ci-release branch January 21, 2025 15:41
@Jerry-Jinfeng-Guo Jerry-Jinfeng-Guo changed the title use link time optimization for CI release build Use link time optimization for CI release build May 13, 2025
@Jerry-Jinfeng-Guo Jerry-Jinfeng-Guo added the dependencies Pull requests that update a dependency file label May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants