Skip to content

Commit

Permalink
build: Use up-to-date manylinux / musllinux images so pipewire is pac…
Browse files Browse the repository at this point in the history
…kaged
  • Loading branch information
mcb2003 committed Feb 5, 2024
1 parent 738fb8c commit 316a7d7
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,32 @@ cmake.build-type = "Release"
# mainframe?), and non-universal macosx builds (unnecessary if a universal
# binary is built)
skip = ["pp3*-*", "*_s390x", "*-macosx_{x86_64,arm64}"]
# Use a more up-to-date manylinux image with a pipewire-devel package
manylinux-x86_64-image = "manylinux_2_28"
manylinux-i686-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"
manylinux-ppc64le-image = "manylinux_2_28"
# Use a more up-to-date musllinux image
musllinux-x86_64-image = "musllinux_1_2"
musllinux-i686-image = "musllinux_1_2"
musllinux-aarch64-image = "musllinux_1_2"
musllinux-ppc64le-image = "musllinux_1_2"

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

[tool.cibuildwheel.macos]
archs = ["universal2"]

[tool.cibuildwheel.linux]
archs = ["x86_64", "i686", "aarch64", "ppc64le"]

# OpenAL Soft needs the sound system headers at compile time, but dynamically
# loads the libraries at runtime, so it won't error on systems where these
# libraries aren't available
before-all = "yum install pipewire-devel pulseaudio-libs-devel alsa-lib-devel"
[[tool.cibuildwheel.overrides]]
select = "*-manylinux*"
before-all = "yum -y install pipewire-devel pulseaudio-libs-devel alsa-lib-devel"
[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
before-all = "apk add pipewire-dev pulseaudio-dev alsa-lib-dev"

0 comments on commit 316a7d7

Please sign in to comment.