Skip to content

Commit c180509

Browse files
authored
Bump the manylinux image used by build_linux_packages.sh (#4376)
The current manylinux image ships GCC 10, which has recently started failing to compile torch-mlir (*), see failing CI job: * https://github.com/llvm/torch-mlir-release/actions/runs/19329445043/job/55288631613). This PR bumps `manylinux` to the next version which happens to bump GCC from 10 to 14. This fixes the build issue. While there may be narrower fixes, the image we use is also quite dated, so updating it is a reasonable path. (*) More specifically, `StablehloOptimizationPasses` inside the StableHLO submodule.
1 parent 05f4d85 commit c180509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_tools/python_deploy/build_linux_packages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ repo_root="$(cd "$this_dir"/../../ && pwd)"
4141
arch="$(uname -m)"
4242
echo "Running on Arch: ${arch}"
4343
# This needs to be a manylinux image so we can ship pip packages
44-
TM_RELEASE_DOCKER_IMAGE="${TM_RELEASE_DOCKER_IMAGE:-quay.io/pypa/manylinux2014_${arch}}"
44+
TM_RELEASE_DOCKER_IMAGE="${TM_RELEASE_DOCKER_IMAGE:-quay.io/pypa/manylinux_2_28_${arch}}"
4545
# This assumes an Ubuntu LTS like image. You can build your own with
4646
# ./build_tools/docker/Dockerfile
4747
TM_CI_DOCKER_IMAGE="${TM_CI_DOCKER_IMAGE:-powderluv/torch-mlir-ci:latest}"

0 commit comments

Comments
 (0)