Skip to content

Conversation

@AshAnand34
Copy link

This pull request updates the logic for AVX support in the cmake/MpcOptions.cmake file to ensure compatibility with specific system architectures. The most important change involves adding a conditional check for the processor type when MUJOCO_ENABLE_AVX is enabled.

Changes to AVX support logic:

  • cmake/MpcOptions.cmake: Added a conditional check to verify if the processor matches x86_64|AMD64 before including CheckAvxSupport and retrieving AVX compile options. This ensures AVX options are only applied on supported architectures. Additionally, a fallback set(AVX_COMPILE_OPTIONS) is added when MUJOCO_ENABLE_AVX is disabled.

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.

1 participant