Skip to content

Conversation

@davidhozic
Copy link
Contributor

@davidhozic davidhozic commented Oct 25, 2025

Fixes #2904 .

@davidhozic davidhozic marked this pull request as ready for review October 25, 2025 13:48
@davidhozic
Copy link
Contributor Author

davidhozic commented Oct 25, 2025

@saran-t This works as expected now.

I'm just wondering it it's okay to raise an error (FATAL_ERROR) when CMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=ON is given instead off MUJOCO_ENABLE_IPO:BOOL=ON?
There's unfortunately no way to check if the user has set CMAKE_INTERPROCEDURAL_OPTIMIZATION to OFF however.

@davidhozic davidhozic force-pushed the fix/ipo_default_release branch from 9467cf0 to d954bfd Compare October 25, 2025 14:33
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.

LTO is forcefully enabled instead of by default in the build system

1 participant