descartes_light
descartes_light copied to clipboard
Unrecognized command line option '-mno-avx' on aarch64 architecture
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()
@marip8 The solution in the link provided looks like a good solution?
I think the approach from @mpowelson 's link would be a good solution