Skip to content

Commit

Permalink
compile ninja on linux arm
Browse files Browse the repository at this point in the history
  • Loading branch information
1yefuwang1 committed Sep 26, 2024
1 parent 3114a5e commit ee65407
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ before-build = "yum install -y ninja-build"

[[tool.cibuildwheel.overrides]]
select = "*manylinux_aarch64*"
environment = {VCPKG_FORCE_SYSTEM_BINARIES="1"}
# ninja-build is not installable via yum on aarch64
before-build = "yum install -y curl zip unzip tar; python bootstrap_vcpkg.py"
before-build = [
"yum install -y wget curl zip unzip tar",
"wget https://github.com/ninja-build/ninja/releases/download/v1.12.1/ninja-linux-aarch64.zip",
"unzip -q ninja-linux-aarch64.zip",
"mv ninja /usr/bin/ninja",
"python bootstrap_vcpkg.py"]

0 comments on commit ee65407

Please sign in to comment.