mirror of https://github.com/aminya/setup-cpp
fix: use llvm 17.0.4 on Windows
This commit is contained in:
parent
b532e97a17
commit
7987f9195b
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
|
@ -77,7 +77,7 @@ export const VERSIONS: Set<string> = getVersions([
|
||||||
])
|
])
|
||||||
|
|
||||||
/** The LLVM versions that were never released for the Windows platform. */
|
/** The LLVM versions that were never released for the Windows platform. */
|
||||||
const WIN32_MISSING: Set<string> = new Set(["10.0.1", "15.0.5", "15.0.6"])
|
const WIN32_MISSING: Set<string> = new Set(["10.0.1", "15.0.5", "15.0.6", "17.0.5"])
|
||||||
|
|
||||||
/** The LLVM versions that were never released for the Darwin platform. */
|
/** The LLVM versions that were never released for the Darwin platform. */
|
||||||
const DARWIN_MISSING = new Set([
|
const DARWIN_MISSING = new Set([
|
||||||
|
|
|
@ -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 "17.0.5"
|
return "17.0.4"
|
||||||
case "linux":
|
case "linux":
|
||||||
// used for non-ubuntu (Fedora, Arch)
|
// used for non-ubuntu (Fedora, Arch)
|
||||||
return "17.0.5-ubuntu-22.04"
|
return "17.0.5-ubuntu-22.04"
|
||||||
|
|
Loading…
Reference in New Issue