This is an automated email from the ASF dual-hosted git repository.

panxiaolei pushed a commit to branch hadoop-3.3.6
in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git


The following commit(s) were added to refs/heads/hadoop-3.3.6 by this push:
     new 648194d53d5 fix: compile hadoop on arm with crc (#247)
648194d53d5 is described below

commit 648194d53d5caa683e60947bd2fd3e43bbf81cf9
Author: zclllhhjj <zhaochan...@selectdb.com>
AuthorDate: Tue Oct 29 14:41:52 2024 +0800

    fix: compile hadoop on arm with crc (#247)
    
    compile hadoop on arm with crc
---
 hadoop-common-project/hadoop-common/src/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hadoop-common-project/hadoop-common/src/CMakeLists.txt 
b/hadoop-common-project/hadoop-common/src/CMakeLists.txt
index d8792dcb592..a93082091ec 100644
--- a/hadoop-common-project/hadoop-common/src/CMakeLists.txt
+++ b/hadoop-common-project/hadoop-common/src/CMakeLists.txt
@@ -190,6 +190,7 @@ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
   message(STATUS "SUPPORT OF CRC: ${CRC_TEST_RESULT}")
   if (CRC_TEST_RESULT)
     set(BULK_CRC_ARCH_SOURCE_FIlE "${SRC}/util/bulk_crc32_aarch64.c")
+    add_compile_options(-march=armv8-a+crc) # native sometimes not include crc
   else()
     message("No HW CRC acceleration for ${CMAKE_SYSTEM_PROCESSOR}, falling 
back to SW")
   endif()


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to