Skip to content

Commit

Permalink
Build wheels for musl-based linux (#167)
Browse files Browse the repository at this point in the history
[pyproject.toml] Add musl back.

It is still faster to build wheels for both manylinux and musllinux than windows and macos
  • Loading branch information
fredericoschardong authored Jul 20, 2023
1 parent bff12e6 commit 63d2604
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"

[tool.cibuildwheel]
# only build for 64-bit
skip = ["*-manylinux_i686", "*-musllinux*"]
skip = ["*-manylinux_i686", "*-musllinux_i686"]

test-requires = "pytest"
test-command = "pytest {project}/tests"
Expand All @@ -32,3 +32,8 @@ before-test = "ccache --show-stats"
[tool.cibuildwheel.linux.environment]
CC = "/usr/lib64/ccache/gcc"
CFLAGS = "-g0"

[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
before-all = "apk add ccache"
environment = {CC = "/usr/lib/ccache/bin/gcc"}

0 comments on commit 63d2604

Please sign in to comment.