From d568885d64c89db5b9a722f0c1bef05aa92f84ca Mon Sep 17 00:00:00 2001 From: mio Date: Thu, 26 Sep 2024 19:15:03 +0800 Subject: [PATCH] Re-add muls_wheel.sh Thanks to @Antelox Co-authored-by: @Antelox --- bindings/python/musl_wheel.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bindings/python/musl_wheel.sh diff --git a/bindings/python/musl_wheel.sh b/bindings/python/musl_wheel.sh new file mode 100644 index 00000000..5bc5ff3a --- /dev/null +++ b/bindings/python/musl_wheel.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +# TODO: use cibuildwheel +apk update +apk add gcc make cmake pkgconfig linux-headers git musl-dev patchelf + +python3 -m pip install -U pip setuptools auditwheel + +cd bindings/python && python3 setup.py bdist_wheel && auditwheel repair dist/*.whl && mv -f wheelhouse/*.whl ./dist/ \ No newline at end of file