Skip to content

Commit

Permalink
Raspberry Pi build: Use auditwheel to create manylinux .whl
Browse files Browse the repository at this point in the history
  • Loading branch information
ideoforms committed Nov 2, 2024
1 parent 72bcbaf commit f67d923
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion auxiliary/cibuildwheel/make-raspberry-pi-aarch64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit f67d923

Please sign in to comment.