mirror of
https://github.com/markqvist/LXST.git
synced 2026-04-27 14:20:39 +00:00
26 lines
No EOL
583 B
Bash
Executable file
26 lines
No EOL
583 B
Bash
Executable file
#!/bin/bash
|
|
# This script is used to run the binary wheel builds
|
|
# inside docker containers for multi-arch compilation
|
|
set -e -x
|
|
|
|
yum install -y gcc gcc-c++ make codec2-devel codec2
|
|
|
|
PYTHON_VERSIONS=(
|
|
"cp311-cp311"
|
|
"cp312-cp312"
|
|
"cp313-cp313"
|
|
"cp314-cp314"
|
|
)
|
|
|
|
for PY_TAG in "${PYTHON_VERSIONS[@]}"; do
|
|
PYBIN="/opt/python/${PY_TAG}/bin"
|
|
|
|
if [ ! -d "$PYBIN" ]; then
|
|
echo "Python version not found: $PYBIN"
|
|
continue
|
|
fi
|
|
|
|
echo "Building with: $PYBIN"
|
|
"${PYBIN}/pip" install cffi
|
|
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
|
|
done |