Skip to content

Commit

Permalink
MDEV-14541 - Workaround GCC ICE on ARM64
Browse files Browse the repository at this point in the history
-fno-tree-loop-vectorize is only supported by gcc versions >5.
  • Loading branch information
Sergey Vojtovich committed May 8, 2018
1 parent 1025363 commit de0e5fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storage/mroonga/vendor/groonga/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ if(GRN_WITH_MRUBY)
endif()

# Workaround GCC ICE on ARM64
IF(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
IF(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" AND
CMAKE_C_COMPILER_VERSION VERSION_GREATER "5")
ADD_COMPILE_FLAGS(ts/ts_expr_node.c COMPILE_FLAGS "-fno-tree-loop-vectorize")
ENDIF()

0 comments on commit de0e5fe

Please sign in to comment.