fix: default to LLVM 17

This commit is contained in:
Amin Yahyaabadi 2024-03-31 22:34:32 -07:00
parent 29399c3aa7
commit be53592c68
7 changed files with 23 additions and 23 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@ import { isArch } from "../utils/env/isArch"
function getLLVMDefault() {
switch (process.platform) {
case "win32":
return "18.1.2"
return "17.0.6"
case "linux":
// used for non-ubuntu (Fedora, Arch)
// the suffixes relate to the suffix in the llvm releases
@ -14,7 +14,7 @@ function getLLVMDefault() {
case "darwin":
return "15.0.3"
default:
return "18.1.2"
return "17.0.6"
}
}
@ -56,22 +56,22 @@ export const DefaultLinuxVersion: Record<string, Record<number, string> | undefi
},
// the suffixes relate to the suffix in the llvm releases
llvm: {
22: "18.1.2",
20: "18.1.2",
22: "17.0.6-ubuntu-22.04",
20: "17.0.6-ubuntu-22.04",
18: "15.0.6-ubuntu-18.04",
16: "15.0.6-ubuntu-18.04",
14: "13.0.0-ubuntu-16.04",
},
clangtidy: {
22: "18.1.2",
20: "18.1.2",
22: "17.0.6-ubuntu-22.04",
20: "17.0.6-ubuntu-22.04",
18: "15.0.6-ubuntu-18.04",
16: "15.0.6-ubuntu-18.04",
14: "13.0.0-ubuntu-16.04",
},
clangformat: {
22: "18.1.2",
20: "18.1.2",
22: "17.0.6-ubuntu-22.04",
20: "17.0.6-ubuntu-22.04",
18: "15.0.6-ubuntu-18.04",
16: "15.0.6-ubuntu-18.04",
14: "13.0.0-ubuntu-16.04",