Skip to content

Commit c3c5a81

Browse files
authored
Merge pull request #209 from iainchesworth/feature/add-support-for-llvm-17
Feature/add support for llvm 17
2 parents a296e2c + ec2fe0a commit c3c5a81

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

src/llvm/llvm_url.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ export const VERSIONS: Set<string> = getVersions([
6969
"16.0.4",
7070
"16.0.5",
7171
"16.0.6",
72+
"17.0.1",
73+
"17.0.2",
74+
"17.0.3",
7275
])
7376

7477
/** The LLVM versions that were never released for the Windows platform. */
@@ -101,6 +104,9 @@ const DARWIN_MISSING = new Set([
101104
"16.0.4",
102105
"16.0.5",
103106
"16.0.6",
107+
"17.0.1",
108+
"17.0.2",
109+
"17.0.3",
104110
])
105111

106112
/**
@@ -162,10 +168,11 @@ const UBUNTU_SUFFIX_MAP: { [key: string]: string } = {
162168
"16.0.2": "-ubuntu-22.04",
163169
"16.0.3": "-ubuntu-22.04",
164170
"16.0.4": "-ubuntu-22.04",
171+
"17.0.2": "-ubuntu-22.04",
165172
}
166173

167174
/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
168-
const MAX_UBUNTU: string = "16.0.4"
175+
const MAX_UBUNTU: string = "17.0.2"
169176

170177
//================================================
171178
// URL

src/versions/default_versions.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ import { isArch } from "../utils/env/isArch"
66
function getLLVMDefault() {
77
switch (process.platform) {
88
case "win32":
9-
return "16.0.6"
9+
return "17.0.3"
1010
case "linux":
1111
// used for non-ubuntu (Fedora, Arch)
12-
return "16.0.4-ubuntu-22.04"
12+
return "17.0.2-ubuntu-22.04"
1313
case "darwin":
1414
return "15.0.3"
1515
default:
16-
return "16.0.6"
16+
return "17.0.3"
1717
}
1818
}
1919

@@ -54,22 +54,22 @@ export const DefaultLinuxVersion: Record<string, Record<number, string> | undefi
5454
20: "7.0.0-2",
5555
},
5656
llvm: {
57-
22: "16.0.4-ubuntu-22.04",
58-
20: "16.0.4-ubuntu-22.04",
57+
22: "17.0.2-ubuntu-22.04",
58+
20: "17.0.2-ubuntu-22.04",
5959
18: "15.0.6-ubuntu-18.04",
6060
16: "15.0.6-ubuntu-18.04",
6161
14: "13.0.0-ubuntu-16.04",
6262
},
6363
clangtidy: {
64-
22: "16.0.4-ubuntu-22.04",
65-
20: "16.0.4-ubuntu-22.04",
64+
22: "17.0.2-ubuntu-22.04",
65+
20: "17.0.2-ubuntu-22.04",
6666
18: "15.0.6-ubuntu-18.04",
6767
16: "15.0.6-ubuntu-18.04",
6868
14: "13.0.0-ubuntu-16.04",
6969
},
7070
clangformat: {
71-
22: "16.0.4-ubuntu-22.04",
72-
20: "16.0.4-ubuntu-22.04",
71+
22: "17.0.2-ubuntu-22.04",
72+
20: "17.0.2-ubuntu-22.04",
7373
18: "15.0.6-ubuntu-18.04",
7474
16: "15.0.6-ubuntu-18.04",
7575
14: "13.0.0-ubuntu-16.04",

0 commit comments

Comments
 (0)