mirror of https://github.com/aminya/setup-cpp
feat: support LLVM 16
This commit is contained in:
parent
db1ac241d0
commit
8f35efa1fd
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
|
@ -82,7 +82,7 @@ importers:
|
||||||
specifier: ^5.0.0
|
specifier: ^5.0.0
|
||||||
version: 5.0.0
|
version: 5.0.0
|
||||||
eslint:
|
eslint:
|
||||||
specifier: ^8.38.0
|
specifier: ^8.28.0
|
||||||
version: 8.38.0
|
version: 8.38.0
|
||||||
eslint-config-atomic:
|
eslint-config-atomic:
|
||||||
specifier: ^1.18.3
|
specifier: ^1.18.3
|
||||||
|
|
|
@ -56,6 +56,7 @@ describe("setup-llvm", () => {
|
||||||
it("Finds valid LLVM URLs", async () => {
|
it("Finds valid LLVM URLs", async () => {
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
[
|
[
|
||||||
|
...(process.platform === "darwin" ? [] : ["16.0.2", "16.0.0"]),
|
||||||
"15.0.2",
|
"15.0.2",
|
||||||
// "14.0.1",
|
// "14.0.1",
|
||||||
"14.0.0",
|
"14.0.0",
|
||||||
|
|
|
@ -61,6 +61,10 @@ export const VERSIONS: Set<string> = getVersions([
|
||||||
"15.0.4",
|
"15.0.4",
|
||||||
"15.0.5",
|
"15.0.5",
|
||||||
"15.0.6",
|
"15.0.6",
|
||||||
|
"15.0.7",
|
||||||
|
"16.0.0",
|
||||||
|
"16.0.1",
|
||||||
|
"16.0.2",
|
||||||
])
|
])
|
||||||
|
|
||||||
/** The LLVM versions that were never released for the Windows platform. */
|
/** The LLVM versions that were never released for the Windows platform. */
|
||||||
|
@ -81,9 +85,14 @@ const DARWIN_MISSING = new Set([
|
||||||
"11.0.1",
|
"11.0.1",
|
||||||
"11.1.0",
|
"11.1.0",
|
||||||
"12.0.1",
|
"12.0.1",
|
||||||
|
// missing x86_64
|
||||||
|
// TODO add arm64 support
|
||||||
"15.0.4",
|
"15.0.4",
|
||||||
"15.0.5",
|
"15.0.5",
|
||||||
"15.0.6",
|
"15.0.6",
|
||||||
|
"16.0.0",
|
||||||
|
"16.0.1",
|
||||||
|
"16.0.2",
|
||||||
])
|
])
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -141,6 +150,8 @@ const UBUNTU_SUFFIX_MAP: { [key: string]: string } = {
|
||||||
"15.0.2": "-rhel86",
|
"15.0.2": "-rhel86",
|
||||||
"15.0.5": "-ubuntu-18.04",
|
"15.0.5": "-ubuntu-18.04",
|
||||||
"15.0.6": "-ubuntu-18.04",
|
"15.0.6": "-ubuntu-18.04",
|
||||||
|
"16.0.0": "-ubuntu-18.04",
|
||||||
|
"16.0.2": "-ubuntu-22.04",
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
|
/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
|
||||||
|
|
Loading…
Reference in New Issue