Skip to content

Commit

Permalink
CI: Use LLVM 16 tools.
Browse files Browse the repository at this point in the history
Rust now uses LLVM 16 and writes object files that LLVM 15's `nm` cannot
fully understand.
  • Loading branch information
briansmith committed Sep 3, 2023
1 parent 95948b3 commit 3f9cbf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mk/cargo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ for arg in $*; do
done

# See comments in install-build-tools.sh.
llvm_version=15
llvm_version=16

case $target in
aarch64-linux-android)
Expand Down
2 changes: 1 addition & 1 deletion mk/check-symbol-prefixes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ darwin*)
nm_exe=nm
;;
*)
llvm_version=15
llvm_version=16
nm_exe=llvm-nm-$llvm_version
;;
esac
Expand Down
2 changes: 1 addition & 1 deletion mk/install-build-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ esac
case "$OSTYPE" in
linux*)
ubuntu_codename=$(lsb_release --codename --short)
llvm_version=15
llvm_version=16
sudo apt-key add mk/llvm-snapshot.gpg.key
sudo add-apt-repository "deb http://apt.llvm.org/$ubuntu_codename/ llvm-toolchain-$ubuntu_codename-$llvm_version main"
sudo apt-get update
Expand Down

0 comments on commit 3f9cbf5

Please sign in to comment.