This is an automated email from the ASF dual-hosted git repository.
huajianlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new a08a5a791f1 [fix](compile) fix compile backend in MacOS (#60028)
a08a5a791f1 is described below
commit a08a5a791f162b453c4bd96dd8edda2713bfb9fa
Author: 924060929 <[email protected]>
AuthorDate: Mon Jan 19 21:22:02 2026 +0800
[fix](compile) fix compile backend in MacOS (#60028)
fix compile backend in MacOS
---
be/src/olap/rowset/segment_v2/ann_index/cmake-protect/CMakeLists.txt | 4 +++-
1 file changed, 3 insertions(+), 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 c8ec4c2745b..cf4846766a9 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,9 @@ 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")
+if (NOT CMAKE_SYSTEM_NAME MATCHES "Darwin")
+ set(DYNAMIC_ARCH ON CACHE BOOL "Enable runtime CPU detection in OpenBLAS")
+endif ()
# 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]