From e00fc5070a5a950e963da8c9b1a68bcfa7fac387 Mon Sep 17 00:00:00 2001 From: Zhi Li Date: Sun, 13 Oct 2024 22:01:31 -0700 Subject: [PATCH] Update MacOS OpenMP instruction. --- resource/doc/python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/doc/python.md b/resource/doc/python.md index 6ba2ba769..2e38f1153 100644 --- a/resource/doc/python.md +++ b/resource/doc/python.md @@ -84,7 +84,7 @@ pip3 install -r python/requirements.txt On macOS it's important to use the LLVM from homebrew as the macOS clang does not include support for OpenMP, which is needed for libsvm-official ``` shell script -PATH="$HOMEBREW_PREFIX/opt/llvm/bin:$PATH" pip3 install -r ./python/requirements.txt +CC=$HOMEBREW_PREFIX/opt/llvm/bin/clang CXX=$HOMEBREW_PREFIX/opt/llvm/bin/clang++ pip3 install -r python/requirements.txt ```