Skip to content

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
mgovers
mgovers previously approved these changes Jan 21, 2025
Signed-off-by: Tony Xiang <tony.xiang@alliander.com>
Copy link

@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