Skip to content

Commit

Permalink
ci: reenable openmp on macos arm
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarrison committed Sep 12, 2024
1 parent 2ba0210 commit 77d1b11
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
label: "macos-target-arm64"
env:
CIBW_ARCHS_MACOS: "arm64"
CMAKE_ARGS: "-DNIFTY_LS_OPENMP=OFF"
bottle-tag: "arm64_monterey"

env:
Expand All @@ -43,13 +42,12 @@ jobs:
CIBW_ARCHS_MACOS: ${{ matrix.env.CIBW_ARCHS_MACOS }}
CIBW_CONFIG_SETTINGS: "cmake.verbose=true"
CIBW_BUILD_VERBOSITY: 1
CMAKE_ARGS: ${{ matrix.env.CMAKE_ARGS }}
CIBW_BEFORE_ALL_MACOS: |
brew uninstall gcc
pkg=$(brew fetch --force --bottle-tag=${{ matrix.env.bottle-tag }} gcc | grep 'Downloaded to' | cut -d' ' -f3)
pkg=$(brew fetch --force --bottle-tag=${{ matrix.bottle-tag }} gcc | grep 'Downloaded to' | cut -d' ' -f3)
brew install $pkg
pkg=$(brew fetch --force --bottle-tag=${{ matrix.env.bottle-tag }} fftw | grep 'Downloaded to' | cut -d' ' -f3)
pkg=$(brew fetch --force --bottle-tag=${{ matrix.bottle-tag }} fftw | grep 'Downloaded to' | cut -d' ' -f3)
brew install $pkg
SKBUILD_CMAKE_DEFINE: "CMAKE_COMPILE_WARNING_AS_ERROR=ON"

Expand Down

0 comments on commit 77d1b11

Please sign in to comment.