Debian Codegraph @

continuous-delivery/build-wheels-musllinux-1-1-aarch64.sh

raw symbols SCIP
1 #!/bin/bash
2 #assumes image based on musllinux_1_1
3 set -ex
4
5 /opt/python/cp39-cp39/bin/python ./continuous-delivery/update-version.py
6
7 /opt/python/cp38-cp38/bin/python -m build
8 auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp38*.whl
9
10 /opt/python/cp39-cp39/bin/python -m build
11 auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp39*.whl
12
13 /opt/python/cp310-cp310/bin/python -m build
14 auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp310*.whl
15
16 /opt/python/cp311-cp311/bin/python -m build
17 auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp311*.whl
18
19 # Don't need to build wheels for Python 3.12, it works with the 3.11 stable ABI wheel
20
21 # We are using the Python 3.13 stable ABI from Python 3.13 onwards because of deprecated functions.
22 /opt/python/cp313-cp313/bin/python -m build
23 auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp313*.whl
24
25 # The free-threaded build does not currently support the Limited C API or the stable ABI. Built them separately
26 /opt/python/cp313-cp313t/bin/python -m build
27 auditwheel repair --plat musllinux_1_1_aarch64 dist/awscrt-*cp313t*.whl
28 # Musllinux-1-1 is EOL without python>3.13
29
30 rm dist/*.whl
31 cp -rv wheelhouse/* dist/
32
33 #now you just need to run twine (that's in a different script)