From 273ac30ca2da9678984fb7bcbfc6212af99b9129 Mon Sep 17 00:00:00 2001 From: Martin Sosic Date: Wed, 4 Sep 2024 22:45:35 +0200 Subject: [PATCH] fix --- .github/workflows/ci.yaml | 2 ++ bindings/python/Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bc9df9a..4a73398 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -117,6 +117,8 @@ jobs: - name: Build wheels run: | if [ ${{ matrix.os }} == "macos-13" ]; then + # Default is x86-64 only, but this way we also build universal2 wheels, + # which work on both intel (x86-64) and apple silicon (arm64). export CIBW_ARCHS_MACOS="x86-64 universal2" fi make wheels diff --git a/bindings/python/Makefile b/bindings/python/Makefile index 17536d5..1316a6f 100644 --- a/bindings/python/Makefile +++ b/bindings/python/Makefile @@ -68,7 +68,7 @@ sdist: ${BUILD_FILES} MANIFEST.in # running `make sdist` in the containers at the start of every wheel build. wheels: clean edlib python -m pip install cibuildwheel==2.20.0 - CIBW_SKIP="pp* *-manylinux_i686 cp38-*" \ + CIBW_SKIP="pp* *-manylinux_i686" \ CIBW_BEFORE_BUILD="make sdist" \ CIBW_TEST_COMMAND="python3 {project}/test.py" \ python -m cibuildwheel --output-dir wheelhouse