Hello,
I was trying to build scipy from source following the docs. The only problem is, to use LLVM with OpenMP on Apple devices, you typically need to install the LLVM and libomp libraries via Homebrew, as the default Xcode compilers do not support OpenMP (See for manual download OpenMP on macOS with Xcode tools ).
I personally installed llvm and libomp using brew and set these env vars:
```
export LLVM_PREFIX=“/opt/homebrew/opt/llvm”
export CC=“$LLVM_PREFIX/bin/clang”
export CXX=“$LLVM_PREFIX/bin/clang++”
export CPPFLAGS=“-I$(brew --prefix libomp)/include”
export LDFLAGS=“-L$(brew --prefix libomp)/lib”
```
(These ensure -fopenmp is accepted and omp.h/libomp.dylib are found.)
I was just wondering if docs point it out and I missed some points? If not I think it might be worth adding to docs.
Also I’m not sure if this is the correct way, how do you guys build scipy on macOS systems?
Thanks.