mirror of https://github.com/aminya/setup-cpp
fix: default to LLVM 17
This commit is contained in:
parent
29399c3aa7
commit
be53592c68
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
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue