This is an automated email from the ASF dual-hosted git repository. airborne pushed a commit to branch openblas in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
The following commit(s) were added to refs/heads/openblas by this push: new d19af8798fb compile option for openblas (#340) d19af8798fb is described below commit d19af8798fb012816ea5442ba822ce3b652b198d Author: zhiqiang <hezhiqi...@selectdb.com> AuthorDate: Fri Jul 25 22:56:47 2025 +0800 compile option for openblas (#340) --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 01b058b826c..88fbf27e48f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,11 @@ set(OpenBLAS_PATCH_VERSION 30.dev) set(OpenBLAS_VERSION "${OpenBLAS_MAJOR_VERSION}.${OpenBLAS_MINOR_VERSION}.${OpenBLAS_PATCH_VERSION}") +# A known problem of OpenBLAS. +# It can not be built with -O0 optimization level. +# https://stackoverflow.com/questions/63023087/inline-asm-fails-to-compile-without-optimization?utm_source=chatgpt.com +add_compile_options(-Wno-everything -O3) + # Adhere to GNU filesystem layout conventions include(GNUInstallDirs) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org