Skip to content

Commit 0cea5a7

Browse files
committed
Build wheels for musllinux
Now that we have binary builds of OpenSSL for `musllinux`, we can produce binary wheels for this platform.
1 parent 4a40751 commit 0cea5a7

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
CIBW_BEFORE_BUILD_WINDOWS: scripts\build-libsrtp.bat C:\cibw\vendor
108108
CIBW_ENVIRONMENT: CFLAGS=-I/tmp/vendor/include LDFLAGS=-L/tmp/vendor/lib PKG_CONFIG_PATH=/tmp/vendor/lib/pkgconfig
109109
CIBW_ENVIRONMENT_WINDOWS: INCLUDE=C:\\cibw\\vendor\\include LIB=C:\\cibw\\vendor\\lib
110-
CIBW_SKIP: '*-musllinux* pp**'
110+
CIBW_SKIP: 'pp**'
111111
CIBW_TEST_COMMAND: python -m unittest discover -s {project}/tests
112112
shell: bash
113113
run: |

scripts/fetch-vendor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"urls": ["https://github.com/aiortc/aioquic-openssl/releases/download/3.4.0-1/openssl-{platform}.tar.gz"]
2+
"urls": ["https://github.com/aiortc/aioquic-openssl/releases/download/3.4.1-1/openssl-{platform}.tar.gz"]
33
}

scripts/fetch-vendor.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ def get_platform():
1212
system = platform.system()
1313
machine = platform.machine()
1414
if system == "Linux":
15-
return f"manylinux_{machine}"
15+
if platform.libc_ver()[0] == "glibc":
16+
return f"manylinux_{machine}"
17+
else:
18+
return f"musllinux_{machine}"
1619
elif system == "Darwin":
1720
# cibuildwheel sets ARCHFLAGS:
1821
# https://github.com/pypa/cibuildwheel/blob/5255155bc57eb6224354356df648dc42e31a0028/cibuildwheel/macos.py#L207-L220

0 commit comments

Comments
 (0)