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