Skip to content

Commit

Permalink
fix: debug cross build wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
karosc committed Apr 12, 2024
1 parent 3f24358 commit 0d580c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
# mac needs ninja to build
CIBW_BEFORE_BUILD_MACOS: brew install ninja
# remove system swig (cmake bug doesn't respect python venv)
# https://github.com/swig/swig/issues/2481#issuecomment-1949573105
CIBW_BEFORE_BUILD_LINUX: rm -f $(which swig) && rm -f $(which swig4.0)
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
CIBW_ARCHS_LINUX: x86_64
Expand Down Expand Up @@ -108,6 +109,9 @@ jobs:
with:
package-dir: ./swmm-toolkit
env:
# remove system swig (cmake bug doesn't respect python venv)
# https://github.com/swig/swig/issues/2481#issuecomment-1949573105
CIBW_BEFORE_BUILD_LINUX: rm -f $(which swig) && rm -f $(which swig4.0)
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
CIBW_ARCHS_LINUX: aarch64
CIBW_ARCHS_MACOS: arm64
Expand Down

0 comments on commit 0d580c2

Please sign in to comment.