Skip to content

Commit

Permalink
Fix cibw build script for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarbenjamin committed Feb 6, 2025
1 parent b0865b3 commit 8e438a7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions bin/cibw_before_all_linux_aarch64.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

yum install -y xz
bin/build_dependencies_unix.sh\
--gmp gmp\
--host aarch64-pc-linux-gnu\
--use-gmp-github-mirror
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ PKG_CONFIG_PATH = "$(pwd)/.local/lib/pkgconfig"
# PKG_CONFIG_PATH = "$(pwd)/.local/lib/pkgconfig:$PKG_CONFIG_PATH"

[tool.cibuildwheel.linux]
before-all = "bin/cibw_before_all_linux.sh"
before-all = "bin/cibw_before_all_linux_$(uname -m).sh"

[tool.cibuildwheel.macos]
before-all = "bin/cibw_before_all_macosx_$(uname -m).sh"
Expand Down

0 comments on commit 8e438a7

Please sign in to comment.