fix: default to LLVM 17

This commit is contained in:
Amin Yahyaabadi 2024-03-31 22:35:30 -07:00
parent c8867dae41
commit 0487e80610
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() { function getLLVMDefault() {
switch (process.platform) { switch (process.platform) {
case "win32": case "win32":
return "18.1.2" return "17.0.6"
case "linux": case "linux":
// used for non-ubuntu (Fedora, Arch) // used for non-ubuntu (Fedora, Arch)
// the suffixes relate to the suffix in the llvm releases // the suffixes relate to the suffix in the llvm releases
@ -14,7 +14,7 @@ function getLLVMDefault() {
case "darwin": case "darwin":
return "15.0.3" return "15.0.3"
default: 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 // the suffixes relate to the suffix in the llvm releases
llvm: { llvm: {
22: "18.1.2", 22: "17.0.6-ubuntu-22.04",
20: "18.1.2", 20: "17.0.6-ubuntu-22.04",
18: "15.0.6-ubuntu-18.04", 18: "15.0.6-ubuntu-18.04",
16: "15.0.6-ubuntu-18.04", 16: "15.0.6-ubuntu-18.04",
14: "13.0.0-ubuntu-16.04", 14: "13.0.0-ubuntu-16.04",
}, },
clangtidy: { clangtidy: {
22: "18.1.2", 22: "17.0.6-ubuntu-22.04",
20: "18.1.2", 20: "17.0.6-ubuntu-22.04",
18: "15.0.6-ubuntu-18.04", 18: "15.0.6-ubuntu-18.04",
16: "15.0.6-ubuntu-18.04", 16: "15.0.6-ubuntu-18.04",
14: "13.0.0-ubuntu-16.04", 14: "13.0.0-ubuntu-16.04",
}, },
clangformat: { clangformat: {
22: "18.1.2", 22: "17.0.6-ubuntu-22.04",
20: "18.1.2", 20: "17.0.6-ubuntu-22.04",
18: "15.0.6-ubuntu-18.04", 18: "15.0.6-ubuntu-18.04",
16: "15.0.6-ubuntu-18.04", 16: "15.0.6-ubuntu-18.04",
14: "13.0.0-ubuntu-16.04", 14: "13.0.0-ubuntu-16.04",