You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2026/01/23 11:28:17 UTC
(doris) branch branch-4.0 updated: branch-4.0: [chore](openblas) Disable dynamic arch on arm platform #60157 (#60191)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 37bfcf71e31 branch-4.0: [chore](openblas) Disable dynamic arch on arm platform #60157 (#60191)
37bfcf71e31 is described below
commit 37bfcf71e31235765b5facde008e7a7d81a8f124
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Fri Jan 23 19:28:09 2026 +0800
branch-4.0: [chore](openblas) Disable dynamic arch on arm platform #60157 (#60191)
Cherry-picked from #60157
Co-authored-by: zhiqiang <se...@163.com>
---
be/src/olap/rowset/segment_v2/ann_index/cmake-protect/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/olap/rowset/segment_v2/ann_index/cmake-protect/CMakeLists.txt b/be/src/olap/rowset/segment_v2/ann_index/cmake-protect/CMakeLists.txt
index cf4846766a9..85a8950bed2 100644
--- a/be/src/olap/rowset/segment_v2/ann_index/cmake-protect/CMakeLists.txt
+++ b/be/src/olap/rowset/segment_v2/ann_index/cmake-protect/CMakeLists.txt
@@ -31,7 +31,7 @@ set(BUILD_BENCHMARKS OFF CACHE BOOL "Build benchmarks in OpenBLAS")
set(NO_LAPACK OFF CACHE BOOL "Disable LAPACK in OpenBLAS")
set(NO_CBLAS ON CACHE BOOL "Disable CBLAS in OpenBLAS")
set(NO_AVX512 ON CACHE BOOL "Disable AVX512 in OpenBLAS")
-if (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
+if (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" AND NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|arm64|ARM64")
set(DYNAMIC_ARCH ON CACHE BOOL "Enable runtime CPU detection in OpenBLAS")
endif ()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org