From 8662d151272af10153d51daab2edb28ae1b13c62 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Sat, 2 Nov 2024 14:00:44 +0000 Subject: [PATCH 1/2] Add log to build script --- auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh | 1 + setup.cfg | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh b/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh index 853a955e..b0ecca4d 100755 --- a/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh +++ b/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh @@ -20,6 +20,7 @@ pyenv install --skip-existing $VERSIONS for VERSION in $VERSIONS do + echo "Building version: $VERSION" pyenv local $VERSION python3 --version pip3 install build diff --git a/setup.cfg b/setup.cfg index 0ea7d53d..8bfa562a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = signalflow -version = 0.5.0 +version = 0.5.1 author = Daniel Jones author_email = dan@erase.net description = SignalFlow is a sound synthesis library designed for clear and concise expression of sonic ideas From f67d9239bdb55533026b649730e5f4971f806158 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Sat, 2 Nov 2024 16:35:57 +0000 Subject: [PATCH 2/2] Raspberry Pi build: Use auditwheel to create manylinux .whl --- auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh b/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh index b0ecca4d..290d7efd 100755 --- a/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh +++ b/auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh @@ -11,9 +11,14 @@ # Fail if any subcommands fail set -e +curl https://raw.githubusercontent.com/mackron/miniaudio/master/miniaudio.h -o source/include/signalflow/node/io/output/miniaudio-library.h + # Install dependencies to build a fully-fledged Python install sudo apt-get install build-essential libffi-dev libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev +# Install dependencies to build a manylinux wheel +sudo apt-get patchelf + VERSIONS="3.8.20 3.9.20 3.10.15 3.11.10 3.12.7 3.13.0" pyenv install --skip-existing $VERSIONS @@ -23,6 +28,8 @@ do echo "Building version: $VERSION" pyenv local $VERSION python3 --version - pip3 install build python3 -m build --wheel done + +pip3 install build auditwheel +auditwheel repair --plat manylinux_2_34_aarch64 dist/*.whl