Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2831 from Amulyam24/fix-install-ppc64le
Browse files Browse the repository at this point in the history
ppc64le: fixing rust install
  • Loading branch information
GabyCT authored Sep 7, 2020
2 parents 8da2b67 + 8564e46 commit f186f49
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .ci/install_rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export PATH="${PATH}:${HOME}/.cargo/bin"
echo "Install rust"
rustup toolchain install ${version}
rustup default ${version}
rustup target add ${rustarch}-unknown-linux-musl
if [ "${rustarch}" == "powerpc64le" ]; then
rustup target add ${rustarch}-unknown-linux-gnu
else
rustup target add ${rustarch}-unknown-linux-musl
sudo ln -sf /usr/bin/g++ /bin/musl-g++
fi
rustup component add rustfmt
sudo ln -sf /usr/bin/g++ /bin/musl-g++

0 comments on commit f186f49

Please # to comment.