From 91b3e1ed261a4f07b4461ac317b56503f6be693c Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 14 Dec 2022 10:14:46 -0500 Subject: [PATCH 1/3] feat: win arm cross compile support --- .github/workflows/wheels.yml | 1 + CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 232e431..d47d269 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -50,6 +50,7 @@ jobs: - uses: pypa/cibuildwheel@v2.12.0 env: CIBW_ARCHS_MACOS: universal2 + CIBW_ARCHS_WINDOWS: auto ARM64 - name: Verify clean directory run: git diff --exit-code diff --git a/CMakeLists.txt b/CMakeLists.txt index f635421..a531120 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.15...3.25) +cmake_minimum_required(VERSION 3.15...3.26) project(${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION}) From b87c1ecd7613f3a18cabc0d7873f64ac513d0713 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 2 Mar 2023 15:07:25 -0500 Subject: [PATCH 2/3] WIP: add debugging info Signed-off-by: Henry Schreiner --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 02387c2..9e3569f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["scikit-build-core", "pybind11"] +requires = ["scikit-build-core @ git+https://github.com/scikit-build/scikit-build-core@henryiiii/fix/arm", "pybind11"] build-backend = "scikit_build_core.build" @@ -29,6 +29,8 @@ test = ["pytest"] [tool.scikit-build] wheel.expand-macos-universal-tags = true +cmake.verbose = true +logging.level = "DEBUG" [tool.cibuildwheel] From 3a5cd3838d11c369066015bb1cb437eeb7a49c48 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 4 Mar 2023 15:27:06 -0500 Subject: [PATCH 3/3] Update pyproject.toml --- pyproject.toml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9e3569f..38e72af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["scikit-build-core @ git+https://github.com/scikit-build/scikit-build-core@henryiiii/fix/arm", "pybind11"] +requires = ["scikit-build-core>=0.2.1", "pybind11"] build-backend = "scikit_build_core.build" @@ -29,8 +29,6 @@ test = ["pytest"] [tool.scikit-build] wheel.expand-macos-universal-tags = true -cmake.verbose = true -logging.level = "DEBUG" [tool.cibuildwheel]