Skip to content

Conversation

Alexey-cpu
Copy link
Contributor

Link-Time Optimization (LTO) breaks down the build on some compilers and platforms when OpenXLSX is used as dependency shared library:

BuildLog.txt

I suggest to have an option in CMakeLists.txt to disable LTO.

@aral-matrix
Copy link
Collaborator

Hi and thank you for your contribution! I have to admit this is the first time I even heard about link-time optimization, so I need to read up on it for a bit, but at a first glance I see no problem with accepting your pull request.

I would ask you to give me a few days though because I would like to merge the development branch into master, then accept your pull request :)

@Alexey-cpu
Copy link
Contributor Author

Ok, you are welcome )

@aral-matrix aral-matrix merged commit aff3556 into troldal:development-aral Apr 12, 2025
@aral-matrix
Copy link
Collaborator

merged into master today. https://github.com/troldal/OpenXLSX/commits/master/

@aral-matrix aral-matrix added the resolved This issue has been resolved. label Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolved This issue has been resolved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants