fix: default llvm to v14.0.0

This commit is contained in:
Amin Yahyaabadi 2022-04-16 01:03:58 -07:00
parent 09cdd6608c
commit 22d43201d9
5 changed files with 8 additions and 8 deletions

2
dist/setup_cpp.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
const DefaultVersions: Record<string, string> = {
llvm: "14.0.1", // https://github.com/llvm/llvm-project/releases
clangtidy: "14.0.1",
clangformat: "14.0.1",
llvm: "14.0.0", // https://github.com/llvm/llvm-project/releases
clangtidy: "14.0.0",
clangformat: "14.0.0",
ninja: "1.10.2", // https://github.com/ninja-build/ninja/releases
cmake: "3.23.1", // https://github.com/Kitware/CMake/releases
gcovr: "5.0", // https://pypi.org/project/gcovr/

View File

@ -27,7 +27,7 @@ describe("setup-llvm", () => {
it("Finds valid LLVM URLs", async () => {
await Promise.all(
[
"14.0.1",
// "14.0.1", fails on ubuntu
"14.0.0",
"13.0.0",
"12.0.0",

View File

@ -157,11 +157,11 @@ const UBUNTU: { [key: string]: string } = {
"13.0.0": "-ubuntu-20.04",
"13.0.1": "-ubuntu-18.04",
"14.0.0": "-ubuntu-18.04",
"14.0.1": "-ubuntu-18.04",
// "14.0.1": "-ubuntu-18.04",
}
/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
const MAX_UBUNTU: string = "14.0.1"
const MAX_UBUNTU: string = "14.0.0"
/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */
function getLinuxUrl(versionGiven: string): string {