Merge pull request #167 from aminya/llvm

This commit is contained in:
Amin Yahyaabadi 2023-04-21 21:05:50 -07:00 committed by GitHub
commit 6a6a1ba062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 5 deletions

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

View File

@ -82,7 +82,7 @@ importers:
specifier: ^5.0.0
version: 5.0.0
eslint:
specifier: ^8.38.0
specifier: ^8.28.0
version: 8.38.0
eslint-config-atomic:
specifier: ^1.18.3

View File

@ -56,6 +56,7 @@ describe("setup-llvm", () => {
it("Finds valid LLVM URLs", async () => {
await Promise.all(
[
...(process.platform === "darwin" ? [] : ["16.0.2", "16.0.0"]),
"15.0.2",
// "14.0.1",
"14.0.0",

View File

@ -61,6 +61,10 @@ export const VERSIONS: Set<string> = getVersions([
"15.0.4",
"15.0.5",
"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. */
@ -81,9 +85,14 @@ const DARWIN_MISSING = new Set([
"11.0.1",
"11.1.0",
"12.0.1",
// missing x86_64
// TODO add arm64 support
"15.0.4",
"15.0.5",
"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.5": "-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. */