Skip to content

Commit

Permalink
Update install-build-tools.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluemangoo authored Apr 29, 2024
1 parent 0e2ad3e commit 7f46ae5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/install-build-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,12 @@ fi
case "${OSTYPE-}" in
linux*)
if [ -n "$use_clang" ]; then
# ubuntu_codename=$(lsb_release --codename --short)
# llvm_version=18
# 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
# install_packages clang-$llvm_version llvm-$llvm_version
ubuntu_codename=$(lsb_release --codename --short)
llvm_version=18
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
install_packages clang-$llvm_version llvm-$llvm_version
fi
;;
esac
Expand Down

0 comments on commit 7f46ae5

Please sign in to comment.