diff --git a/src/llvm/llvm_url.ts b/src/llvm/llvm_url.ts index 7e69f9ee..88debc32 100644 --- a/src/llvm/llvm_url.ts +++ b/src/llvm/llvm_url.ts @@ -69,6 +69,9 @@ export const VERSIONS: Set = getVersions([ "16.0.4", "16.0.5", "16.0.6", + "17.0.1", + "17.0.2", + "17.0.3", ]) /** The LLVM versions that were never released for the Windows platform. */ @@ -101,6 +104,9 @@ const DARWIN_MISSING = new Set([ "16.0.4", "16.0.5", "16.0.6", + "17.0.1", + "17.0.2", + "17.0.3", ]) /** @@ -162,10 +168,11 @@ const UBUNTU_SUFFIX_MAP: { [key: string]: string } = { "16.0.2": "-ubuntu-22.04", "16.0.3": "-ubuntu-22.04", "16.0.4": "-ubuntu-22.04", + "17.0.2": "-ubuntu-22.04", } /** The latest supported LLVM version for the Linux (Ubuntu) platform. */ -const MAX_UBUNTU: string = "16.0.4" +const MAX_UBUNTU: string = "17.0.2" //================================================ // URL diff --git a/src/versions/default_versions.ts b/src/versions/default_versions.ts index 0458f568..9bc714bc 100644 --- a/src/versions/default_versions.ts +++ b/src/versions/default_versions.ts @@ -6,14 +6,14 @@ import { isArch } from "../utils/env/isArch" function getLLVMDefault() { switch (process.platform) { case "win32": - return "16.0.6" + return "17.0.3" case "linux": // used for non-ubuntu (Fedora, Arch) - return "16.0.4-ubuntu-22.04" + return "17.0.2-ubuntu-22.04" case "darwin": return "15.0.3" default: - return "16.0.6" + return "17.0.3" } } @@ -54,22 +54,22 @@ export const DefaultLinuxVersion: Record | undefi 20: "7.0.0-2", }, llvm: { - 22: "16.0.4-ubuntu-22.04", - 20: "16.0.4-ubuntu-22.04", + 22: "17.0.2-ubuntu-22.04", + 20: "17.0.2-ubuntu-22.04", 18: "15.0.6-ubuntu-18.04", 16: "15.0.6-ubuntu-18.04", 14: "13.0.0-ubuntu-16.04", }, clangtidy: { - 22: "16.0.4-ubuntu-22.04", - 20: "16.0.4-ubuntu-22.04", + 22: "17.0.2-ubuntu-22.04", + 20: "17.0.2-ubuntu-22.04", 18: "15.0.6-ubuntu-18.04", 16: "15.0.6-ubuntu-18.04", 14: "13.0.0-ubuntu-16.04", }, clangformat: { - 22: "16.0.4-ubuntu-22.04", - 20: "16.0.4-ubuntu-22.04", + 22: "17.0.2-ubuntu-22.04", + 20: "17.0.2-ubuntu-22.04", 18: "15.0.6-ubuntu-18.04", 16: "15.0.6-ubuntu-18.04", 14: "13.0.0-ubuntu-16.04",