Skip to content

Commit

Permalink
Only install a single rust toolchain in aarch64 env
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Feb 22, 2025
1 parent bbb2303 commit fae956b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 1 addition & 5 deletions tools/build_pgo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,4 @@ python tools/pgo_scripts/test_utility_scale.py

deactivate

if [[ `uname -m` == "aarch64" ]]; then
${HOME}/.rustup/toolchains/1.79-aarch64-unknown-linux-gnu/lib/rustlib/$arch*/bin/llvm-profdata merge -o "$out_path" "$work_dir"
else
${HOME}/.rustup/toolchains/*$arch*/lib/rustlib/$arch*/bin/llvm-profdata merge -o "$out_path" "$work_dir"
fi
${HOME}/.rustup/toolchains/*$arch*/lib/rustlib/$arch*/bin/llvm-profdata merge -o "$out_path" "$work_dir"
1 change: 1 addition & 0 deletions tools/install_rust_msrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ if [ ! -d rust-installer ]; then
sh rust-installer/rustup.sh -y -c llvm-tools
rustup default 1.79
rustup component add llvm-tools
rustup uninstall stable
fi
. "$HOME/.cargo/env"

0 comments on commit fae956b

Please sign in to comment.