Skip to content

Commit a351f40

Browse files
committed
MDEV-14541 - Workaround GCC ICE on ARM64
1 parent 21e5335 commit a351f40

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

storage/mroonga/vendor/groonga/lib/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,8 @@ if(GRN_WITH_MRUBY)
177177
FILES ${EXPRESSION_TREE_RUBY_SCRIPTS}
178178
DESTINATION "${GRN_RELATIVE_RUBY_SCRIPTS_DIR}/expression_tree")
179179
endif()
180+
181+
# Workaround GCC ICE on ARM64
182+
IF(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64")
183+
ADD_COMPILE_FLAGS(ts/ts_expr_node.c COMPILE_FLAGS "-fno-tree-loop-vectorize")
184+
ENDIF()

0 commit comments

Comments
 (0)