Skip to content

build arm64 wheels on windows #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[build-system]
requires = ["scikit-build-core >=0.4.3", "nanobind >=1.3.2"]
requires = ["scikit-build-core >=0.4.3",
"nanobind @ git+https://github.com/wjakob/nanobind@master"]
build-backend = "scikit_build_core.build"

[project]
Expand Down Expand Up @@ -29,6 +30,9 @@ build-dir = "build/{wheel_tag}"
# Build stable ABI wheels for CPython 3.12+
wheel.py-api = "cp312"

cmake.verbose = true
logging.level = "DEBUG"

[tool.cibuildwheel]
# Necessary to see build output from the actual compilation
build-verbosity = 1
Expand All @@ -40,6 +44,9 @@ test-requires = "pytest"
# Don't test Python 3.8 wheels on macOS/arm64
test-skip="cp38-macosx_*:arm64"

[tool.cibuildwheel.windows]
archs = ["x86", "AMD64", "ARM64"]

# Needed for full C++17 support
[tool.cibuildwheel.macos.environment]
MACOSX_DEPLOYMENT_TARGET = "10.14"