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 4ebcc7bf08a branch-4.0: [fix](be) Enable DYNAMIC_ARCH in OpenBLAS for
cross-architecture compatibility #59800 (#59956)
4ebcc7bf08a is described below
commit 4ebcc7bf08a9ae88ccd5d2ceb27df54bd8c99939
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jan 16 17:18:56 2026 +0800
branch-4.0: [fix](be) Enable DYNAMIC_ARCH in OpenBLAS for
cross-architecture compatibility #59800 (#59956)
Cherry-picked from #59800
Co-authored-by: Jack <[email protected]>
---
be/src/olap/rowset/segment_v2/ann_index/cmake-protect/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
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 e0e4354e178..c8ec4c2745b 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,6 +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")
+set(DYNAMIC_ARCH ON CACHE BOOL "Enable runtime CPU detection in OpenBLAS")
# EXCLUDE_FROM_ALL so that binary in openblas is not installed.
add_subdirectory(${PROJECT_SOURCE_DIR}/../contrib/openblas
${PROJECT_BINARY_DIR}/openblas EXCLUDE_FROM_ALL)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]