Skip to content

Commit

Permalink
Add support for LLVM 16.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMayes committed Mar 29, 2023
1 parent 2be3b80 commit 518e9e6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
11 changes: 7 additions & 4 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const VERSIONS: Set<string> = getVersions([
"13.0.0", "13.0.1",
"14.0.0", "14.0.1", "14.0.2", "14.0.3", "14.0.4", "14.0.5", "14.0.6",
"15.0.0", "15.0.1", "15.0.2", "15.0.3", "15.0.4", "15.0.5", "15.0.6", "15.0.7",
"16.0.0",
]);

/** Gets the ordering of two (specific or minimum) LLVM versions. */
Expand Down Expand Up @@ -140,6 +141,7 @@ const DARWIN_MISSING: Set<string> = new Set([
"15.0.4",
"15.0.5",
"15.0.6",
"16.0.0",
]);

/** The Darwin version suffixes which are applied for some releases. */
Expand Down Expand Up @@ -227,10 +229,11 @@ const UBUNTU: { [key: string]: string } = {
"14.0.0": "-ubuntu-18.04",
"15.0.5": "-ubuntu-18.04",
"15.0.6": "-ubuntu-18.04",
"16.0.0": "-ubuntu-18.04",
};

/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
const MAX_UBUNTU: string = "15.0.6";
const MAX_UBUNTU: string = "16.0.0";

/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */
function getLinuxUrl(version: string, options: Options): string | null {
Expand Down

0 comments on commit 518e9e6

Please sign in to comment.