mirror of https://github.com/aminya/setup-cpp
fix: add llvm 13 support
This commit is contained in:
parent
fca9be5e81
commit
97c5763d5d
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -47,6 +47,7 @@ export const VERSIONS: Set<string> = getVersions([
|
|||
"11.1.0",
|
||||
"12.0.0",
|
||||
"12.0.1",
|
||||
"13.0.0",
|
||||
])
|
||||
|
||||
//================================================
|
||||
|
@ -103,7 +104,7 @@ function getDarwinUrl(version: string): string | null {
|
|||
* This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for
|
||||
* the actual release version.
|
||||
*/
|
||||
const UBUNTU_RC: Map<string, string> = new Map([["12.0.1", "12.0.1-rc4"]])
|
||||
const UBUNTU_RC: Map<string, string> = new Map()
|
||||
|
||||
/** The (latest) Ubuntu versions for each LLVM version. */
|
||||
const UBUNTU: { [key: string]: string } = {
|
||||
|
@ -137,11 +138,12 @@ const UBUNTU: { [key: string]: string } = {
|
|||
"11.0.1": "-ubuntu-16.04",
|
||||
"11.1.0": "-ubuntu-16.04",
|
||||
"12.0.0": "-ubuntu-20.04",
|
||||
"12.0.1-rc4": "-ubuntu-21.04",
|
||||
"12.0.1": "-ubuntu-16.04",
|
||||
"13.0.0": "-ubuntu-20.04",
|
||||
}
|
||||
|
||||
/** The latest supported LLVM version for the Linux (Ubuntu) platform. */
|
||||
const MAX_UBUNTU: string = "12.0.1-rc4"
|
||||
const MAX_UBUNTU: string = "13.0.0"
|
||||
|
||||
/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */
|
||||
function getLinuxUrl(versionGiven: string): string {
|
||||
|
|
Loading…
Reference in New Issue