From dc03d515b039cf474a501a14b5ef94dc969b7b16 Mon Sep 17 00:00:00 2001 From: Matt Piekenbrock Date: Wed, 5 Jun 2024 19:25:12 -0400 Subject: [PATCH] Update cibw_macos.sh --- tools/cibw_macos.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/cibw_macos.sh b/tools/cibw_macos.sh index 163deea..a00df34 100644 --- a/tools/cibw_macos.sh +++ b/tools/cibw_macos.sh @@ -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"