Skip to content

Commit 3097e23

Browse files
committed
feat: support llvm 14.0.0
1 parent cd19cb3 commit 3097e23

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

dist/setup_cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/setup_cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/llvm/__tests__/llvm.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ describe("setup-llvm", () => {
2626
it("Finds valid LLVM URLs", async () => {
2727
await Promise.all(
2828
[
29+
"14.0.0",
2930
"13.0.0",
3031
"12.0.0",
3132
"12",

src/llvm/llvm.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ export const VERSIONS: Set<string> = getVersions([
5656
"12.0.0",
5757
"12.0.1",
5858
"13.0.0",
59+
"13.0.1",
60+
"14.0.0",
5961
])
6062

6163
//================================================
@@ -148,10 +150,12 @@ const UBUNTU: { [key: string]: string } = {
148150
"12.0.0": "-ubuntu-20.04",
149151
"12.0.1": "-ubuntu-16.04",
150152
"13.0.0": "-ubuntu-20.04",
153+
"13.0.1": "-ubuntu-18.04",
154+
"14.0.0": "-ubuntu-18.04",
151155
}
152156

153157
/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
154-
const MAX_UBUNTU: string = "13.0.0"
158+
const MAX_UBUNTU: string = "14.0.0"
155159

156160
/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */
157161
function getLinuxUrl(versionGiven: string): string {

0 commit comments

Comments
 (0)