mirror of https://github.com/aminya/setup-cpp
fix: update llvm to 17.0.5
This commit is contained in:
parent
0f59570d63
commit
b532e97a17
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
|
@ -72,6 +72,8 @@ export const VERSIONS: Set<string> = getVersions([
|
|||
"17.0.1",
|
||||
"17.0.2",
|
||||
"17.0.3",
|
||||
"17.0.4",
|
||||
"17.0.5",
|
||||
])
|
||||
|
||||
/** The LLVM versions that were never released for the Windows platform. */
|
||||
|
@ -107,6 +109,8 @@ const DARWIN_MISSING = new Set([
|
|||
"17.0.1",
|
||||
"17.0.2",
|
||||
"17.0.3",
|
||||
"17.0.4",
|
||||
"17.0.5",
|
||||
])
|
||||
|
||||
/**
|
||||
|
@ -169,10 +173,12 @@ const UBUNTU_SUFFIX_MAP: { [key: string]: string } = {
|
|||
"16.0.3": "-ubuntu-22.04",
|
||||
"16.0.4": "-ubuntu-22.04",
|
||||
"17.0.2": "-ubuntu-22.04",
|
||||
"17.0.4": "-ubuntu-22.04",
|
||||
"17.0.5": "-ubuntu-22.04",
|
||||
}
|
||||
|
||||
/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
|
||||
const MAX_UBUNTU: string = "17.0.2"
|
||||
const MAX_UBUNTU: string = "17.0.5"
|
||||
|
||||
//================================================
|
||||
// URL
|
||||
|
|
|
@ -6,14 +6,14 @@ import { isArch } from "../utils/env/isArch"
|
|||
function getLLVMDefault() {
|
||||
switch (process.platform) {
|
||||
case "win32":
|
||||
return "17.0.3"
|
||||
return "17.0.5"
|
||||
case "linux":
|
||||
// used for non-ubuntu (Fedora, Arch)
|
||||
return "17.0.2-ubuntu-22.04"
|
||||
return "17.0.5-ubuntu-22.04"
|
||||
case "darwin":
|
||||
return "15.0.3"
|
||||
default:
|
||||
return "17.0.3"
|
||||
return "17.0.5"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -54,8 +54,8 @@ export const DefaultLinuxVersion: Record<string, Record<number, string> | undefi
|
|||
20: "7.0.0-2",
|
||||
},
|
||||
llvm: {
|
||||
22: "17.0.2-ubuntu-22.04",
|
||||
20: "17.0.2-ubuntu-22.04",
|
||||
22: "17.0.5-ubuntu-22.04",
|
||||
20: "17.0.5-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