From de114d2f6abd0a86ed290535ff01977aa5c7d3ff Mon Sep 17 00:00:00 2001 From: TANG ZHIXIONG Date: Mon, 12 May 2025 21:51:32 +0800 Subject: [PATCH 1/2] faster build? --- .github/workflows/wheels.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 3db26ec..e0e0878 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -44,29 +44,21 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, macos-13, macos-latest, windows-latest] steps: - uses: actions/checkout@v4 with: submodules: true - - name: Set up QEMU - if: runner.os == 'Linux' - uses: docker/setup-qemu-action@v2 - with: - platforms: all - - uses: pypa/cibuildwheel@v2.22 env: # CIBW_ARCHS: auto64 - CIBW_ARCHS_LINUX: x86_64 aarch64 - CIBW_ARCHS_WINDOWS: AMD64 # ARM64 - CIBW_ARCHS_MACOS: x86_64 arm64 - CIBW_BEFORE_BUILD: pip install numpy fire --prefer-binary - # https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip - CIBW_SKIP: pp* *i686 *musllinux* + CIBW_ENABLE: cpython-prerelease + CIBW_ARCHS_WINDOWS: auto ARM64 + CIBW_SKIP: pp* *i686 CIBW_TEST_SKIP: "*macosx* *win* *aarch64" + CIBW_BEFORE_BUILD: pip install numpy fire --prefer-binary - name: Verify clean directory run: git diff --exit-code From 3ef88fe6488d819ef982df6dfb657544c758e847 Mon Sep 17 00:00:00 2001 From: TANG ZHIXIONG Date: Mon, 12 May 2025 21:52:04 +0800 Subject: [PATCH 2/2] fix --- src/pybind11_rapidjson.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pybind11_rapidjson.cpp b/src/pybind11_rapidjson.cpp index e5f094d..67942f7 100644 --- a/src/pybind11_rapidjson.cpp +++ b/src/pybind11_rapidjson.cpp @@ -1,5 +1,3 @@ -#pragma once - #include #include