Skip to content

Commit

Permalink
Turn off AVX extension on DARWIN (neoml-lib#644)
Browse files Browse the repository at this point in the history
  • Loading branch information
SAngeliuk committed May 31, 2022
1 parent 109ffc1 commit 9bd9379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Settings.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ macro(set_global_variables)
set(LINUX TRUE)
endif()

if(NOT DEFINED ENV{READTHEDOCS} AND (CMAKE_SIZEOF_VOID_P EQUAL 8) AND (WIN32 OR LINUX OR DARWIN) AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "arm.*")
if(NOT DEFINED ENV{READTHEDOCS} AND (CMAKE_SIZEOF_VOID_P EQUAL 8) AND (WIN32 OR LINUX) AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "arm.*")
set(NEOML_USE_AVX TRUE)
endif()

Expand Down

0 comments on commit 9bd9379

Please sign in to comment.