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

yiguolei pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new f971e1d4432 [compile](compile option) add deflate to X86 only (#28089)
f971e1d4432 is described below

commit f971e1d44322b652c7245e8a6d127f71873bcb30
Author: shuke <37901441+shuke...@users.noreply.github.com>
AuthorDate: Thu Dec 7 09:28:57 2023 +0800

    [compile](compile option) add deflate to X86 only (#28089)
---
 be/CMakeLists.txt | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/be/CMakeLists.txt b/be/CMakeLists.txt
index 58e059ca6ec..116c4fd96e0 100644
--- a/be/CMakeLists.txt
+++ b/be/CMakeLists.txt
@@ -559,9 +559,15 @@ set(COMMON_THIRDPARTY
     xml2
     lzma
     simdjson
-    deflate
 )
 
+if (ARCH_AMD64)
+    set(COMMON_THIRDPARTY
+        ${COMMON_THIRDPARTY}
+        deflate
+    )
+endif()
+
 if ((ARCH_AMD64 OR ARCH_AARCH64) AND OS_LINUX)
     add_library(hadoop_hdfs STATIC IMPORTED)
     set_target_properties(hadoop_hdfs PROPERTIES IMPORTED_LOCATION 
${THIRDPARTY_DIR}/lib/hadoop_hdfs/native/libhdfs.a)


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

Reply via email to