Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install rust and cargo in manylinux image, prune unused packages. (#11)
Progress on nod-ai/shark-ai#679 Tested: ```bash cd base-docker-images sudo docker buildx build --file dockerfiles/manylinux_x86_64.Dockerfile . --tag manylinux:latest cd ../shark-ai CACHE_DIR=~/.shark-ai-cache \ OUTPUT_DIR=/tmp/wheelhouse \ MANYLINUX_DOCKER_IMAGE=manylinux:latest \ sudo -E ./shortfin/build_tools/build_linux_package.sh # ******************** BUILD COMPLETE ******************** # + echo 'Generated binaries:' # Generated binaries: # + ls -l /tmp/wheelhouse # total 40084 # -rw-r--r-- 1 root root 13691622 Dec 11 15:48 shortfin-3.0.0rc20241118-cp311-cp311-manylinux_2_28_x86_64.whl # -rw-r--r-- 1 root root 13682296 Dec 11 15:50 shortfin-3.0.0rc20241118-cp312-cp312-manylinux_2_28_x86_64.whl # -rw-r--r-- 1 root root 13666409 Dec 11 15:52 shortfin-3.0.0rc20241118-cp313-cp313-manylinux_2_28_x86_64.whl ``` Note that this image is in use without pinning in some repositories, but from what I can tell, all affected workflows are already failing and the code is unmaintained. For example: https://github.com/nod-ai/SRT/blob/373685f1cfff5dd6d934bf5858b6d58fc7a5bcdf/build_tools/pkgci/build_linux_packages.sh#L67.
- Loading branch information