Skip to content

Commit

Permalink
Update wheel docker base image
Browse files Browse the repository at this point in the history
  • Loading branch information
cnheitman committed Dec 18, 2024
1 parent bac5821 commit fa2925c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMG=quay.io/pypa/manylinux_2_28_x86_64
ARG BASE_IMG=quay.io/pypa/manylinux_2_34_x86_64

FROM $BASE_IMG

Expand Down
2 changes: 1 addition & 1 deletion src/scripts/docker/build-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ set -ex
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )

docker build \
--build-arg BASE_IMG=quay.io/pypa/manylinux_2_28_x86_64 \
--build-arg BASE_IMG=quay.io/pypa/manylinux_2_34_x86_64 \
--tag build-triton-linux-x86_64 \
$SCRIPT_DIR
4 changes: 2 additions & 2 deletions src/scripts/docker/build-wheel-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# 3.8, 3.9, 3.10, 3.11, 3.12, and 3.13. It is used by the Build Python
# Package Github workflow but can also be used locally by running:
#
# $ docker pull quay.io/pypa/manylinux_2_28_x86_64
# $ docker pull quay.io/pypa/manylinux_2_34_x86_64
# $ ./src/scripts/docker/build-docker-image.sh
# $ cd /tmp
# $ wget -q https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.0/clang+llvm-14.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz
Expand Down Expand Up @@ -109,7 +109,7 @@ $PYTHON_BINARY -m build --wheel --outdir $WHEEL_DIR/linux_x86_64
echo "[+] Repair wheel packages"
cd $SOURCE_DIR
for whl in $WHEEL_DIR/linux_x86_64/*.whl; do
auditwheel repair --plat manylinux_2_31_x86_64 "$whl" --wheel-dir $WHEEL_DIR/manylinux_2_31_x86_64
auditwheel repair --plat manylinux_2_34_x86_64 "$whl" --wheel-dir $WHEEL_DIR/manylinux_2_34_x86_64
done

echo "[+] Remove build directory"
Expand Down

0 comments on commit fa2925c

Please sign in to comment.