descartes_light icon indicating copy to clipboard operation
descartes_light copied to clipboard

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

Open mpowelson opened this issue 3 years ago • 2 comments

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()

mpowelson avatar Oct 20 '21 19:10 mpowelson

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

Levi-Armstrong avatar Oct 20 '21 20:10 Levi-Armstrong

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

marip8 avatar Oct 20 '21 21:10 marip8