From 5dab5280f7c56230ea01adc307668237373fe6d2 Mon Sep 17 00:00:00 2001 From: Boris Bolliet Date: Sat, 28 Sep 2024 18:36:42 +0100 Subject: [PATCH] Update build_wheels_macos.yml --- .github/workflows/build_wheels_macos.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_wheels_macos.yml b/.github/workflows/build_wheels_macos.yml index a516d73f..ac706d85 100644 --- a/.github/workflows/build_wheels_macos.yml +++ b/.github/workflows/build_wheels_macos.yml @@ -73,6 +73,10 @@ jobs: CIBW_ARCHS: "arm64" LDFLAGS: "-L/opt/homebrew/opt/libomp/lib" CPPFLAGS: "-I/opt/homebrew/opt/libomp/include" + LIBRARY_PATH: "/opt/homebrew/opt/libomp/lib:$LIBRARY_PATH" + C_INCLUDE_PATH: "/opt/homebrew/opt/libomp/include:$C_INCLUDE_PATH" + DYLD_LIBRARY_PATH: "/opt/homebrew/opt/libomp/lib:$DYLD_LIBRARY_PATH" + run: python -m cibuildwheel --output-dir wheelhouse - name: Build source distribution (sdist)