Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized command line option '-mno-avx' on aarch64 architecture #88

Open
mpowelson opened this issue Oct 20, 2021 · 2 comments
Open

Comments

@mpowelson
Copy link
Contributor

mpowelson commented Oct 20, 2021

It looks like this is fixed in opw_kinematics using the code below. However, we may want to instead use the method described here

if ( NOT CMAKE_SYSTEM_NAME2 MATCHES "aarch64" AND NOT CMAKE_SYSTEM_NAME2 MATCHES "armv7l" AND NOT CMAKE_SYSTEM_NAME2 MATCHES "unknown" )
  set(OPW_COMPILE_OPTIONS_PUBLIC -mno-avx)
endif()
@Levi-Armstrong
Copy link
Collaborator

Levi-Armstrong commented Oct 20, 2021

@marip8 The solution in the link provided looks like a good solution?

@marip8
Copy link
Collaborator

marip8 commented Oct 20, 2021

I think the approach from @mpowelson 's link would be a good solution

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

No branches or pull requests

3 participants