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

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new ed8504d071c [Doc]Specify LLVM compiler in build on MacOS (#2891)
ed8504d071c is described below

commit ed8504d071ccbb55ac1742e135cc93aa41c9a872
Author: Loyvon Wang <[email protected]>
AuthorDate: Wed Feb 11 02:50:27 2026 +0800

    [Doc]Specify LLVM compiler in build on MacOS (#2891)
    
    ## Versions
    
    - [+] dev
    - [ ] 3.0
    - [ ] 2.1
    - [ ] 2.0
    
    ## Languages
    
    - [] Chinese
    - [+] English
    
    ## Docs Checklist
    
    - [ ] Checked by AI
    - [ ] Test Cases Built
    
    ---------
    
    Co-authored-by: Yongqiang YANG <[email protected]>
---
 community/developer-guide/mac-dev/dev-prepare.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/community/developer-guide/mac-dev/dev-prepare.md 
b/community/developer-guide/mac-dev/dev-prepare.md
index 97b3b481f3c..1e2b9856d03 100644
--- a/community/developer-guide/mac-dev/dev-prepare.md
+++ b/community/developer-guide/mac-dev/dev-prepare.md
@@ -28,7 +28,7 @@ under the License.
 
 ```shell
 brew install automake autoconf libtool pkg-config texinfo coreutils gnu-getopt 
\
-python@3 cmake ninja ccache bison byacc gettext wget pcre maven llvm@20 
openjdk@17 npm
+python@3 cmake ninja ccache bison byacc gettext wget pcre maven llvm@21 
openjdk@17 npm
 ```
 
 *The version of jdk installed using brew is 17, because on macOS, the arm64 
version of brew does not have version 8 of jdk by default*
@@ -83,6 +83,8 @@ reference link: 
`https://gist.github.com/tonydeng/02e571f273d6cce4230dc8d5f39449
     ```shell
     export DORIS_HOME=~/DorisDev/doris
     export PATH=$DORIS_HOME/bin:$PATH
+    export LDFLAGS="-L$(brew --prefix llvm)/lib${LDFLAGS:+ $LDFLAGS}"
+    export CPPFLAGS="-I$(brew --prefix llvm)/include${CPPFLAGS:+ $CPPFLAGS}"
     ```
 
 ## Download Doris compilation dependencies


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to