Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Martinsos committed Sep 4, 2024
1 parent 19bc5be commit 273ac30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 273ac30

Please sign in to comment.