Hit an error in MacOS runners during field tests:
Error: {clang_installer::version:153}: Failed to download clang-tidy from static distribution: The static binaries are only built for x86_64 (amd64) architecture
This happens when homebrew fails to install a deprecated formuae:
Error: {clang_installer::downloader::native_packages:120}: Failed to install clang-tidy v11.0.0 using Homebrew package manager: brew failed to install llvm@11 package: ::warning::No available formula with the name "llvm@11". Did you mean llvm, llvm@21, llvm@19, llvm@18, llvm@17, llvm@16, llvm@15, llvm@14, llvm@12 or llvm@20?
Fortunately clang-installer is falling back to static binary download. Unfortunately, the static binaries only build for x86_64.
Good news! I think the latest static binaries' release, master-63858060, now includes aarch64 builds for MacOS. We just have to update clang-installer to use that release (from master-6e612956) here:
|
const CLANG_TOOLS_TAG: &str = "master-6e612956"; |
Hit an error in MacOS runners during field tests:
This happens when homebrew fails to install a deprecated formuae:
Fortunately clang-installer is falling back to static binary download. Unfortunately, the static binaries only build for x86_64.
Good news! I think the latest static binaries' release, master-63858060, now includes aarch64 builds for MacOS. We just have to update clang-installer to use that release (from master-6e612956) here:
cpp-linter-rs/clang-installer/src/downloader/static_dist.rs
Line 49 in 8e2fcad