From 0d580c2d365d6140fb8200dfed88a62bd1d97b87 Mon Sep 17 00:00:00 2001 From: ckaros Date: Fri, 12 Apr 2024 16:19:10 -0400 Subject: [PATCH] fix: debug cross build wheel --- .github/workflows/build_wheel.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 21fb154c..402ea21b 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -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 @@ -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