fix: filter/sort the LLVM asset names

This commit is contained in:
Amin Yahyaabadi 2024-09-08 04:01:03 -07:00
parent bc81ce31a4
commit 0379559965
No known key found for this signature in database
GPG Key ID: F52AF77F636088F0
15 changed files with 648 additions and 1822 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,7 @@ describe("setup-llvm", () => {
expect( expect(
await getLLVMAssetURL("linux", "x86_64", "13.0.0"), await getLLVMAssetURL("linux", "x86_64", "13.0.0"),
).toStrictEqual( ).toStrictEqual(
"https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz", "https://github.com/llvm/llvm-project/releases/download/llvmorg-13.0.0/clang+llvm-13.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz",
) )
expect( expect(
await getLLVMAssetURL("linux", "x86_64", "13.0.1"), await getLLVMAssetURL("linux", "x86_64", "13.0.1"),

View File

@ -32,10 +32,15 @@ async function main() {
} }
function isAssetArchive(asset: string): boolean { function isAssetArchive(asset: string): boolean {
return asset.endsWith("tar.xz") // only download the LLVM and clang+llvm archives
|| asset.endsWith("zip") return (asset.startsWith("LLVM-")
|| asset.endsWith("exe") || asset.startsWith("clang+llvm-")
|| asset.endsWith("tar.gz") || asset.startsWith("clang%2Bllvm-")) // cspell: disable-line
// only download the archives
&& (asset.endsWith("tar.xz")
|| asset.endsWith("zip")
|| asset.endsWith("exe")
|| asset.endsWith("tar.gz"))
} }
main().catch((err) => { main().catch((err) => {

File diff suppressed because it is too large Load Diff

View File

@ -1,598 +1,335 @@
{ {
"9.0.0": [ "9.0.0": [
"LLVM-9.0.0-win32.exe",
"LLVM-9.0.0-win64.exe",
"cfe-9.0.0.src.tar.xz",
"clang+llvm-9.0.0-aarch64-linux-gnu.tar.xz",
"clang+llvm-9.0.0-amd64-pc-solaris2.11.tar.xz",
"clang+llvm-9.0.0-amd64-unknown-freebsd11.tar.xz",
"clang+llvm-9.0.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-9.0.0-i386-unknown-freebsd11.tar.xz",
"clang+llvm-9.0.0-powerpc64le-linux-rhel-7.4.tar.xz",
"clang+llvm-9.0.0-powerpc64le-linux-ubuntu-16.04.tar.xz",
"clang+llvm-9.0.0-sparcv9-sun-solaris2.11.tar.xz",
"clang+llvm-9.0.0-x86_64-darwin-apple.tar.xz",
"clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz",
"clang+llvm-9.0.0-x86_64-linux-sles11.3.tar.xz",
"clang+llvm-9.0.0-x86_64-pc-linux-gnu.tar.xz", "clang+llvm-9.0.0-x86_64-pc-linux-gnu.tar.xz",
"clang-tools-extra-9.0.0.src.tar.xz", "clang+llvm-9.0.0-x86_64-linux-sles11.3.tar.xz",
"clang-tools-extra_doxygen-9.0.0.tar.xz", "clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz",
"clang_doxygen-9.0.0.tar.xz", "clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"compiler-rt-9.0.0.src.tar.xz", "clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"libcxx-9.0.0.src.tar.xz", "clang+llvm-9.0.0-x86_64-darwin-apple.tar.xz",
"libcxxabi-9.0.0.src.tar.xz", "clang+llvm-9.0.0-sparcv9-sun-solaris2.11.tar.xz",
"libunwind-9.0.0.src.tar.xz", "clang+llvm-9.0.0-powerpc64le-linux-ubuntu-16.04.tar.xz",
"lld-9.0.0.src.tar.xz", "clang+llvm-9.0.0-powerpc64le-linux-rhel-7.4.tar.xz",
"lldb-9.0.0.src.tar.xz", "clang+llvm-9.0.0-i386-unknown-freebsd11.tar.xz",
"llvm-9.0.0.src.tar.xz", "clang+llvm-9.0.0-armv7a-linux-gnueabihf.tar.xz",
"llvm_doxygen-9.0.0.tar.xz", "clang+llvm-9.0.0-amd64-unknown-freebsd11.tar.xz",
"openmp-9.0.0.src.tar.xz", "clang+llvm-9.0.0-amd64-pc-solaris2.11.tar.xz",
"polly-9.0.0.src.tar.xz", "clang+llvm-9.0.0-aarch64-linux-gnu.tar.xz",
"test-suite-9.0.0.src.tar.xz" "LLVM-9.0.0-win64.exe",
"LLVM-9.0.0-win32.exe"
], ],
"8.0.0": [ "8.0.0": [
"LLVM-8.0.0-win32.exe",
"LLVM-8.0.0-win64.exe",
"cfe-8.0.0.src.tar.xz",
"clang+llvm-8.0.0-aarch64-linux-gnu.tar.xz",
"clang+llvm-8.0.0-amd64-unknown-freebsd11.tar.xz",
"clang+llvm-8.0.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-8.0.0-i386-unknown-freebsd11.tar.xz",
"clang+llvm-8.0.0-powerpc64le-unknown-unknown.tar.xz",
"clang+llvm-8.0.0-x86_64-apple-darwin.tar.xz",
"clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz",
"clang+llvm-8.0.0-x86_64-linux-sles11.3.tar.xz", "clang+llvm-8.0.0-x86_64-linux-sles11.3.tar.xz",
"clang-tools-extra-8.0.0.src.tar.xz", "clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz",
"clang-tools-extra_doxygen-8.0.0.tar.xz", "clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang_doxygen-8.0.0.tar.xz", "clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"compiler-rt-8.0.0.src.tar.xz", "clang+llvm-8.0.0-x86_64-apple-darwin.tar.xz",
"libcxx-8.0.0.src.tar.xz", "clang+llvm-8.0.0-powerpc64le-unknown-unknown.tar.xz",
"libcxxabi-8.0.0.src.tar.xz", "clang+llvm-8.0.0-i386-unknown-freebsd11.tar.xz",
"libunwind-8.0.0.src.tar.xz", "clang+llvm-8.0.0-armv7a-linux-gnueabihf.tar.xz",
"lld-8.0.0.src.tar.xz", "clang+llvm-8.0.0-amd64-unknown-freebsd11.tar.xz",
"lldb-8.0.0.src.tar.xz", "clang+llvm-8.0.0-aarch64-linux-gnu.tar.xz",
"llvm-8.0.0.src.tar.xz", "LLVM-8.0.0-win64.exe",
"llvm_doxygen-8.0.0.tar.xz", "LLVM-8.0.0-win32.exe"
"openmp-8.0.0.src.tar.xz",
"polly-8.0.0.src.tar.xz",
"test-suite-8.0.0.src.tar.xz"
], ],
"7.0.1": [ "7.0.1": [
"LLVM-7.0.1-win32.exe",
"LLVM-7.0.1-win64.exe",
"cfe-7.0.1.src.tar.xz",
"clang+llvm-7.0.1-aarch64-linux-gnu.tar.xz",
"clang+llvm-7.0.1-amd64-unknown-freebsd11.tar.xz",
"clang+llvm-7.0.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-7.0.1-i386-unknown-freebsd11.tar.xz",
"clang+llvm-7.0.1-powerpc64le-unknown-unknown.tar.xz",
"clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-18.04.tar.xz",
"clang+llvm-7.0.1-x86_64-linux-sles11.3.tar.xz", "clang+llvm-7.0.1-x86_64-linux-sles11.3.tar.xz",
"clang-tools-extra-7.0.1.src.tar.xz", "clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-18.04.tar.xz",
"compiler-rt-7.0.1.src.tar.xz", "clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"libcxx-7.0.1.src.tar.xz", "clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"libcxxabi-7.0.1.src.tar.xz", "clang+llvm-7.0.1-powerpc64le-unknown-unknown.tar.xz",
"libunwind-7.0.1.src.tar.xz", "clang+llvm-7.0.1-i386-unknown-freebsd11.tar.xz",
"lld-7.0.1.src.tar.xz", "clang+llvm-7.0.1-armv7a-linux-gnueabihf.tar.xz",
"lldb-7.0.1.src.tar.xz", "clang+llvm-7.0.1-amd64-unknown-freebsd11.tar.xz",
"llvm-7.0.1.src.tar.xz", "clang+llvm-7.0.1-aarch64-linux-gnu.tar.xz",
"openmp-7.0.1.src.tar.xz", "LLVM-7.0.1-win64.exe",
"polly-7.0.1.src.tar.xz", "LLVM-7.0.1-win32.exe"
"test-suite-7.0.1.src.tar.xz"
], ],
"7.0.0": [ "7.0.0": [
"LLVM-7.0.0-win32.exe",
"LLVM-7.0.0-win64.exe",
"cfe-7.0.0.src.tar.xz",
"clang+llvm-7.0.0-aarch64-linux-gnu.tar.xz",
"clang+llvm-7.0.0-amd64-unknown-freebsd11.tar.xz",
"clang+llvm-7.0.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-7.0.0-i386-unknown-freebsd11.tar.xz",
"clang+llvm-7.0.0-powerpc64le-unknown-unknown.tar.xz",
"clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz",
"clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-7.0.0-x86_64-linux-sles11.3.tar.xz",
"clang+llvm-7.0.0-x86_64-linux-sles12.3.tar.xz", "clang+llvm-7.0.0-x86_64-linux-sles12.3.tar.xz",
"clang-tools-extra-7.0.0.src.tar.xz", "clang+llvm-7.0.0-x86_64-linux-sles11.3.tar.xz",
"clang-tools-extra_doxygen-7.0.0.tar.xz", "clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang_doxygen-7.0.0.tar.xz", "clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"compiler-rt-7.0.0.src.tar.xz", "clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz",
"libcxx-7.0.0.src.tar.xz", "clang+llvm-7.0.0-powerpc64le-unknown-unknown.tar.xz",
"libcxxabi-7.0.0.src.tar.xz", "clang+llvm-7.0.0-i386-unknown-freebsd11.tar.xz",
"libunwind-7.0.0.src.tar.xz", "clang+llvm-7.0.0-armv7a-linux-gnueabihf.tar.xz",
"lld-7.0.0.src.tar.xz", "clang+llvm-7.0.0-amd64-unknown-freebsd11.tar.xz",
"lldb-7.0.0.src.tar.xz", "clang+llvm-7.0.0-aarch64-linux-gnu.tar.xz",
"llvm-7.0.0.src.tar.xz", "LLVM-7.0.0-win64.exe",
"llvm_doxygen-7.0.0.tar.xz", "LLVM-7.0.0-win32.exe"
"openmp-7.0.0.src.tar.xz",
"polly-7.0.0.src.tar.xz",
"test-suite-7.0.0.src.tar.xz"
], ],
"6.0.1": [ "6.0.1": [
"LLVM-6.0.1-win32.exe",
"LLVM-6.0.1-win64.exe",
"cfe-6.0.1.src.tar.xz",
"clang+llvm-6.0.1-aarch64-linux-gnu.tar.xz",
"clang+llvm-6.0.1-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-6.0.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-6.0.1-i386-unknown-freebsd10.tar.xz",
"clang+llvm-6.0.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-6.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-6.0.1-x86_64-linux-sles11.3.tar.xz",
"clang+llvm-6.0.1-x86_64-linux-sles12.3.tar.xz", "clang+llvm-6.0.1-x86_64-linux-sles12.3.tar.xz",
"clang-tools-extra-6.0.1.src.tar.xz", "clang+llvm-6.0.1-x86_64-linux-sles11.3.tar.xz",
"compiler-rt-6.0.1.src.tar.xz", "clang+llvm-6.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"libcxx-6.0.1.src.tar.xz", "clang+llvm-6.0.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"libcxxabi-6.0.1.src.tar.xz", "clang+llvm-6.0.1-i386-unknown-freebsd10.tar.xz",
"libunwind-6.0.1.src.tar.xz", "clang+llvm-6.0.1-armv7a-linux-gnueabihf.tar.xz",
"lld-6.0.1.src.tar.xz", "clang+llvm-6.0.1-amd64-unknown-freebsd10.tar.xz",
"lldb-6.0.1.src.tar.xz", "clang+llvm-6.0.1-aarch64-linux-gnu.tar.xz",
"llvm-6.0.1.src.tar.xz", "LLVM-6.0.1-win64.exe",
"openmp-6.0.1.src.tar.xz", "LLVM-6.0.1-win32.exe"
"polly-6.0.1.src.tar.xz",
"test-suite-6.0.1.src.tar.xz"
], ],
"6.0.0": [ "6.0.0": [
"LLVM-6.0.0-win32.exe",
"LLVM-6.0.0-win64.exe",
"cfe-6.0.0.src.tar.xz",
"clang+llvm-6.0.0-aarch64-linux-gnu.tar.xz",
"clang+llvm-6.0.0-amd64-unknown-freebsd-10.tar.xz",
"clang+llvm-6.0.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-6.0.0-i386-unknown-freebsd-10.tar.xz",
"clang+llvm-6.0.0-i686-linux-gnu-Fedora27.tar.xz",
"clang+llvm-6.0.0-mips-linux-gnu.tar.xz",
"clang+llvm-6.0.0-mipsel-linux-gnu.tar.xz",
"clang+llvm-6.0.0-x86_64-apple-darwin.tar.xz",
"clang+llvm-6.0.0-x86_64-linux-gnu-Fedora27.tar.xz",
"clang+llvm-6.0.0-x86_64-linux-gnu-debian8.tar.xz",
"clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-6.0.0-x86_64-linux-sles11.3.tar.xz",
"clang+llvm-6.0.0-x86_64-linux-sles12.2.tar.xz", "clang+llvm-6.0.0-x86_64-linux-sles12.2.tar.xz",
"clang-tools-extra-6.0.0.src.tar.xz", "clang+llvm-6.0.0-x86_64-linux-sles11.3.tar.xz",
"clang-tools-extra_doxygen-6.0.0.tar.xz", "clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang_doxygen-6.0.0.tar.xz", "clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"compiler-rt-6.0.0.src.tar.xz", "clang+llvm-6.0.0-x86_64-linux-gnu-debian8.tar.xz",
"libcxx-6.0.0.src.tar.xz", "clang+llvm-6.0.0-x86_64-linux-gnu-Fedora27.tar.xz",
"libcxxabi-6.0.0.src.tar.xz", "clang+llvm-6.0.0-x86_64-apple-darwin.tar.xz",
"libunwind-6.0.0.src.tar.xz", "clang+llvm-6.0.0-mipsel-linux-gnu.tar.xz",
"lld-6.0.0.src.tar.xz", "clang+llvm-6.0.0-mips-linux-gnu.tar.xz",
"lldb-6.0.0.src.tar.xz", "clang+llvm-6.0.0-i686-linux-gnu-Fedora27.tar.xz",
"llvm-6.0.0.src.tar.xz", "clang+llvm-6.0.0-i386-unknown-freebsd-10.tar.xz",
"llvm_doxygen-6.0.0.tar.xz", "clang+llvm-6.0.0-armv7a-linux-gnueabihf.tar.xz",
"openmp-6.0.0.src.tar.xz", "clang+llvm-6.0.0-amd64-unknown-freebsd-10.tar.xz",
"polly-6.0.0.src.tar.xz", "clang+llvm-6.0.0-aarch64-linux-gnu.tar.xz",
"test-suite-6.0.0.src.tar.xz" "LLVM-6.0.0-win64.exe",
"LLVM-6.0.0-win32.exe"
], ],
"5.0.2": [ "5.0.2": [
"LLVM-5.0.2-win32.exe",
"LLVM-5.0.2-win64.exe",
"cfe-5.0.2.src.tar.xz",
"clang+llvm-5.0.2-x86_64-apple-darwin.tar.xz",
"clang+llvm-5.0.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-5.0.2-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-5.0.2-x86_64-linux-sles11.3.tar.xz", "clang+llvm-5.0.2-x86_64-linux-sles11.3.tar.xz",
"clang-tools-extra-5.0.2.src.tar.xz", "clang+llvm-5.0.2-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"compiler-rt-5.0.2.src.tar.xz", "clang+llvm-5.0.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"libcxx-5.0.2.src.tar.xz", "clang+llvm-5.0.2-x86_64-apple-darwin.tar.xz",
"libcxxabi-5.0.2.src.tar.xz", "LLVM-5.0.2-win64.exe",
"libunwind-5.0.2.src.tar.xz", "LLVM-5.0.2-win32.exe"
"lld-5.0.2.src.tar.xz",
"lldb-5.0.2.src.tar.xz",
"llvm-5.0.0rc2.src.tar.xz",
"llvm-5.0.2.src.tar.xz",
"openmp-5.0.2.src.tar.xz",
"polly-5.0.2.src.tar.xz",
"test-suite-5.0.2.src.tar.xz"
], ],
"5.0.1": [ "5.0.1": [
"LLVM-5.0.1-win32.exe",
"LLVM-5.0.1-win64.exe",
"cfe-5.0.1.src.tar.xz",
"clang+llvm-5.0.1-aarch64-linux-gnu.tar.xz",
"clang+llvm-5.0.1-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-5.0.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-5.0.1-i386-unknown-freebsd10.tar.xz",
"clang+llvm-5.0.1-i686-linux-gnu-Fedora-27.tar.xz",
"clang+llvm-5.0.1-linux-x86_64-sles11.3.tar.xz",
"clang+llvm-5.0.1-linux-x86_64-sles12.2.tar.xz",
"clang+llvm-5.0.1-mips-linux-gnu.tar.xz",
"clang+llvm-5.0.1-mipsel-linux-gnu.tar.xz",
"clang+llvm-5.0.1-ppc64-linux-gnu-Fedora-27.tar.xz",
"clang+llvm-5.0.1-ppc64le-linux-gnu-Fedora-27.tar.xz",
"clang+llvm-5.0.1-x86_64-apple-darwin.tar.xz",
"clang+llvm-5.0.1-x86_64-linux-gnu-Fedora27.tar.xz",
"clang+llvm-5.0.1-x86_64-linux-gnu-debian8.tar.xz",
"clang+llvm-5.0.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-5.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz", "clang+llvm-5.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang-tools-extra-5.0.1.src.tar.xz", "clang+llvm-5.0.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"compiler-rt-5.0.1.src.tar.xz", "clang+llvm-5.0.1-x86_64-linux-gnu-debian8.tar.xz",
"libcxx-5.0.1.src.tar.xz", "clang+llvm-5.0.1-x86_64-linux-gnu-Fedora27.tar.xz",
"libcxxabi-5.0.1.src.tar.xz", "clang+llvm-5.0.1-x86_64-apple-darwin.tar.xz",
"libunwind-5.0.1.src.tar.xz", "clang+llvm-5.0.1-ppc64le-linux-gnu-Fedora-27.tar.xz",
"lld-5.0.1.src.tar.xz", "clang+llvm-5.0.1-ppc64-linux-gnu-Fedora-27.tar.xz",
"lldb-5.0.1.src.tar.xz", "clang+llvm-5.0.1-mipsel-linux-gnu.tar.xz",
"llvm-5.0.1.src.tar.xz", "clang+llvm-5.0.1-mips-linux-gnu.tar.xz",
"openmp-5.0.1.src.tar.xz", "clang+llvm-5.0.1-linux-x86_64-sles12.2.tar.xz",
"polly-5.0.1.src.tar.xz", "clang+llvm-5.0.1-linux-x86_64-sles11.3.tar.xz",
"test-suite-5.0.1.src.tar.xz" "clang+llvm-5.0.1-i686-linux-gnu-Fedora-27.tar.xz",
"clang+llvm-5.0.1-i386-unknown-freebsd10.tar.xz",
"clang+llvm-5.0.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-5.0.1-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-5.0.1-aarch64-linux-gnu.tar.xz",
"LLVM-5.0.1-win64.exe",
"LLVM-5.0.1-win32.exe"
], ],
"5.0.0": [ "5.0.0": [
"LLVM-5.0.0-win32.exe",
"LLVM-5.0.0-win64.exe",
"cfe-5.0.0.src.tar.xz",
"clang+llvm-5.0.0-aarch64-linux-gnu.tar.xz",
"clang+llvm-5.0.0-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-5.0.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-5.0.0-i386-unknown-freebsd10.tar.xz",
"clang+llvm-5.0.0-linux-x86_64-sles11.3.tar.xz",
"clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz",
"clang+llvm-5.0.0-linux-x86_64-ubuntu16.04.tar.xz",
"clang+llvm-5.0.0-mips-linux-gnu.tar.xz",
"clang+llvm-5.0.0-mipsel-linux-gnu.tar.xz",
"clang+llvm-5.0.0-x86_64-apple-darwin.tar.xz",
"clang+llvm-5.0.0-x86_64-linux-gnu-debian8.tar.xz", "clang+llvm-5.0.0-x86_64-linux-gnu-debian8.tar.xz",
"clang-tools-extra-5.0.0.src.tar.xz", "clang+llvm-5.0.0-x86_64-apple-darwin.tar.xz",
"clang-tools-extra_doxygen-5.0.0.tar.xz", "clang+llvm-5.0.0-mipsel-linux-gnu.tar.xz",
"clang_doxygen-5.0.0.tar.xz", "clang+llvm-5.0.0-mips-linux-gnu.tar.xz",
"compiler-rt-5.0.0.src.tar.xz", "clang+llvm-5.0.0-linux-x86_64-ubuntu16.04.tar.xz",
"libcxx-5.0.0.src.tar.xz", "clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz",
"libcxxabi-5.0.0.src.tar.xz", "clang+llvm-5.0.0-linux-x86_64-sles11.3.tar.xz",
"libunwind-5.0.0.src.tar.xz", "clang+llvm-5.0.0-i386-unknown-freebsd10.tar.xz",
"lld-5.0.0.src.tar.xz", "clang+llvm-5.0.0-armv7a-linux-gnueabihf.tar.xz",
"lldb-5.0.0.src.tar.xz", "clang+llvm-5.0.0-amd64-unknown-freebsd10.tar.xz",
"llvm-5.0.0.src.tar.xz", "clang+llvm-5.0.0-aarch64-linux-gnu.tar.xz",
"llvm_doxygen-5.0.0.tar.xz", "LLVM-5.0.0-win64.exe",
"openmp-5.0.0.src.tar.xz", "LLVM-5.0.0-win32.exe"
"polly-5.0.0.src.tar.xz",
"test-suite-5.0.0.src.tar.xz"
], ],
"4.0.1": [ "4.0.1": [
"LLVM-4.0.1-win32.exe",
"LLVM-4.0.1-win64.exe",
"cfe-4.0.1.src.tar.xz",
"clang+llvm-4.0.1-aarch64-linux-gnu.tar.xz",
"clang+llvm-4.0.1-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-4.0.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-4.0.1-i386-unknown-freebsd10.tar.xz",
"clang+llvm-4.0.1-linux-x86_64-sles11.3.tar.xz",
"clang+llvm-4.0.1-mips-linux-gnu.tar.xz",
"clang+llvm-4.0.1-mipsel-linux-gnu.tar.xz",
"clang+llvm-4.0.1-ppc64-linux-gnu-Fedora-25.tar.xz",
"clang+llvm-4.0.1-ppc64le-linux-gnu-Fedora-25.tar.xz",
"clang+llvm-4.0.1-x86_64-apple-darwin.tar.xz",
"clang+llvm-4.0.1-x86_64-linux-gnu-Fedora-25.tar.xz",
"clang+llvm-4.0.1-x86_64-linux-gnu-debian8.tar.xz", "clang+llvm-4.0.1-x86_64-linux-gnu-debian8.tar.xz",
"clang-tools-extra-4.0.1.src.tar.xz", "clang+llvm-4.0.1-x86_64-linux-gnu-Fedora-25.tar.xz",
"compiler-rt-4.0.1.src.tar.xz", "clang+llvm-4.0.1-x86_64-apple-darwin.tar.xz",
"libcxx-4.0.1.src.tar.xz", "clang+llvm-4.0.1-ppc64le-linux-gnu-Fedora-25.tar.xz",
"libcxxabi-4.0.1.src.tar.xz", "clang+llvm-4.0.1-ppc64-linux-gnu-Fedora-25.tar.xz",
"libunwind-4.0.1.src.tar.xz", "clang+llvm-4.0.1-mipsel-linux-gnu.tar.xz",
"lld-4.0.1.src.tar.xz", "clang+llvm-4.0.1-mips-linux-gnu.tar.xz",
"lldb-4.0.1.src.tar.xz", "clang+llvm-4.0.1-linux-x86_64-sles11.3.tar.xz",
"llvm-4.0.1.src.tar.xz", "clang+llvm-4.0.1-i386-unknown-freebsd10.tar.xz",
"openmp-4.0.1.src.tar.xz", "clang+llvm-4.0.1-armv7a-linux-gnueabihf.tar.xz",
"polly-4.0.1.src.tar.xz", "clang+llvm-4.0.1-amd64-unknown-freebsd10.tar.xz",
"test-suite-4.0.1.src.tar.xz" "clang+llvm-4.0.1-aarch64-linux-gnu.tar.xz",
"LLVM-4.0.1-win64.exe",
"LLVM-4.0.1-win32.exe"
],
"4.0.0": [
"clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-16.10.tar.xz",
"clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-4.0.0-x86_64-linux-gnu-debian8.tar.xz",
"clang+llvm-4.0.0-x86_64-apple-darwin.tar.xz",
"clang+llvm-4.0.0-mipsel-linux-gnu.tar.xz",
"clang+llvm-4.0.0-mips-linux-gnu.tar.xz",
"clang+llvm-4.0.0-i386-unknown-freebsd10.tar.xz",
"clang+llvm-4.0.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-4.0.0-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-4.0.0-aarch64-linux-gnu.tar.xz",
"LLVM-4.0.0-win64.exe",
"LLVM-4.0.0-win32.exe"
], ],
"3.9.1": [ "3.9.1": [
"LLVM-3.9.1-win32.exe",
"LLVM-3.9.1-win64.exe",
"cfe-3.9.1.src.tar.xz",
"clang+llvm-3.9.1-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.9.1-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.9.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.9.1-i386-unknown-freebsd10.tar.xz",
"clang+llvm-3.9.1-mips-linux-gnu.tar.xz",
"clang+llvm-3.9.1-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.9.1-x86_64-linux-gnu-debian8.tar.xz",
"clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz", "clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang-tools-extra-3.9.1.src.tar.xz", "clang+llvm-3.9.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"compiler-rt-3.9.1.src.tar.xz", "clang+llvm-3.9.1-x86_64-linux-gnu-debian8.tar.xz",
"libcxx-3.9.1.src.tar.xz", "clang+llvm-3.9.1-mipsel-linux-gnu.tar.xz",
"libcxxabi-3.9.1.src.tar.xz", "clang+llvm-3.9.1-mips-linux-gnu.tar.xz",
"libunwind-3.9.1.src.tar.xz", "clang+llvm-3.9.1-i386-unknown-freebsd10.tar.xz",
"lld-3.9.1.src.tar.xz", "clang+llvm-3.9.1-armv7a-linux-gnueabihf.tar.xz",
"lldb-3.9.1.src.tar.xz", "clang+llvm-3.9.1-amd64-unknown-freebsd10.tar.xz",
"llvm-3.9.1.src.tar.xz", "clang+llvm-3.9.1-aarch64-linux-gnu.tar.xz",
"openmp-3.9.1.src.tar.xz", "LLVM-3.9.1-win64.exe",
"polly-3.9.1.src.tar.xz", "LLVM-3.9.1-win32.exe"
"test-suite-3.9.1.src.tar.xz"
], ],
"3.9.0": [ "3.9.0": [
"LLVM-3.9.0-win32.exe",
"LLVM-3.9.0-win64.exe",
"cfe-3.9.0.src.tar.xz",
"clang+llvm-3.9.0-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.9.0-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.9.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.9.0-i386-unknown-freebsd10.tar.xz",
"clang+llvm-3.9.0-i586-opensuse13.2.tar.xz",
"clang+llvm-3.9.0-i686-fedora23.tar.xz",
"clang+llvm-3.9.0-mips-linux-gnu.tar.xz",
"clang+llvm-3.9.0-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.9.0-x86_64-apple-darwin.tar.xz",
"clang+llvm-3.9.0-x86_64-fedora23.tar.xz",
"clang+llvm-3.9.0-x86_64-linux-gnu-debian8.tar.xz",
"clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-3.9.0-x86_64-opensuse13.2.tar.xz", "clang+llvm-3.9.0-x86_64-opensuse13.2.tar.xz",
"clang-tools-extra-3.9.0.src.tar.xz", "clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang-tools-extra_doxygen-3.9.0.tar.xz", "clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang_doxygen-3.9.0.tar.xz", "clang+llvm-3.9.0-x86_64-linux-gnu-debian8.tar.xz",
"compiler-rt-3.9.0.src.tar.xz", "clang+llvm-3.9.0-x86_64-fedora23.tar.xz",
"libcxx-3.9.0.src.tar.xz", "clang+llvm-3.9.0-x86_64-apple-darwin.tar.xz",
"libcxxabi-3.9.0.src.tar.xz", "clang+llvm-3.9.0-mipsel-linux-gnu.tar.xz",
"libunwind-3.9.0.src.tar.xz", "clang+llvm-3.9.0-mips-linux-gnu.tar.xz",
"lld-3.9.0.src.tar.xz", "clang+llvm-3.9.0-i686-fedora23.tar.xz",
"lldb-3.9.0.src.tar.xz", "clang+llvm-3.9.0-i586-opensuse13.2.tar.xz",
"llvm-3.9.0.src.tar.xz", "clang+llvm-3.9.0-i386-unknown-freebsd10.tar.xz",
"llvm_doxygen-3.9.0.tar.xz", "clang+llvm-3.9.0-armv7a-linux-gnueabihf.tar.xz",
"openmp-3.9.0.src.tar.xz", "clang+llvm-3.9.0-amd64-unknown-freebsd10.tar.xz",
"polly-3.9.0.src.tar.xz", "clang+llvm-3.9.0-aarch64-linux-gnu.tar.xz",
"test-suite-3.9.0.src.tar.xz" "LLVM-3.9.0-win64.exe",
"LLVM-3.9.0-win32.exe"
], ],
"3.8.1": [ "3.8.1": [
"LLVM-3.8.1-win32.exe",
"LLVM-3.8.1-win64.exe",
"cfe-3.8.1.src.tar.xz",
"clang+llvm-3.8.1-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.8.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.8.1-i586-opensuse13.2.tar.xz",
"clang+llvm-3.8.1-i686-fedora23.tar.xz",
"clang+llvm-3.8.1-linux-armhf-vivid.tar.xz",
"clang+llvm-3.8.1-linux-x86_64-sles11.3.tar.xz",
"clang+llvm-3.8.1-mips-linux-gnu.tar.xz",
"clang+llvm-3.8.1-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.8.1-x86_64-fedora22.tar.xz",
"clang+llvm-3.8.1-x86_64-linux-gnu-debian8.tar.xz",
"clang+llvm-3.8.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-3.8.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-3.8.1-x86_64-opensuse13.2.tar.xz", "clang+llvm-3.8.1-x86_64-opensuse13.2.tar.xz",
"clang-tools-extra-3.8.1.src.tar.xz", "clang+llvm-3.8.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"compiler-rt-3.8.1.src.tar.xz", "clang+llvm-3.8.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"libcxx-3.8.1.src.tar.xz", "clang+llvm-3.8.1-x86_64-linux-gnu-debian8.tar.xz",
"libcxxabi-3.8.1.src.tar.xz", "clang+llvm-3.8.1-x86_64-fedora22.tar.xz",
"libunwind-3.8.1.src.tar.xz", "clang+llvm-3.8.1-mipsel-linux-gnu.tar.xz",
"lld-3.8.1.src.tar.xz", "clang+llvm-3.8.1-mips-linux-gnu.tar.xz",
"lldb-3.8.1.src.tar.xz", "clang+llvm-3.8.1-linux-x86_64-sles11.3.tar.xz",
"llvm-3.8.1.src.tar.xz", "clang+llvm-3.8.1-linux-armhf-vivid.tar.xz",
"openmp-3.8.1.src.tar.xz", "clang+llvm-3.8.1-i686-fedora23.tar.xz",
"polly-3.8.1.src.tar.xz", "clang+llvm-3.8.1-i586-opensuse13.2.tar.xz",
"test-suite-3.8.1.src.tar.xz" "clang+llvm-3.8.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.8.1-aarch64-linux-gnu.tar.xz",
"LLVM-3.8.1-win64.exe",
"LLVM-3.8.1-win32.exe"
], ],
"3.8.0": [ "3.8.0": [
"LLVM-3.8.0-win32.exe",
"LLVM-3.8.0-win64.exe",
"cfe-3.8.0.src.tar.xz",
"clang+llvm-3.8.0-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.8.0-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.8.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.8.0-i386-unknown-freebsd10.tar.xz",
"clang+llvm-3.8.0-i586-opensuse13.2.tar.xz",
"clang+llvm-3.8.0-i686-fedora23.tar.xz",
"clang+llvm-3.8.0-linux-armhf-vivid.tar.xz",
"clang+llvm-3.8.0-linux-x86_64-centos6.tar.xz",
"clang+llvm-3.8.0-mips-linux-gnu.tar.xz",
"clang+llvm-3.8.0-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.8.0-x86_64-apple-darwin.tar.xz",
"clang+llvm-3.8.0-x86_64-fedora23.tar.xz",
"clang+llvm-3.8.0-x86_64-linux-gnu-debian8.tar.xz",
"clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-15.10.tar.xz",
"clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang+llvm-3.8.0-x86_64-opensuse13.2.tar.xz",
"clang+llvm-3.8.0-x86_64-sles11.3-linux-gnu.tar.xz", "clang+llvm-3.8.0-x86_64-sles11.3-linux-gnu.tar.xz",
"clang-tools-extra-3.8.0.src.tar.xz", "clang+llvm-3.8.0-x86_64-opensuse13.2.tar.xz",
"clang-tools-extra_doxygen-3.8.0.tar.xz", "clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
"clang_doxygen-3.8.0.tar.xz", "clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-15.10.tar.xz",
"compiler-rt-3.8.0.src.tar.xz", "clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"libcxx-3.8.0.src.tar.xz", "clang+llvm-3.8.0-x86_64-linux-gnu-debian8.tar.xz",
"libcxxabi-3.8.0.src.tar.xz", "clang+llvm-3.8.0-x86_64-fedora23.tar.xz",
"libunwind-3.8.0.src.tar.xz", "clang+llvm-3.8.0-x86_64-apple-darwin.tar.xz",
"lld-3.8.0.src.tar.xz", "clang+llvm-3.8.0-mipsel-linux-gnu.tar.xz",
"lldb-3.8.0.src.tar.xz", "clang+llvm-3.8.0-mips-linux-gnu.tar.xz",
"llvm-3.8.0.src.tar.xz", "clang+llvm-3.8.0-linux-x86_64-centos6.tar.xz",
"llvm_doxygen-3.8.0.tar.xz", "clang+llvm-3.8.0-linux-armhf-vivid.tar.xz",
"openmp-3.8.0.src.tar.xz", "clang+llvm-3.8.0-i686-fedora23.tar.xz",
"polly-3.8.0.src.tar.xz", "clang+llvm-3.8.0-i586-opensuse13.2.tar.xz",
"test-suite-3.8.0.src.tar.xz" "clang+llvm-3.8.0-i386-unknown-freebsd10.tar.xz",
"clang+llvm-3.8.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.8.0-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.8.0-aarch64-linux-gnu.tar.xz",
"LLVM-3.8.0-win64.exe",
"LLVM-3.8.0-win32.exe"
], ],
"3.7.1": [ "3.7.1": [
"LLVM-3.7.1-win32.exe",
"LLVM-3.7.1-win64.exe",
"cfe-3.7.1.src.tar.xz",
"clang+llvm-3.7.1-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.7.1-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.7.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.7.1-i386-unknown-freebsd10.tar.xz",
"clang+llvm-3.7.1-i586-opensuse13.2.tar.xz",
"clang+llvm-3.7.1-i686-fedora22.tar.xz",
"clang+llvm-3.7.1-mips-linux-gnu.tar.xz",
"clang+llvm-3.7.1-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.7.1-x86_64-fedora22.tar.xz",
"clang+llvm-3.7.1-x86_64-linux-gnu-debian8.tar.xz",
"clang+llvm-3.7.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-3.7.1-x86_64-linux-gnu-ubuntu-15.10.tar.xz",
"clang+llvm-3.7.1-x86_64-opensuse13.2.tar.xz", "clang+llvm-3.7.1-x86_64-opensuse13.2.tar.xz",
"clang-tools-extra-3.7.1.src.tar.xz", "clang+llvm-3.7.1-x86_64-linux-gnu-ubuntu-15.10.tar.xz",
"compiler-rt-3.7.1.src.tar.xz", "clang+llvm-3.7.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"libcxx-3.7.1.src.tar.xz", "clang+llvm-3.7.1-x86_64-linux-gnu-debian8.tar.xz",
"libcxxabi-3.7.1.src.tar.xz", "clang+llvm-3.7.1-x86_64-fedora22.tar.xz",
"libunwind-3.7.1.src.tar.xz", "clang+llvm-3.7.1-mipsel-linux-gnu.tar.xz",
"lld-3.7.1.src.tar.xz", "clang+llvm-3.7.1-mips-linux-gnu.tar.xz",
"lldb-3.7.1.src.tar.xz", "clang+llvm-3.7.1-i686-fedora22.tar.xz",
"llvm-3.7.1.src.tar.xz", "clang+llvm-3.7.1-i586-opensuse13.2.tar.xz",
"openmp-3.7.1.src.tar.xz", "clang+llvm-3.7.1-i386-unknown-freebsd10.tar.xz",
"polly-3.7.1.src.tar.xz", "clang+llvm-3.7.1-armv7a-linux-gnueabihf.tar.xz",
"test-suite-3.7.1.src.tar.xz" "clang+llvm-3.7.1-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.7.1-aarch64-linux-gnu.tar.xz",
"LLVM-3.7.1-win64.exe",
"LLVM-3.7.1-win32.exe"
], ],
"3.7.0": [ "3.7.0": [
"LLVM-3.7.0-win32.exe",
"LLVM-3.7.0-win64.exe",
"OpenMP-3.7.0-x86_64-apple-darwin14.4.0.tar.xz",
"OpenMP-3.7.0-x86_64-unknown-linux-gnu.tar.xz",
"cfe-3.7.0.src.tar.xz",
"clang+llvm-3.7.0-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.7.0-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.7.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.7.0-i386-unknown-freebsd10.tar.xz",
"clang+llvm-3.7.0-i586-opensuse13.2.tar.xz",
"clang+llvm-3.7.0-i686-fedora22.tar.xz",
"clang+llvm-3.7.0-mips-linux-gnu.tar.xz",
"clang+llvm-3.7.0-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.7.0-x86_64-apple-darwin.tar.xz",
"clang+llvm-3.7.0-x86_64-fedora22.tar.xz",
"clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-3.7.0-x86_64-opensuse13.2.tar.xz", "clang+llvm-3.7.0-x86_64-opensuse13.2.tar.xz",
"clang-tools-extra-3.7.0.src.tar.xz", "clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang_doxygen-3.7.0.tar.xz", "clang+llvm-3.7.0-x86_64-fedora22.tar.xz",
"compiler-rt-3.7.0.src.tar.xz", "clang+llvm-3.7.0-x86_64-apple-darwin.tar.xz",
"libcxx-3.7.0.src.tar.xz", "clang+llvm-3.7.0-mipsel-linux-gnu.tar.xz",
"libcxxabi-3.7.0.src.tar.xz", "clang+llvm-3.7.0-mips-linux-gnu.tar.xz",
"libunwind-3.7.0.src.tar.xz", "clang+llvm-3.7.0-i686-fedora22.tar.xz",
"lld-3.7.0.src.tar.xz", "clang+llvm-3.7.0-i586-opensuse13.2.tar.xz",
"lldb-3.7.0.src.tar.xz", "clang+llvm-3.7.0-i386-unknown-freebsd10.tar.xz",
"llvm-3.7.0.src.tar.xz", "clang+llvm-3.7.0-armv7a-linux-gnueabihf.tar.xz",
"llvm_doxygen-3.7.0.tar.xz", "clang+llvm-3.7.0-amd64-unknown-freebsd10.tar.xz",
"openmp-3.7.0.src.tar.xz", "clang+llvm-3.7.0-aarch64-linux-gnu.tar.xz",
"polly-3.7.0.src.tar.xz", "LLVM-3.7.0-win64.exe",
"test-suite-3.7.0.src.tar.xz" "LLVM-3.7.0-win32.exe"
], ],
"3.6.2": [ "3.6.2": [
"LLVM-3.6.2-win32.exe",
"cfe-3.6.2.src.tar.xz",
"clang+llvm-3.6.2-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.6.2-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.6.2-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.6.2-i386-fedora21.tar.xz",
"clang+llvm-3.6.2-i386-unknown-freebsd10.tar.xz",
"clang+llvm-3.6.2-i586-opensuse13.2.tar.xz",
"clang+llvm-3.6.2-mips-linux-gnu.tar.xz",
"clang+llvm-3.6.2-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.6.2-x86_64-apple-darwin.tar.xz",
"clang+llvm-3.6.2-x86_64-fedora21.tar.xz",
"clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-15.04.tar.xz",
"clang+llvm-3.6.2-x86_64-opensuse13.2.tar.xz", "clang+llvm-3.6.2-x86_64-opensuse13.2.tar.xz",
"clang-tools-extra-3.6.2.src.tar.xz", "clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-15.04.tar.xz",
"compiler-rt-3.6.2.src.tar.xz", "clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"dragonegg-3.6.2.src.tar.xz", "clang+llvm-3.6.2-x86_64-fedora21.tar.xz",
"libcxx-3.6.2.src.tar.xz", "clang+llvm-3.6.2-x86_64-apple-darwin.tar.xz",
"libcxxabi-3.6.2.src.tar.xz", "clang+llvm-3.6.2-mipsel-linux-gnu.tar.xz",
"lld-3.6.2.src.tar.xz", "clang+llvm-3.6.2-mips-linux-gnu.tar.xz",
"lldb-3.6.2.src.tar.xz", "clang+llvm-3.6.2-i586-opensuse13.2.tar.xz",
"llvm-3.6.2.src.tar.xz", "clang+llvm-3.6.2-i386-unknown-freebsd10.tar.xz",
"openmp-3.6.2.src.tar.xz", "clang+llvm-3.6.2-i386-fedora21.tar.xz",
"polly-3.6.2.src.tar.xz", "clang+llvm-3.6.2-armv7a-linux-gnueabihf.tar.xz",
"test-suite-3.6.2.src.tar.xz" "clang+llvm-3.6.2-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.6.2-aarch64-linux-gnu.tar.xz",
"LLVM-3.6.2-win32.exe"
], ],
"3.6.1": [ "3.6.1": [
"LLVM-3.6.1-win32.exe",
"cfe-3.6.1.src.tar.xz",
"clang+llvm-3.6.1-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.6.1-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.6.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.6.1-i386-fedora21.tar.xz",
"clang+llvm-3.6.1-i386-unknown-freebsd10.tar.xz",
"clang+llvm-3.6.1-i586-opensuse13.2.tar.xz",
"clang+llvm-3.6.1-mips-linux-gnu.tar.xz",
"clang+llvm-3.6.1-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.6.1-x86_64-apple-darwin.tar.xz",
"clang+llvm-3.6.1-x86_64-fedora21.tar.xz",
"clang+llvm-3.6.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-3.6.1-x86_64-linux-gnu-ubuntu-15.04.tar.xz",
"clang+llvm-3.6.1-x86_64-opensuse13.2.tar.xz", "clang+llvm-3.6.1-x86_64-opensuse13.2.tar.xz",
"clang-tools-extra-3.6.1.src.tar.xz", "clang+llvm-3.6.1-x86_64-linux-gnu-ubuntu-15.04.tar.xz",
"compiler-rt-3.6.1.src.tar.xz", "clang+llvm-3.6.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"dragonegg-3.6.1.src.tar.xz", "clang+llvm-3.6.1-x86_64-fedora21.tar.xz",
"libcxx-3.6.1.src.tar.xz", "clang+llvm-3.6.1-x86_64-apple-darwin.tar.xz",
"libcxxabi-3.6.1.src.tar.xz", "clang+llvm-3.6.1-mipsel-linux-gnu.tar.xz",
"lld-3.6.1.src.tar.xz", "clang+llvm-3.6.1-mips-linux-gnu.tar.xz",
"lldb-3.6.1.src.tar.xz", "clang+llvm-3.6.1-i586-opensuse13.2.tar.xz",
"llvm-3.6.1.src.tar.xz", "clang+llvm-3.6.1-i386-unknown-freebsd10.tar.xz",
"openmp-3.6.1.src.tar.xz", "clang+llvm-3.6.1-i386-fedora21.tar.xz",
"polly-3.6.1.src.tar.xz", "clang+llvm-3.6.1-armv7a-linux-gnueabihf.tar.xz",
"test-suite-3.6.1.src.tar.xz" "clang+llvm-3.6.1-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.6.1-aarch64-linux-gnu.tar.xz",
"LLVM-3.6.1-win32.exe"
], ],
"3.6.0": [ "3.6.0": [
"LLVM-3.6.0-win32.exe",
"cfe-3.6.0.src.tar.xz",
"clang+llvm-3.6.0-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.6.0-amd64-unknown-freebsd10.tar.xz",
"clang+llvm-3.6.0-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.6.0-i386-unknown-freebsd10.tar.xz",
"clang+llvm-3.6.0-i586-opensuse13.2.tar.xz",
"clang+llvm-3.6.0-i686-fedora21.tar.xz",
"clang+llvm-3.6.0-mips-linux-gnu.tar.xz",
"clang+llvm-3.6.0-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.6.0-x86_64-apple-darwin.tar.xz",
"clang+llvm-3.6.0-x86_64-fedora21.tar.xz",
"clang+llvm-3.6.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang+llvm-3.6.0-x86_64-opensuse13.2.tar.xz", "clang+llvm-3.6.0-x86_64-opensuse13.2.tar.xz",
"clang-tools-extra-3.6.0.src.tar.xz", "clang+llvm-3.6.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"compiler-rt-3.6.0.src.tar.xz", "clang+llvm-3.6.0-x86_64-fedora21.tar.xz",
"dragonegg-3.6.0.src.tar.xz", "clang+llvm-3.6.0-x86_64-apple-darwin.tar.xz",
"libcxx-3.6.0.src.tar.xz", "clang+llvm-3.6.0-mipsel-linux-gnu.tar.xz",
"libcxxabi-3.6.0.src.tar.xz", "clang+llvm-3.6.0-mips-linux-gnu.tar.xz",
"lld-3.6.0.src.tar.xz", "clang+llvm-3.6.0-i686-fedora21.tar.xz",
"lldb-3.6.0.src.tar.xz", "clang+llvm-3.6.0-i586-opensuse13.2.tar.xz",
"llvm-3.6.0.src.tar.xz", "clang+llvm-3.6.0-i386-unknown-freebsd10.tar.xz",
"openmp-3.6.0.src.tar.xz", "clang+llvm-3.6.0-armv7a-linux-gnueabihf.tar.xz",
"polly-3.6.0.src.tar.xz", "clang+llvm-3.6.0-amd64-unknown-freebsd10.tar.xz",
"test-suite-3.6.0.src.tar.xz" "clang+llvm-3.6.0-aarch64-linux-gnu.tar.xz",
"LLVM-3.6.0-win32.exe"
], ],
"3.5.2": [ "3.5.2": [
"LLVM-3.5.2-win32.exe",
"cfe-3.5.2.src.tar.xz",
"clang+llvm-3.5.2-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.5.2-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.5.2-mips-linux-gnu.tar.xz",
"clang+llvm-3.5.2-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.5.2-x86_64-apple-darwin.tar.xz",
"clang+llvm-3.5.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz", "clang+llvm-3.5.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
"clang-tools-extra-3.5.2.src.tar.xz", "clang+llvm-3.5.2-x86_64-apple-darwin.tar.xz",
"compiler-rt-3.5.2.src.tar.xz", "clang+llvm-3.5.2-mipsel-linux-gnu.tar.xz",
"dragonegg-3.5.2.src.tar.xz", "clang+llvm-3.5.2-mips-linux-gnu.tar.xz",
"libcxx-3.5.2.src.tar.xz", "clang+llvm-3.5.2-armv7a-linux-gnueabihf.tar.xz",
"libcxxabi-3.5.2.src.tar.xz", "clang+llvm-3.5.2-aarch64-linux-gnu.tar.xz",
"lld-3.5.2.src.tar.xz", "LLVM-3.5.2-win32.exe"
"lldb-3.5.2.src.tar.xz",
"llvm-3.5.2.src.tar.xz",
"openmp-3.5.2.src.tar.xz",
"polly-3.5.2.src.tar.xz",
"test-suite-3.5.2.src.tar.xz"
], ],
"3.5.1": [ "3.5.1": [
"cfe-3.5.1.src.tar.xz",
"clang+llvm-3.5.1-aarch64-linux-gnu.tar.xz",
"clang+llvm-3.5.1-armv7a-linux-gnueabihf.tar.xz",
"clang+llvm-3.5.1-i586-opensuse13.1.tar.xz",
"clang+llvm-3.5.1-i686-fedora20.tar.xz",
"clang+llvm-3.5.1-mips-linux-gnu.tar.xz",
"clang+llvm-3.5.1-mipsel-linux-gnu.tar.xz",
"clang+llvm-3.5.1-x86_64-fedora20.tar.xz",
"clang+llvm-3.5.1-x86_64-linux-gnu.tar.xz",
"clang+llvm-3.5.1-x86_64-opensuse13.1.tar.xz", "clang+llvm-3.5.1-x86_64-opensuse13.1.tar.xz",
"clang-tools-extra-3.5.1.src.tar.xz", "clang+llvm-3.5.1-x86_64-linux-gnu.tar.xz",
"compiler-rt-3.5.1.src.tar.xz", "clang+llvm-3.5.1-x86_64-fedora20.tar.xz",
"dragonegg-3.5.1.src.tar.xz", "clang+llvm-3.5.1-mipsel-linux-gnu.tar.xz",
"libcxx-3.5.1.src.tar.xz", "clang+llvm-3.5.1-mips-linux-gnu.tar.xz",
"libcxxabi-3.5.1.src.tar.xz", "clang+llvm-3.5.1-i686-fedora20.tar.xz",
"lld-3.5.1.src.tar.xz", "clang+llvm-3.5.1-i586-opensuse13.1.tar.xz",
"lldb-3.5.1.src.tar.xz", "clang+llvm-3.5.1-armv7a-linux-gnueabihf.tar.xz",
"llvm-3.5.1.src.tar.xz", "clang+llvm-3.5.1-aarch64-linux-gnu.tar.xz"
"openmp-3.5.1.src.tar.xz",
"polly-3.5.1.src.tar.xz",
"test-suite-3.5.1.src.tar.xz"
] ]
} }

View File

@ -49,9 +49,6 @@ export async function getLLVMAssetURL(platform: string, arch: string, version: s
filterMapTag(tag) { filterMapTag(tag) {
return tag.replace(/^llvmorg-/, "") return tag.replace(/^llvmorg-/, "")
}, },
filterName(name) {
return name.startsWith("LLVM-") || name.startsWith("clang+llvm-")
},
}, },
) )
@ -88,6 +85,7 @@ async function getAssetKeywords(platform: string, arch: string) {
case "win32": { case "win32": {
if (x86_64.includes(arch)) { if (x86_64.includes(arch)) {
keywords.push("win64") keywords.push("win64")
// TODO fallback to win32 if win64 is not available (e.g. for LLVM 3.6.2 and older)
} else if (x86.includes(arch)) { } else if (x86.includes(arch)) {
keywords.push("win32") keywords.push("win32")
} else if (arm64.includes(arch)) { } else if (arm64.includes(arch)) {

View File

@ -47,16 +47,19 @@ async function fetchGitHubAssetList(
continue continue
} }
if (!(release.tag_name in assets)) { const versionAssets: string[] = []
assets[release.tag_name] = []
} // const assets_ref = assets[release.tag_name]!
const assets_ref = assets[release.tag_name]!
for (const asset of release.assets) { for (const asset of release.assets) {
if (filterAssets !== undefined && !filterAssets(asset.name)) { if (filterAssets !== undefined && !filterAssets(asset.name)) {
continue continue
} }
assets_ref.push(asset.name) versionAssets.push(asset.name)
}
if (versionAssets.length !== 0) {
assets[release.tag_name] = versionAssets.sort().reverse()
} }
} }
} catch (err) { } catch (err) {

View File

@ -1,3 +1,5 @@
import { existsSync } from "fs"
import { join } from "path"
import { mkdir, readFile, readdir, writeFile } from "fs/promises" import { mkdir, readFile, readdir, writeFile } from "fs/promises"
import { DownloaderHelper } from "node-downloader-helper" import { DownloaderHelper } from "node-downloader-helper"
import JsonStringify from "safe-stable-stringify" import JsonStringify from "safe-stable-stringify"
@ -58,6 +60,10 @@ async function fetchIndexFiles(opts: Options) {
async function fetchIndexFile(version: string, url: string, htmlDownloadDir: string) { async function fetchIndexFile(version: string, url: string, htmlDownloadDir: string) {
try { try {
if (existsSync(join(htmlDownloadDir, version))) {
return
}
const dl = new DownloaderHelper( const dl = new DownloaderHelper(
url, url,
htmlDownloadDir, htmlDownloadDir,
@ -66,10 +72,7 @@ async function fetchIndexFile(version: string, url: string, htmlDownloadDir: str
override: { override: {
skip: true, skip: true,
}, },
retry: { timeout: 500,
delay: 100,
maxRetries: 3,
},
}, },
) )
dl.on("start", () => { dl.on("start", () => {
@ -92,9 +95,8 @@ async function extractAssetsFromHTML(opts: Options) {
const indexFiles = await readdir(opts.htmlDownloadDir) const indexFiles = await readdir(opts.htmlDownloadDir)
await Promise.all(indexFiles.map(async (indexFile) => { await Promise.all(indexFiles.map(async (indexFile) => {
const version = indexFile.replace(".html", "") const version = indexFile.replace(".html", "")
if (!(version in assets)) {
assets[version] = [] const versionAssets: string[] = []
}
// read the html file // read the html file
const body = await readFile(`${opts.htmlDownloadDir}/${indexFile}`, "utf8") const body = await readFile(`${opts.htmlDownloadDir}/${indexFile}`, "utf8")
@ -109,12 +111,12 @@ async function extractAssetsFromHTML(opts: Options) {
continue continue
} }
assets[version].push(asset.replace("%2B", "+")) versionAssets.push(asset.replace("%2B", "+"))
} }
if (assets[version].length === 0) { if (versionAssets.length !== 0) {
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete // sort the names and update the assets
delete assets[version] assets[version] = versionAssets.sort().reverse()
} }
})) }))