Skip to content

Commit

Permalink
Update cibw_macos.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc authored Jun 5, 2024
1 parent 8e4d586 commit dc03d51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/cibw_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
rm -rf /usr/local/bin/2to3/*
brew install --force libomp llvm openblas

export LDDFLAGS="$LDFLAGS -L/opt/homebrew/opt/libomp"
export PKG_CONFIG_PATH="/opt/homebrew/opt/openblas/lib/pkgconfig:$PKG_CONFIG_PATH"

export CC=/usr/local/opt/llvm/bin/clang
export CXX=/usr/local/opt/llvm/bin/clang++
export PREFIX=
export CPPFLAGS="$CPPFLAGS -Xpreprocessor -fopenmp"
export CFLAGS="$CFLAGS -Wno-implicit-function-declaration -I$PREFIX/include"
export CXXFLAGS="$CXXFLAGS -I$PREFIX/include"
Expand Down

0 comments on commit dc03d51

Please sign in to comment.