mirror of https://github.com/aminya/setup-cpp
fix: filter/sort the LLVM asset names
This commit is contained in:
parent
bc81ce31a4
commit
0379559965
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
|
@ -24,7 +24,7 @@ describe("setup-llvm", () => {
|
|||
expect(
|
||||
await getLLVMAssetURL("linux", "x86_64", "13.0.0"),
|
||||
).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(
|
||||
await getLLVMAssetURL("linux", "x86_64", "13.0.1"),
|
||||
|
|
|
@ -32,10 +32,15 @@ async function main() {
|
|||
}
|
||||
|
||||
function isAssetArchive(asset: string): boolean {
|
||||
return asset.endsWith("tar.xz")
|
||||
|| asset.endsWith("zip")
|
||||
|| asset.endsWith("exe")
|
||||
|| asset.endsWith("tar.gz")
|
||||
// only download the LLVM and clang+llvm archives
|
||||
return (asset.startsWith("LLVM-")
|
||||
|| asset.startsWith("clang+llvm-")
|
||||
|| 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) => {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,598 +1,335 @@
|
|||
{
|
||||
"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-tools-extra-9.0.0.src.tar.xz",
|
||||
"clang-tools-extra_doxygen-9.0.0.tar.xz",
|
||||
"clang_doxygen-9.0.0.tar.xz",
|
||||
"compiler-rt-9.0.0.src.tar.xz",
|
||||
"libcxx-9.0.0.src.tar.xz",
|
||||
"libcxxabi-9.0.0.src.tar.xz",
|
||||
"libunwind-9.0.0.src.tar.xz",
|
||||
"lld-9.0.0.src.tar.xz",
|
||||
"lldb-9.0.0.src.tar.xz",
|
||||
"llvm-9.0.0.src.tar.xz",
|
||||
"llvm_doxygen-9.0.0.tar.xz",
|
||||
"openmp-9.0.0.src.tar.xz",
|
||||
"polly-9.0.0.src.tar.xz",
|
||||
"test-suite-9.0.0.src.tar.xz"
|
||||
"clang+llvm-9.0.0-x86_64-linux-sles11.3.tar.xz",
|
||||
"clang+llvm-9.0.0-x86_64-linux-gnu-ubuntu-18.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-14.04.tar.xz",
|
||||
"clang+llvm-9.0.0-x86_64-darwin-apple.tar.xz",
|
||||
"clang+llvm-9.0.0-sparcv9-sun-solaris2.11.tar.xz",
|
||||
"clang+llvm-9.0.0-powerpc64le-linux-ubuntu-16.04.tar.xz",
|
||||
"clang+llvm-9.0.0-powerpc64le-linux-rhel-7.4.tar.xz",
|
||||
"clang+llvm-9.0.0-i386-unknown-freebsd11.tar.xz",
|
||||
"clang+llvm-9.0.0-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-9.0.0-amd64-unknown-freebsd11.tar.xz",
|
||||
"clang+llvm-9.0.0-amd64-pc-solaris2.11.tar.xz",
|
||||
"clang+llvm-9.0.0-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-9.0.0-win64.exe",
|
||||
"LLVM-9.0.0-win32.exe"
|
||||
],
|
||||
"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-tools-extra-8.0.0.src.tar.xz",
|
||||
"clang-tools-extra_doxygen-8.0.0.tar.xz",
|
||||
"clang_doxygen-8.0.0.tar.xz",
|
||||
"compiler-rt-8.0.0.src.tar.xz",
|
||||
"libcxx-8.0.0.src.tar.xz",
|
||||
"libcxxabi-8.0.0.src.tar.xz",
|
||||
"libunwind-8.0.0.src.tar.xz",
|
||||
"lld-8.0.0.src.tar.xz",
|
||||
"lldb-8.0.0.src.tar.xz",
|
||||
"llvm-8.0.0.src.tar.xz",
|
||||
"llvm_doxygen-8.0.0.tar.xz",
|
||||
"openmp-8.0.0.src.tar.xz",
|
||||
"polly-8.0.0.src.tar.xz",
|
||||
"test-suite-8.0.0.src.tar.xz"
|
||||
"clang+llvm-8.0.0-x86_64-linux-gnu-ubuntu-18.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-14.04.tar.xz",
|
||||
"clang+llvm-8.0.0-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-8.0.0-powerpc64le-unknown-unknown.tar.xz",
|
||||
"clang+llvm-8.0.0-i386-unknown-freebsd11.tar.xz",
|
||||
"clang+llvm-8.0.0-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-8.0.0-amd64-unknown-freebsd11.tar.xz",
|
||||
"clang+llvm-8.0.0-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-8.0.0-win64.exe",
|
||||
"LLVM-8.0.0-win32.exe"
|
||||
],
|
||||
"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-tools-extra-7.0.1.src.tar.xz",
|
||||
"compiler-rt-7.0.1.src.tar.xz",
|
||||
"libcxx-7.0.1.src.tar.xz",
|
||||
"libcxxabi-7.0.1.src.tar.xz",
|
||||
"libunwind-7.0.1.src.tar.xz",
|
||||
"lld-7.0.1.src.tar.xz",
|
||||
"lldb-7.0.1.src.tar.xz",
|
||||
"llvm-7.0.1.src.tar.xz",
|
||||
"openmp-7.0.1.src.tar.xz",
|
||||
"polly-7.0.1.src.tar.xz",
|
||||
"test-suite-7.0.1.src.tar.xz"
|
||||
"clang+llvm-7.0.1-x86_64-linux-gnu-ubuntu-18.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-14.04.tar.xz",
|
||||
"clang+llvm-7.0.1-powerpc64le-unknown-unknown.tar.xz",
|
||||
"clang+llvm-7.0.1-i386-unknown-freebsd11.tar.xz",
|
||||
"clang+llvm-7.0.1-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-7.0.1-amd64-unknown-freebsd11.tar.xz",
|
||||
"clang+llvm-7.0.1-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-7.0.1-win64.exe",
|
||||
"LLVM-7.0.1-win32.exe"
|
||||
],
|
||||
"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-tools-extra-7.0.0.src.tar.xz",
|
||||
"clang-tools-extra_doxygen-7.0.0.tar.xz",
|
||||
"clang_doxygen-7.0.0.tar.xz",
|
||||
"compiler-rt-7.0.0.src.tar.xz",
|
||||
"libcxx-7.0.0.src.tar.xz",
|
||||
"libcxxabi-7.0.0.src.tar.xz",
|
||||
"libunwind-7.0.0.src.tar.xz",
|
||||
"lld-7.0.0.src.tar.xz",
|
||||
"lldb-7.0.0.src.tar.xz",
|
||||
"llvm-7.0.0.src.tar.xz",
|
||||
"llvm_doxygen-7.0.0.tar.xz",
|
||||
"openmp-7.0.0.src.tar.xz",
|
||||
"polly-7.0.0.src.tar.xz",
|
||||
"test-suite-7.0.0.src.tar.xz"
|
||||
"clang+llvm-7.0.0-x86_64-linux-sles11.3.tar.xz",
|
||||
"clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
|
||||
"clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
|
||||
"clang+llvm-7.0.0-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-7.0.0-powerpc64le-unknown-unknown.tar.xz",
|
||||
"clang+llvm-7.0.0-i386-unknown-freebsd11.tar.xz",
|
||||
"clang+llvm-7.0.0-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-7.0.0-amd64-unknown-freebsd11.tar.xz",
|
||||
"clang+llvm-7.0.0-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-7.0.0-win64.exe",
|
||||
"LLVM-7.0.0-win32.exe"
|
||||
],
|
||||
"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-tools-extra-6.0.1.src.tar.xz",
|
||||
"compiler-rt-6.0.1.src.tar.xz",
|
||||
"libcxx-6.0.1.src.tar.xz",
|
||||
"libcxxabi-6.0.1.src.tar.xz",
|
||||
"libunwind-6.0.1.src.tar.xz",
|
||||
"lld-6.0.1.src.tar.xz",
|
||||
"lldb-6.0.1.src.tar.xz",
|
||||
"llvm-6.0.1.src.tar.xz",
|
||||
"openmp-6.0.1.src.tar.xz",
|
||||
"polly-6.0.1.src.tar.xz",
|
||||
"test-suite-6.0.1.src.tar.xz"
|
||||
"clang+llvm-6.0.1-x86_64-linux-sles11.3.tar.xz",
|
||||
"clang+llvm-6.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
|
||||
"clang+llvm-6.0.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
|
||||
"clang+llvm-6.0.1-i386-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-6.0.1-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-6.0.1-amd64-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-6.0.1-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-6.0.1-win64.exe",
|
||||
"LLVM-6.0.1-win32.exe"
|
||||
],
|
||||
"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-tools-extra-6.0.0.src.tar.xz",
|
||||
"clang-tools-extra_doxygen-6.0.0.tar.xz",
|
||||
"clang_doxygen-6.0.0.tar.xz",
|
||||
"compiler-rt-6.0.0.src.tar.xz",
|
||||
"libcxx-6.0.0.src.tar.xz",
|
||||
"libcxxabi-6.0.0.src.tar.xz",
|
||||
"libunwind-6.0.0.src.tar.xz",
|
||||
"lld-6.0.0.src.tar.xz",
|
||||
"lldb-6.0.0.src.tar.xz",
|
||||
"llvm-6.0.0.src.tar.xz",
|
||||
"llvm_doxygen-6.0.0.tar.xz",
|
||||
"openmp-6.0.0.src.tar.xz",
|
||||
"polly-6.0.0.src.tar.xz",
|
||||
"test-suite-6.0.0.src.tar.xz"
|
||||
"clang+llvm-6.0.0-x86_64-linux-sles11.3.tar.xz",
|
||||
"clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04.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-debian8.tar.xz",
|
||||
"clang+llvm-6.0.0-x86_64-linux-gnu-Fedora27.tar.xz",
|
||||
"clang+llvm-6.0.0-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-6.0.0-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-6.0.0-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-6.0.0-i686-linux-gnu-Fedora27.tar.xz",
|
||||
"clang+llvm-6.0.0-i386-unknown-freebsd-10.tar.xz",
|
||||
"clang+llvm-6.0.0-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-6.0.0-amd64-unknown-freebsd-10.tar.xz",
|
||||
"clang+llvm-6.0.0-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-6.0.0-win64.exe",
|
||||
"LLVM-6.0.0-win32.exe"
|
||||
],
|
||||
"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-tools-extra-5.0.2.src.tar.xz",
|
||||
"compiler-rt-5.0.2.src.tar.xz",
|
||||
"libcxx-5.0.2.src.tar.xz",
|
||||
"libcxxabi-5.0.2.src.tar.xz",
|
||||
"libunwind-5.0.2.src.tar.xz",
|
||||
"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"
|
||||
"clang+llvm-5.0.2-x86_64-linux-gnu-ubuntu-16.04.tar.xz",
|
||||
"clang+llvm-5.0.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
|
||||
"clang+llvm-5.0.2-x86_64-apple-darwin.tar.xz",
|
||||
"LLVM-5.0.2-win64.exe",
|
||||
"LLVM-5.0.2-win32.exe"
|
||||
],
|
||||
"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-tools-extra-5.0.1.src.tar.xz",
|
||||
"compiler-rt-5.0.1.src.tar.xz",
|
||||
"libcxx-5.0.1.src.tar.xz",
|
||||
"libcxxabi-5.0.1.src.tar.xz",
|
||||
"libunwind-5.0.1.src.tar.xz",
|
||||
"lld-5.0.1.src.tar.xz",
|
||||
"lldb-5.0.1.src.tar.xz",
|
||||
"llvm-5.0.1.src.tar.xz",
|
||||
"openmp-5.0.1.src.tar.xz",
|
||||
"polly-5.0.1.src.tar.xz",
|
||||
"test-suite-5.0.1.src.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-debian8.tar.xz",
|
||||
"clang+llvm-5.0.1-x86_64-linux-gnu-Fedora27.tar.xz",
|
||||
"clang+llvm-5.0.1-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-5.0.1-ppc64le-linux-gnu-Fedora-27.tar.xz",
|
||||
"clang+llvm-5.0.1-ppc64-linux-gnu-Fedora-27.tar.xz",
|
||||
"clang+llvm-5.0.1-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-5.0.1-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-5.0.1-linux-x86_64-sles12.2.tar.xz",
|
||||
"clang+llvm-5.0.1-linux-x86_64-sles11.3.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": [
|
||||
"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-tools-extra-5.0.0.src.tar.xz",
|
||||
"clang-tools-extra_doxygen-5.0.0.tar.xz",
|
||||
"clang_doxygen-5.0.0.tar.xz",
|
||||
"compiler-rt-5.0.0.src.tar.xz",
|
||||
"libcxx-5.0.0.src.tar.xz",
|
||||
"libcxxabi-5.0.0.src.tar.xz",
|
||||
"libunwind-5.0.0.src.tar.xz",
|
||||
"lld-5.0.0.src.tar.xz",
|
||||
"lldb-5.0.0.src.tar.xz",
|
||||
"llvm-5.0.0.src.tar.xz",
|
||||
"llvm_doxygen-5.0.0.tar.xz",
|
||||
"openmp-5.0.0.src.tar.xz",
|
||||
"polly-5.0.0.src.tar.xz",
|
||||
"test-suite-5.0.0.src.tar.xz"
|
||||
"clang+llvm-5.0.0-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-5.0.0-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-5.0.0-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-5.0.0-linux-x86_64-ubuntu16.04.tar.xz",
|
||||
"clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz",
|
||||
"clang+llvm-5.0.0-linux-x86_64-sles11.3.tar.xz",
|
||||
"clang+llvm-5.0.0-i386-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-5.0.0-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-5.0.0-amd64-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-5.0.0-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-5.0.0-win64.exe",
|
||||
"LLVM-5.0.0-win32.exe"
|
||||
],
|
||||
"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-tools-extra-4.0.1.src.tar.xz",
|
||||
"compiler-rt-4.0.1.src.tar.xz",
|
||||
"libcxx-4.0.1.src.tar.xz",
|
||||
"libcxxabi-4.0.1.src.tar.xz",
|
||||
"libunwind-4.0.1.src.tar.xz",
|
||||
"lld-4.0.1.src.tar.xz",
|
||||
"lldb-4.0.1.src.tar.xz",
|
||||
"llvm-4.0.1.src.tar.xz",
|
||||
"openmp-4.0.1.src.tar.xz",
|
||||
"polly-4.0.1.src.tar.xz",
|
||||
"test-suite-4.0.1.src.tar.xz"
|
||||
"clang+llvm-4.0.1-x86_64-linux-gnu-Fedora-25.tar.xz",
|
||||
"clang+llvm-4.0.1-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-4.0.1-ppc64le-linux-gnu-Fedora-25.tar.xz",
|
||||
"clang+llvm-4.0.1-ppc64-linux-gnu-Fedora-25.tar.xz",
|
||||
"clang+llvm-4.0.1-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-4.0.1-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-4.0.1-linux-x86_64-sles11.3.tar.xz",
|
||||
"clang+llvm-4.0.1-i386-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-4.0.1-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-4.0.1-amd64-unknown-freebsd10.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": [
|
||||
"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-tools-extra-3.9.1.src.tar.xz",
|
||||
"compiler-rt-3.9.1.src.tar.xz",
|
||||
"libcxx-3.9.1.src.tar.xz",
|
||||
"libcxxabi-3.9.1.src.tar.xz",
|
||||
"libunwind-3.9.1.src.tar.xz",
|
||||
"lld-3.9.1.src.tar.xz",
|
||||
"lldb-3.9.1.src.tar.xz",
|
||||
"llvm-3.9.1.src.tar.xz",
|
||||
"openmp-3.9.1.src.tar.xz",
|
||||
"polly-3.9.1.src.tar.xz",
|
||||
"test-suite-3.9.1.src.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-debian8.tar.xz",
|
||||
"clang+llvm-3.9.1-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.9.1-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.9.1-i386-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.9.1-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-3.9.1-amd64-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.9.1-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-3.9.1-win64.exe",
|
||||
"LLVM-3.9.1-win32.exe"
|
||||
],
|
||||
"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-tools-extra-3.9.0.src.tar.xz",
|
||||
"clang-tools-extra_doxygen-3.9.0.tar.xz",
|
||||
"clang_doxygen-3.9.0.tar.xz",
|
||||
"compiler-rt-3.9.0.src.tar.xz",
|
||||
"libcxx-3.9.0.src.tar.xz",
|
||||
"libcxxabi-3.9.0.src.tar.xz",
|
||||
"libunwind-3.9.0.src.tar.xz",
|
||||
"lld-3.9.0.src.tar.xz",
|
||||
"lldb-3.9.0.src.tar.xz",
|
||||
"llvm-3.9.0.src.tar.xz",
|
||||
"llvm_doxygen-3.9.0.tar.xz",
|
||||
"openmp-3.9.0.src.tar.xz",
|
||||
"polly-3.9.0.src.tar.xz",
|
||||
"test-suite-3.9.0.src.tar.xz"
|
||||
"clang+llvm-3.9.0-x86_64-linux-gnu-ubuntu-16.04.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-debian8.tar.xz",
|
||||
"clang+llvm-3.9.0-x86_64-fedora23.tar.xz",
|
||||
"clang+llvm-3.9.0-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-3.9.0-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.9.0-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.9.0-i686-fedora23.tar.xz",
|
||||
"clang+llvm-3.9.0-i586-opensuse13.2.tar.xz",
|
||||
"clang+llvm-3.9.0-i386-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.9.0-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-3.9.0-amd64-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.9.0-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-3.9.0-win64.exe",
|
||||
"LLVM-3.9.0-win32.exe"
|
||||
],
|
||||
"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-tools-extra-3.8.1.src.tar.xz",
|
||||
"compiler-rt-3.8.1.src.tar.xz",
|
||||
"libcxx-3.8.1.src.tar.xz",
|
||||
"libcxxabi-3.8.1.src.tar.xz",
|
||||
"libunwind-3.8.1.src.tar.xz",
|
||||
"lld-3.8.1.src.tar.xz",
|
||||
"lldb-3.8.1.src.tar.xz",
|
||||
"llvm-3.8.1.src.tar.xz",
|
||||
"openmp-3.8.1.src.tar.xz",
|
||||
"polly-3.8.1.src.tar.xz",
|
||||
"test-suite-3.8.1.src.tar.xz"
|
||||
"clang+llvm-3.8.1-x86_64-linux-gnu-ubuntu-16.04.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-debian8.tar.xz",
|
||||
"clang+llvm-3.8.1-x86_64-fedora22.tar.xz",
|
||||
"clang+llvm-3.8.1-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.8.1-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.8.1-linux-x86_64-sles11.3.tar.xz",
|
||||
"clang+llvm-3.8.1-linux-armhf-vivid.tar.xz",
|
||||
"clang+llvm-3.8.1-i686-fedora23.tar.xz",
|
||||
"clang+llvm-3.8.1-i586-opensuse13.2.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": [
|
||||
"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-tools-extra-3.8.0.src.tar.xz",
|
||||
"clang-tools-extra_doxygen-3.8.0.tar.xz",
|
||||
"clang_doxygen-3.8.0.tar.xz",
|
||||
"compiler-rt-3.8.0.src.tar.xz",
|
||||
"libcxx-3.8.0.src.tar.xz",
|
||||
"libcxxabi-3.8.0.src.tar.xz",
|
||||
"libunwind-3.8.0.src.tar.xz",
|
||||
"lld-3.8.0.src.tar.xz",
|
||||
"lldb-3.8.0.src.tar.xz",
|
||||
"llvm-3.8.0.src.tar.xz",
|
||||
"llvm_doxygen-3.8.0.tar.xz",
|
||||
"openmp-3.8.0.src.tar.xz",
|
||||
"polly-3.8.0.src.tar.xz",
|
||||
"test-suite-3.8.0.src.tar.xz"
|
||||
"clang+llvm-3.8.0-x86_64-opensuse13.2.tar.xz",
|
||||
"clang+llvm-3.8.0-x86_64-linux-gnu-ubuntu-16.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-14.04.tar.xz",
|
||||
"clang+llvm-3.8.0-x86_64-linux-gnu-debian8.tar.xz",
|
||||
"clang+llvm-3.8.0-x86_64-fedora23.tar.xz",
|
||||
"clang+llvm-3.8.0-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-3.8.0-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.8.0-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.8.0-linux-x86_64-centos6.tar.xz",
|
||||
"clang+llvm-3.8.0-linux-armhf-vivid.tar.xz",
|
||||
"clang+llvm-3.8.0-i686-fedora23.tar.xz",
|
||||
"clang+llvm-3.8.0-i586-opensuse13.2.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": [
|
||||
"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-tools-extra-3.7.1.src.tar.xz",
|
||||
"compiler-rt-3.7.1.src.tar.xz",
|
||||
"libcxx-3.7.1.src.tar.xz",
|
||||
"libcxxabi-3.7.1.src.tar.xz",
|
||||
"libunwind-3.7.1.src.tar.xz",
|
||||
"lld-3.7.1.src.tar.xz",
|
||||
"lldb-3.7.1.src.tar.xz",
|
||||
"llvm-3.7.1.src.tar.xz",
|
||||
"openmp-3.7.1.src.tar.xz",
|
||||
"polly-3.7.1.src.tar.xz",
|
||||
"test-suite-3.7.1.src.tar.xz"
|
||||
"clang+llvm-3.7.1-x86_64-linux-gnu-ubuntu-15.10.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-debian8.tar.xz",
|
||||
"clang+llvm-3.7.1-x86_64-fedora22.tar.xz",
|
||||
"clang+llvm-3.7.1-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.7.1-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.7.1-i686-fedora22.tar.xz",
|
||||
"clang+llvm-3.7.1-i586-opensuse13.2.tar.xz",
|
||||
"clang+llvm-3.7.1-i386-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.7.1-armv7a-linux-gnueabihf.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": [
|
||||
"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-tools-extra-3.7.0.src.tar.xz",
|
||||
"clang_doxygen-3.7.0.tar.xz",
|
||||
"compiler-rt-3.7.0.src.tar.xz",
|
||||
"libcxx-3.7.0.src.tar.xz",
|
||||
"libcxxabi-3.7.0.src.tar.xz",
|
||||
"libunwind-3.7.0.src.tar.xz",
|
||||
"lld-3.7.0.src.tar.xz",
|
||||
"lldb-3.7.0.src.tar.xz",
|
||||
"llvm-3.7.0.src.tar.xz",
|
||||
"llvm_doxygen-3.7.0.tar.xz",
|
||||
"openmp-3.7.0.src.tar.xz",
|
||||
"polly-3.7.0.src.tar.xz",
|
||||
"test-suite-3.7.0.src.tar.xz"
|
||||
"clang+llvm-3.7.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
|
||||
"clang+llvm-3.7.0-x86_64-fedora22.tar.xz",
|
||||
"clang+llvm-3.7.0-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-3.7.0-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.7.0-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.7.0-i686-fedora22.tar.xz",
|
||||
"clang+llvm-3.7.0-i586-opensuse13.2.tar.xz",
|
||||
"clang+llvm-3.7.0-i386-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.7.0-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-3.7.0-amd64-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.7.0-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-3.7.0-win64.exe",
|
||||
"LLVM-3.7.0-win32.exe"
|
||||
],
|
||||
"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-tools-extra-3.6.2.src.tar.xz",
|
||||
"compiler-rt-3.6.2.src.tar.xz",
|
||||
"dragonegg-3.6.2.src.tar.xz",
|
||||
"libcxx-3.6.2.src.tar.xz",
|
||||
"libcxxabi-3.6.2.src.tar.xz",
|
||||
"lld-3.6.2.src.tar.xz",
|
||||
"lldb-3.6.2.src.tar.xz",
|
||||
"llvm-3.6.2.src.tar.xz",
|
||||
"openmp-3.6.2.src.tar.xz",
|
||||
"polly-3.6.2.src.tar.xz",
|
||||
"test-suite-3.6.2.src.tar.xz"
|
||||
"clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-15.04.tar.xz",
|
||||
"clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
|
||||
"clang+llvm-3.6.2-x86_64-fedora21.tar.xz",
|
||||
"clang+llvm-3.6.2-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-3.6.2-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.6.2-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.6.2-i586-opensuse13.2.tar.xz",
|
||||
"clang+llvm-3.6.2-i386-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.6.2-i386-fedora21.tar.xz",
|
||||
"clang+llvm-3.6.2-armv7a-linux-gnueabihf.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": [
|
||||
"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-tools-extra-3.6.1.src.tar.xz",
|
||||
"compiler-rt-3.6.1.src.tar.xz",
|
||||
"dragonegg-3.6.1.src.tar.xz",
|
||||
"libcxx-3.6.1.src.tar.xz",
|
||||
"libcxxabi-3.6.1.src.tar.xz",
|
||||
"lld-3.6.1.src.tar.xz",
|
||||
"lldb-3.6.1.src.tar.xz",
|
||||
"llvm-3.6.1.src.tar.xz",
|
||||
"openmp-3.6.1.src.tar.xz",
|
||||
"polly-3.6.1.src.tar.xz",
|
||||
"test-suite-3.6.1.src.tar.xz"
|
||||
"clang+llvm-3.6.1-x86_64-linux-gnu-ubuntu-15.04.tar.xz",
|
||||
"clang+llvm-3.6.1-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
|
||||
"clang+llvm-3.6.1-x86_64-fedora21.tar.xz",
|
||||
"clang+llvm-3.6.1-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-3.6.1-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.6.1-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.6.1-i586-opensuse13.2.tar.xz",
|
||||
"clang+llvm-3.6.1-i386-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.6.1-i386-fedora21.tar.xz",
|
||||
"clang+llvm-3.6.1-armv7a-linux-gnueabihf.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": [
|
||||
"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-tools-extra-3.6.0.src.tar.xz",
|
||||
"compiler-rt-3.6.0.src.tar.xz",
|
||||
"dragonegg-3.6.0.src.tar.xz",
|
||||
"libcxx-3.6.0.src.tar.xz",
|
||||
"libcxxabi-3.6.0.src.tar.xz",
|
||||
"lld-3.6.0.src.tar.xz",
|
||||
"lldb-3.6.0.src.tar.xz",
|
||||
"llvm-3.6.0.src.tar.xz",
|
||||
"openmp-3.6.0.src.tar.xz",
|
||||
"polly-3.6.0.src.tar.xz",
|
||||
"test-suite-3.6.0.src.tar.xz"
|
||||
"clang+llvm-3.6.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz",
|
||||
"clang+llvm-3.6.0-x86_64-fedora21.tar.xz",
|
||||
"clang+llvm-3.6.0-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-3.6.0-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.6.0-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.6.0-i686-fedora21.tar.xz",
|
||||
"clang+llvm-3.6.0-i586-opensuse13.2.tar.xz",
|
||||
"clang+llvm-3.6.0-i386-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.6.0-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-3.6.0-amd64-unknown-freebsd10.tar.xz",
|
||||
"clang+llvm-3.6.0-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-3.6.0-win32.exe"
|
||||
],
|
||||
"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-tools-extra-3.5.2.src.tar.xz",
|
||||
"compiler-rt-3.5.2.src.tar.xz",
|
||||
"dragonegg-3.5.2.src.tar.xz",
|
||||
"libcxx-3.5.2.src.tar.xz",
|
||||
"libcxxabi-3.5.2.src.tar.xz",
|
||||
"lld-3.5.2.src.tar.xz",
|
||||
"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"
|
||||
"clang+llvm-3.5.2-x86_64-apple-darwin.tar.xz",
|
||||
"clang+llvm-3.5.2-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.5.2-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.5.2-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-3.5.2-aarch64-linux-gnu.tar.xz",
|
||||
"LLVM-3.5.2-win32.exe"
|
||||
],
|
||||
"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-tools-extra-3.5.1.src.tar.xz",
|
||||
"compiler-rt-3.5.1.src.tar.xz",
|
||||
"dragonegg-3.5.1.src.tar.xz",
|
||||
"libcxx-3.5.1.src.tar.xz",
|
||||
"libcxxabi-3.5.1.src.tar.xz",
|
||||
"lld-3.5.1.src.tar.xz",
|
||||
"lldb-3.5.1.src.tar.xz",
|
||||
"llvm-3.5.1.src.tar.xz",
|
||||
"openmp-3.5.1.src.tar.xz",
|
||||
"polly-3.5.1.src.tar.xz",
|
||||
"test-suite-3.5.1.src.tar.xz"
|
||||
"clang+llvm-3.5.1-x86_64-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.5.1-x86_64-fedora20.tar.xz",
|
||||
"clang+llvm-3.5.1-mipsel-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.5.1-mips-linux-gnu.tar.xz",
|
||||
"clang+llvm-3.5.1-i686-fedora20.tar.xz",
|
||||
"clang+llvm-3.5.1-i586-opensuse13.1.tar.xz",
|
||||
"clang+llvm-3.5.1-armv7a-linux-gnueabihf.tar.xz",
|
||||
"clang+llvm-3.5.1-aarch64-linux-gnu.tar.xz"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -49,9 +49,6 @@ export async function getLLVMAssetURL(platform: string, arch: string, version: s
|
|||
filterMapTag(tag) {
|
||||
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": {
|
||||
if (x86_64.includes(arch)) {
|
||||
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)) {
|
||||
keywords.push("win32")
|
||||
} else if (arm64.includes(arch)) {
|
||||
|
|
|
@ -47,16 +47,19 @@ async function fetchGitHubAssetList(
|
|||
continue
|
||||
}
|
||||
|
||||
if (!(release.tag_name in assets)) {
|
||||
assets[release.tag_name] = []
|
||||
}
|
||||
const assets_ref = assets[release.tag_name]!
|
||||
const versionAssets: string[] = []
|
||||
|
||||
// const assets_ref = assets[release.tag_name]!
|
||||
|
||||
for (const asset of release.assets) {
|
||||
if (filterAssets !== undefined && !filterAssets(asset.name)) {
|
||||
continue
|
||||
}
|
||||
assets_ref.push(asset.name)
|
||||
versionAssets.push(asset.name)
|
||||
}
|
||||
|
||||
if (versionAssets.length !== 0) {
|
||||
assets[release.tag_name] = versionAssets.sort().reverse()
|
||||
}
|
||||
}
|
||||
} catch (err) {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
import { existsSync } from "fs"
|
||||
import { join } from "path"
|
||||
import { mkdir, readFile, readdir, writeFile } from "fs/promises"
|
||||
import { DownloaderHelper } from "node-downloader-helper"
|
||||
import JsonStringify from "safe-stable-stringify"
|
||||
|
@ -58,6 +60,10 @@ async function fetchIndexFiles(opts: Options) {
|
|||
|
||||
async function fetchIndexFile(version: string, url: string, htmlDownloadDir: string) {
|
||||
try {
|
||||
if (existsSync(join(htmlDownloadDir, version))) {
|
||||
return
|
||||
}
|
||||
|
||||
const dl = new DownloaderHelper(
|
||||
url,
|
||||
htmlDownloadDir,
|
||||
|
@ -66,10 +72,7 @@ async function fetchIndexFile(version: string, url: string, htmlDownloadDir: str
|
|||
override: {
|
||||
skip: true,
|
||||
},
|
||||
retry: {
|
||||
delay: 100,
|
||||
maxRetries: 3,
|
||||
},
|
||||
timeout: 500,
|
||||
},
|
||||
)
|
||||
dl.on("start", () => {
|
||||
|
@ -92,9 +95,8 @@ async function extractAssetsFromHTML(opts: Options) {
|
|||
const indexFiles = await readdir(opts.htmlDownloadDir)
|
||||
await Promise.all(indexFiles.map(async (indexFile) => {
|
||||
const version = indexFile.replace(".html", "")
|
||||
if (!(version in assets)) {
|
||||
assets[version] = []
|
||||
}
|
||||
|
||||
const versionAssets: string[] = []
|
||||
|
||||
// read the html file
|
||||
const body = await readFile(`${opts.htmlDownloadDir}/${indexFile}`, "utf8")
|
||||
|
@ -109,12 +111,12 @@ async function extractAssetsFromHTML(opts: Options) {
|
|||
continue
|
||||
}
|
||||
|
||||
assets[version].push(asset.replace("%2B", "+"))
|
||||
versionAssets.push(asset.replace("%2B", "+"))
|
||||
}
|
||||
|
||||
if (assets[version].length === 0) {
|
||||
// eslint-disable-next-line @typescript-eslint/no-dynamic-delete
|
||||
delete assets[version]
|
||||
if (versionAssets.length !== 0) {
|
||||
// sort the names and update the assets
|
||||
assets[version] = versionAssets.sort().reverse()
|
||||
}
|
||||
}))
|
||||
|
||||
|
|
Loading…
Reference in New Issue