Skip to content

Commit

Permalink
Add support for LLVM 13
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleMayes committed Oct 31, 2021
1 parent cda0783 commit 05c61da
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 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.

4 changes: 3 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const VERSIONS: Set<string> = getVersions([
"10.0.0", "10.0.1",
"11.0.0", "11.0.1", "11.1.0",
"12.0.0", "12.0.1",
"13.0.0",
]);

/** Gets the ordering of two (specific or minimum) LLVM versions. */
Expand Down Expand Up @@ -171,10 +172,11 @@ const UBUNTU: { [key: string]: string } = {
"11.1.0": "-ubuntu-16.04",
"12.0.0": "-ubuntu-20.04",
"12.0.1": "-ubuntu-16.04",
"13.0.0": "-ubuntu-20.04",
};

/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
const MAX_UBUNTU: string = "12.0.1";
const MAX_UBUNTU: string = "13.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 05c61da

Please sign in to comment.