diff --git a/.github/workflows/install-build-tools.sh b/.github/workflows/install-build-tools.sh index d8e1ed2..f67804e 100644 --- a/.github/workflows/install-build-tools.sh +++ b/.github/workflows/install-build-tools.sh @@ -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