Skip to content

Commit 0d580c2

Browse files
committed
fix: debug cross build wheel
1 parent 3f24358 commit 0d580c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build_wheel.yml

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
# mac needs ninja to build
6666
CIBW_BEFORE_BUILD_MACOS: brew install ninja
6767
# remove system swig (cmake bug doesn't respect python venv)
68+
# https://github.com/swig/swig/issues/2481#issuecomment-1949573105
6869
CIBW_BEFORE_BUILD_LINUX: rm -f $(which swig) && rm -f $(which swig4.0)
6970
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
7071
CIBW_ARCHS_LINUX: x86_64
@@ -108,6 +109,9 @@ jobs:
108109
with:
109110
package-dir: ./swmm-toolkit
110111
env:
112+
# remove system swig (cmake bug doesn't respect python venv)
113+
# https://github.com/swig/swig/issues/2481#issuecomment-1949573105
114+
CIBW_BEFORE_BUILD_LINUX: rm -f $(which swig) && rm -f $(which swig4.0)
111115
# configure cibuildwheel to build native archs ('auto'), and some emulated ones
112116
CIBW_ARCHS_LINUX: aarch64
113117
CIBW_ARCHS_MACOS: arm64

0 commit comments

Comments
 (0)