Skip to content

Commit

Permalink
Configure manylinux versions and architectures for deno support (glib…
Browse files Browse the repository at this point in the history
…c 2.18)
  • Loading branch information
taybenlor committed Dec 28, 2024
1 parent b0728ec commit 44a24eb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions sandbox/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,26 @@ infer_tag = true
[tool.hatch.build.targets.wheel.hooks.custom]
path = "hatch_build.py"

# musllinux is not supported by deno
[tool.cibuildwheel]
skip = "*-musllinux*"

# Make sure deno is installed inside cibuildwheel containers
# Make sure glibc 2.18 is available inside manylinux containers
[tool.cibuildwheel.linux]
before-all = "curl -fsSL https://deno.land/install.sh | sh"
environment = { "PATH" = "$HOME/.deno/bin:$PATH" }
archs = ["aarch64", "armv71", "ppc64le", "s390x", "x86_64"]
manylinux-aarch64-image = "manylinux_2_28"
manylinux-armv7l-image = "manylinux_2_28"
manylinux-i686-image = "manylinux_2_28"
manylinux-armv7l-image = "manylinux_2_31"
manylinux-ppc64le-image = "manylinux_2_28"
manylinux-pypy_aarch64-image = "manylinux_2_28"
manylinux-pypy_i686-image = "manylinux_2_28"
manylinux-pypy_x86_64-image = "manylinux_2_28"
manylinux-s390x-image = "manylinux_2_28"
manylinux-x86_64-image = "manylinux_2_28"

[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
before-all = "apk add glibc"

x86_64, i686, aarch64, ppc64le, s390x, armv7l, universal2, arm64, x86, AMD64, ARM64, wasm32

0 comments on commit 44a24eb

Please sign in to comment.