From 154369fbb1aa448f01c94eb3b3f254a84ba1e0b6 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Wed, 27 Apr 2022 16:44:36 -0700 Subject: [PATCH] fix: enable llvm 14.0.1 support for ubuntu --- src/llvm/__tests__/llvm.test.ts | 2 +- src/llvm/llvm.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/llvm/__tests__/llvm.test.ts b/src/llvm/__tests__/llvm.test.ts index 41baf701..51302751 100644 --- a/src/llvm/__tests__/llvm.test.ts +++ b/src/llvm/__tests__/llvm.test.ts @@ -27,7 +27,7 @@ describe("setup-llvm", () => { it("Finds valid LLVM URLs", async () => { await Promise.all( [ - // "14.0.1", fails on ubuntu + "14.0.1", "14.0.0", "13.0.0", "12.0.0", diff --git a/src/llvm/llvm.ts b/src/llvm/llvm.ts index 9fd709b0..6be4f27b 100644 --- a/src/llvm/llvm.ts +++ b/src/llvm/llvm.ts @@ -157,11 +157,11 @@ const UBUNTU: { [key: string]: string } = { "13.0.0": "-ubuntu-20.04", "13.0.1": "-ubuntu-18.04", "14.0.0": "-ubuntu-18.04", - // "14.0.1": "-ubuntu-18.04", + "14.0.1": "-ubuntu-18.04", } /** The latest supported LLVM version for the Linux (Ubuntu) platform. */ -const MAX_UBUNTU: string = "14.0.0" +const MAX_UBUNTU: string = "14.0.1" /** Gets an LLVM download URL for the Linux (Ubuntu) platform. */ function getLinuxUrl(versionGiven: string): string {