fix: enable llvm 14.0.1 support for ubuntu

This commit is contained in:
Amin Yahyaabadi 2022-04-27 16:44:36 -07:00
parent 49248d2ce6
commit 154369fbb1
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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 {