From 59359b13d9619642bd9194fd03595c1ade4475c7 Mon Sep 17 00:00:00 2001 From: Tpt Date: Wed, 21 Dec 2022 20:33:25 +0100 Subject: [PATCH] Manylinux wheels: install rustup "by hand" --- .github/workflows/manylinux_build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/manylinux_build.sh b/.github/workflows/manylinux_build.sh index 065376c9..fa5f6e40 100644 --- a/.github/workflows/manylinux_build.sh +++ b/.github/workflows/manylinux_build.sh @@ -2,8 +2,11 @@ cd /workdir yum -y install centos-release-scl-rh yum -y install llvm-toolset-7.0 source scl_source enable llvm-toolset-7.0 -curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal -export PATH="${PATH}:/root/.cargo/bin:/opt/python/cp37-cp37m/bin:/opt/python/cp38-cp38/bin:/opt/python/cp39-cp39/bin:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311/bin" +curl https://static.rust-lang.org/rustup/dist/%arch%-unknown-linux-gnu/rustup-init --output rustup-init +chmod +x rustup-init +./rustup-init -y --profile minimal +source "$HOME/.cargo/env" +export PATH="${PATH}:/opt/python/cp37-cp37m/bin:/opt/python/cp38-cp38/bin:/opt/python/cp39-cp39/bin:/opt/python/cp310-cp310/bin:/opt/python/cp311-cp311/bin" cd python python3.10 -m venv venv source venv/bin/activate