Skip to content

Commit 97c5763

Browse files
committed
fix: add llvm 13 support
1 parent fca9be5 commit 97c5763

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
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/llvm.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export const VERSIONS: Set<string> = getVersions([
4747
"11.1.0",
4848
"12.0.0",
4949
"12.0.1",
50+
"13.0.0",
5051
])
5152

5253
//================================================
@@ -103,7 +104,7 @@ function getDarwinUrl(version: string): string | null {
103104
* This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for
104105
* the actual release version.
105106
*/
106-
const UBUNTU_RC: Map<string, string> = new Map([["12.0.1", "12.0.1-rc4"]])
107+
const UBUNTU_RC: Map<string, string> = new Map()
107108

108109
/** The (latest) Ubuntu versions for each LLVM version. */
109110
const UBUNTU: { [key: string]: string } = {
@@ -137,11 +138,12 @@ const UBUNTU: { [key: string]: string } = {
137138
"11.0.1": "-ubuntu-16.04",
138139
"11.1.0": "-ubuntu-16.04",
139140
"12.0.0": "-ubuntu-20.04",
140-
"12.0.1-rc4": "-ubuntu-21.04",
141+
"12.0.1": "-ubuntu-16.04",
142+
"13.0.0": "-ubuntu-20.04",
141143
}
142144

143145
/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
144-
const MAX_UBUNTU: string = "12.0.1-rc4"
146+
const MAX_UBUNTU: string = "13.0.0"
145147

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

0 commit comments

Comments
 (0)