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

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

commit 549a82c1ff5c2aebf335dc8886f722785f48c9cd
Author: zclllhhjj <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to