Skip to content

feat(cmake): Allow disable LTO builds#341

Merged
leonardocarreras merged 3 commits into
sogno-platform:masterfrom
stv0g:add-disable-lto-option
Mar 28, 2025
Merged

feat(cmake): Allow disable LTO builds#341
leonardocarreras merged 3 commits into
sogno-platform:masterfrom
stv0g:add-disable-lto-option

Conversation

@stv0g
Copy link
Copy Markdown
Contributor

@stv0g stv0g commented Mar 25, 2025

No description provided.

@stv0g stv0g requested review from fwege and n-eiling March 25, 2025 02:35
@stv0g stv0g requested a review from m-mirz as a code owner March 25, 2025 02:35
@stv0g stv0g self-assigned this Mar 25, 2025
Copy link
Copy Markdown
Contributor

@n-eiling n-eiling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I didn't want lto to become the default. It must have slipped into master with one of my PRs.

Comment thread CMakeLists.txt Outdated
@stv0g
Copy link
Copy Markdown
Contributor Author

stv0g commented Mar 25, 2025

Sorry, I didn't want lto to become the default. It must have slipped into master with one of my PRs.

It only becomes enabled in Release builds at the moments. But I am working on packaging DPsim with Nix which uses a release build by default.

I would add another option for native arch.

@stv0g stv0g requested a review from n-eiling March 25, 2025 10:50
stv0g added 3 commits March 28, 2025 21:10
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
…uilds

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
@leonardocarreras leonardocarreras merged commit 6df1041 into sogno-platform:master Mar 28, 2025
@stv0g stv0g deleted the add-disable-lto-option branch March 31, 2025 03:45
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