Skip to content

Commit

Permalink
MDEV-14541 - Workaround GCC ICE on ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
svoj committed Feb 16, 2018
1 parent 21e5335 commit a351f40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions storage/mroonga/vendor/groonga/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,8 @@ if(GRN_WITH_MRUBY)
FILES ${EXPRESSION_TREE_RUBY_SCRIPTS}
DESTINATION "${GRN_RELATIVE_RUBY_SCRIPTS_DIR}/expression_tree")
endif()

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

1 comment on commit a351f40

@svoj
Copy link
Contributor Author

@svoj svoj commented on a351f40 Feb 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JFYI @Kentoku

Please sign in to comment.