forked from mirrors/gecko-dev
		
	Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged: - geckodriver because the results are used to releases on github. - sixgill because the script that creates it is not in-tree. - *-dist-toolchain because sccache is not expecting a .tar.zst. We use native tar support in most cases, except for toolchain scripts also used on Windows, for which we use our zstdpy script. Differential Revision: https://phabricator.services.mozilla.com/D124733
This commit is contained in:
		
							parent
							
								
									a3d6b7df1b
								
							
						
					
					
						commit
						9ef9a07ff2
					
				
					 47 changed files with 96 additions and 110 deletions
				
			
		|  | @ -31,7 +31,7 @@ def build_tar_package(tar, name, base, directories): | ||||||
|     name = os.path.realpath(name) |     name = os.path.realpath(name) | ||||||
|     run_in( |     run_in( | ||||||
|         base, |         base, | ||||||
|         [tar, "-c", "-%s" % ("J" if ".xz" in name else "j"), "-f", name] + directories, |         [tar, "-c", "-a", "-f", name] + directories, | ||||||
|     ) |     ) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -142,7 +142,7 @@ if __name__ == "__main__": | ||||||
|         ) |         ) | ||||||
|         build_tar_package( |         build_tar_package( | ||||||
|             "tar", |             "tar", | ||||||
|             "%s.tar.xz" % (package_name), |             "%s.tar.zst" % (package_name), | ||||||
|             infer_package_with_pref, |             infer_package_with_pref, | ||||||
|             [ |             [ | ||||||
|                 os.path.join("infer", "bin"), |                 os.path.join("infer", "bin"), | ||||||
|  |  | ||||||
|  | @ -98,4 +98,4 @@ cd .. | ||||||
| 
 | 
 | ||||||
| # Make a package of the built binutils | # Make a package of the built binutils | ||||||
| cd $root_dir/tools | cd $root_dir/tools | ||||||
| tar caf $root_dir/binutils.tar.xz binutils/ | tar caf $root_dir/binutils.tar.zst binutils/ | ||||||
|  |  | ||||||
|  | @ -73,7 +73,7 @@ build_gcc() { | ||||||
|   cd $root_dir/tools |   cd $root_dir/tools | ||||||
|   ln -s gcc gcc/bin/cc |   ln -s gcc gcc/bin/cc | ||||||
| 
 | 
 | ||||||
|   tar caf $root_dir/gcc.tar.xz gcc/ |   tar caf $root_dir/gcc.tar.zst gcc/ | ||||||
|   popd |   popd | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -118,6 +118,6 @@ build_gcc_and_mingw() { | ||||||
|   popd |   popd | ||||||
| 
 | 
 | ||||||
|   pushd $(dirname $install_dir) |   pushd $(dirname $install_dir) | ||||||
|   tar caf $root_dir/mingw32.tar.xz $(basename $install_dir)/ |   tar caf $root_dir/mingw32.tar.zst $(basename $install_dir)/ | ||||||
|   popd |   popd | ||||||
| } | } | ||||||
|  |  | ||||||
|  | @ -46,4 +46,4 @@ cp $dirname/fsck_hfs.tproj/fsck_hfs hfsplus-tools/fsck_hfs | ||||||
| 
 | 
 | ||||||
| # Make a package of the built utils | # Make a package of the built utils | ||||||
| cd $root_dir | cd $root_dir | ||||||
| tar caf $root_dir/hfsplus-tools.tar.xz hfsplus-tools | tar caf $root_dir/hfsplus-tools.tar.zst hfsplus-tools | ||||||
|  |  | ||||||
|  | @ -11,7 +11,7 @@ job-defaults: | ||||||
|         max-run-time: 3600 |         max-run-time: 3600 | ||||||
|     run: |     run: | ||||||
|         script: build-cbindgen.sh |         script: build-cbindgen.sh | ||||||
|         toolchain-artifact: public/build/cbindgen.tar.xz |         toolchain-artifact: public/build/cbindgen.tar.zst | ||||||
|     run-on-projects: [trunk] |     run-on-projects: [trunk] | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|  | @ -69,7 +69,6 @@ win64-cbindgen: | ||||||
|         arguments: ['x86_64-pc-windows-msvc'] |         arguments: ['x86_64-pc-windows-msvc'] | ||||||
|         resources: |         resources: | ||||||
|             - taskcluster/scripts/misc/tooltool-download.sh |             - taskcluster/scripts/misc/tooltool-download.sh | ||||||
|         toolchain-artifact: public/build/cbindgen.tar.bz2 |  | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|  |  | ||||||
|  | @ -18,7 +18,7 @@ linux64-cctools-port-clang-11: | ||||||
|         symbol: TL(cctools-clang-11) |         symbol: TL(cctools-clang-11) | ||||||
|     run: |     run: | ||||||
|         script: build-cctools-port.sh |         script: build-cctools-port.sh | ||||||
|         toolchain-artifact: public/build/cctools.tar.xz |         toolchain-artifact: public/build/cctools.tar.zst | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|  | @ -31,7 +31,7 @@ linux64-cctools-port-clang-12: | ||||||
|     run: |     run: | ||||||
|         script: build-cctools-port.sh |         script: build-cctools-port.sh | ||||||
|         toolchain-alias: linux64-cctools-port |         toolchain-alias: linux64-cctools-port | ||||||
|         toolchain-artifact: public/build/cctools.tar.xz |         toolchain-artifact: public/build/cctools.tar.zst | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|  |  | ||||||
|  | @ -20,7 +20,7 @@ linux64-dump_syms: | ||||||
|         symbol: TL(dump_syms) |         symbol: TL(dump_syms) | ||||||
|     worker-type: b-linux |     worker-type: b-linux | ||||||
|     run: |     run: | ||||||
|         toolchain-artifact: public/build/dump_syms.tar.xz |         toolchain-artifact: public/build/dump_syms.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-binutils |             - linux64-binutils | ||||||
|  | @ -34,7 +34,7 @@ macosx64-dump_syms: | ||||||
|     worker-type: b-linux |     worker-type: b-linux | ||||||
|     run: |     run: | ||||||
|         arguments: ['x86_64-apple-darwin'] |         arguments: ['x86_64-apple-darwin'] | ||||||
|         toolchain-artifact: public/build/dump_syms.tar.xz |         toolchain-artifact: public/build/dump_syms.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-rust-macos-1.54 |             - linux64-rust-macos-1.54 | ||||||
|  | @ -49,7 +49,7 @@ macosx64-aarch64-dump_syms: | ||||||
|     worker-type: b-linux |     worker-type: b-linux | ||||||
|     run: |     run: | ||||||
|         arguments: ['aarch64-apple-darwin'] |         arguments: ['aarch64-apple-darwin'] | ||||||
|         toolchain-artifact: public/build/dump_syms.tar.xz |         toolchain-artifact: public/build/dump_syms.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-rust-macos-1.54 |             - linux64-rust-macos-1.54 | ||||||
|  | @ -66,7 +66,7 @@ win64-dump_syms: | ||||||
|         env: |         env: | ||||||
|             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" |             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" | ||||||
|     run: |     run: | ||||||
|         toolchain-artifact: public/build/dump_syms.tar.bz2 |         toolchain-artifact: public/build/dump_syms.tar.zst | ||||||
|         resources: |         resources: | ||||||
|             - 'taskcluster/scripts/misc/tooltool-download.sh' |             - 'taskcluster/scripts/misc/tooltool-download.sh' | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|  |  | ||||||
|  | @ -22,7 +22,7 @@ linux64-fix-stacks: | ||||||
|         symbol: TL(fix-stacks) |         symbol: TL(fix-stacks) | ||||||
|     run: |     run: | ||||||
|         arguments: ['x86_64-unknown-linux-gnu'] |         arguments: ['x86_64-unknown-linux-gnu'] | ||||||
|         toolchain-artifact: public/build/fix-stacks.tar.xz |         toolchain-artifact: public/build/fix-stacks.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-binutils |             - linux64-binutils | ||||||
|  | @ -35,7 +35,7 @@ macosx64-fix-stacks: | ||||||
|         symbol: TM(fix-stacks) |         symbol: TM(fix-stacks) | ||||||
|     run: |     run: | ||||||
|         arguments: ['x86_64-apple-darwin'] |         arguments: ['x86_64-apple-darwin'] | ||||||
|         toolchain-artifact: public/build/fix-stacks.tar.xz |         toolchain-artifact: public/build/fix-stacks.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-cctools-port-clang-11 |             - linux64-cctools-port-clang-11 | ||||||
|  | @ -48,7 +48,7 @@ macosx64-aarch64-fix-stacks: | ||||||
|         symbol: TM(fix-stacks-arm64) |         symbol: TM(fix-stacks-arm64) | ||||||
|     run: |     run: | ||||||
|         arguments: ['aarch64-apple-darwin'] |         arguments: ['aarch64-apple-darwin'] | ||||||
|         toolchain-artifact: public/build/fix-stacks.tar.xz |         toolchain-artifact: public/build/fix-stacks.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-cctools-port-clang-11 |             - linux64-cctools-port-clang-11 | ||||||
|  | @ -64,7 +64,7 @@ win32-fix-stacks: | ||||||
|             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" |             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" | ||||||
|     run: |     run: | ||||||
|         arguments: ['i686-pc-windows-msvc'] |         arguments: ['i686-pc-windows-msvc'] | ||||||
|         toolchain-artifact: public/build/fix-stacks.tar.bz2 |         toolchain-artifact: public/build/fix-stacks.tar.zst | ||||||
|         resources: |         resources: | ||||||
|             - 'taskcluster/scripts/misc/tooltool-download.sh' |             - 'taskcluster/scripts/misc/tooltool-download.sh' | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ job-defaults: | ||||||
|     run: |     run: | ||||||
|         resources: |         resources: | ||||||
|             - 'build/unix/build-gcc/build-gcc.sh' |             - 'build/unix/build-gcc/build-gcc.sh' | ||||||
|         toolchain-artifact: public/build/gcc.tar.xz |         toolchain-artifact: public/build/gcc.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-toolchain-sysroot |             - linux64-toolchain-sysroot | ||||||
|  |  | ||||||
|  | @ -12,7 +12,7 @@ job-defaults: | ||||||
|     run: |     run: | ||||||
|         resources: |         resources: | ||||||
|             - 'taskcluster/scripts/misc/build-gn-common.sh' |             - 'taskcluster/scripts/misc/build-gn-common.sh' | ||||||
|         toolchain-artifact: public/build/gn.tar.xz |         toolchain-artifact: public/build/gn.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - gn |             - gn | ||||||
|  | @ -49,7 +49,6 @@ win32-gn: | ||||||
|         script: build-gn-win32.sh |         script: build-gn-win32.sh | ||||||
|         resources: |         resources: | ||||||
|             - 'taskcluster/scripts/misc/tooltool-download.sh' |             - 'taskcluster/scripts/misc/tooltool-download.sh' | ||||||
|         toolchain-artifact: public/build/gn.tar.bz2 |  | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ job-defaults: | ||||||
|         max-run-time: 1800 |         max-run-time: 1800 | ||||||
|     run: |     run: | ||||||
|         script: build-grcov.sh |         script: build-grcov.sh | ||||||
|         toolchain-artifact: public/build/grcov.tar.xz |         toolchain-artifact: public/build/grcov.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - grcov |             - grcov | ||||||
|  | @ -42,7 +42,6 @@ win64-grcov: | ||||||
|         env: |         env: | ||||||
|             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" |             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" | ||||||
|     run: |     run: | ||||||
|         toolchain-artifact: public/build/grcov.tar.bz2 |  | ||||||
|         resources: |         resources: | ||||||
|             - 'taskcluster/scripts/misc/tooltool-download.sh' |             - 'taskcluster/scripts/misc/tooltool-download.sh' | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ linux64-mingw32-gcc: | ||||||
|         script: build-gcc-mingw32.sh |         script: build-gcc-mingw32.sh | ||||||
|         resources: |         resources: | ||||||
|             - 'build/unix/build-gcc/build-gcc.sh' |             - 'build/unix/build-gcc/build-gcc.sh' | ||||||
|         toolchain-artifact: public/build/mingw32.tar.xz |         toolchain-artifact: public/build/mingw32.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - binutils-2.27 |             - binutils-2.27 | ||||||
|  | @ -38,7 +38,7 @@ linux64-mingw32-nsis: | ||||||
|         resources: |         resources: | ||||||
|             - 'build/unix/build-gcc/build-gcc.sh' |             - 'build/unix/build-gcc/build-gcc.sh' | ||||||
|             - 'taskcluster/scripts/misc/build-gcc-mingw32.sh' |             - 'taskcluster/scripts/misc/build-gcc-mingw32.sh' | ||||||
|         toolchain-artifact: public/build/nsis.tar.xz |         toolchain-artifact: public/build/nsis.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - nsis-3.01 |             - nsis-3.01 | ||||||
|  | @ -55,7 +55,7 @@ linux64-mingw-fxc2-x86: | ||||||
|     run: |     run: | ||||||
|         using: toolchain-script |         using: toolchain-script | ||||||
|         script: build-mingw-fxc2-x86.sh |         script: build-mingw-fxc2-x86.sh | ||||||
|         toolchain-artifact: public/build/fxc2.tar.xz |         toolchain-artifact: public/build/fxc2.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - fxc2 |             - fxc2 | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ job-defaults: | ||||||
|             - 'toolkit/crashreporter' |             - 'toolkit/crashreporter' | ||||||
|             - 'toolkit/crashreporter/google-breakpad/src/processor' |             - 'toolkit/crashreporter/google-breakpad/src/processor' | ||||||
|             - 'tools/crashreporter/' |             - 'tools/crashreporter/' | ||||||
|         toolchain-artifact: public/build/minidump_stackwalk.tar.xz |         toolchain-artifact: public/build/minidump_stackwalk.tar.zst | ||||||
|     run-on-projects: |     run-on-projects: | ||||||
|         - trunk |         - trunk | ||||||
| 
 | 
 | ||||||
|  | @ -71,7 +71,7 @@ linux64-breakpad-injector: | ||||||
|     description: "breakpad injector toolchain build" |     description: "breakpad injector toolchain build" | ||||||
|     run: |     run: | ||||||
|         script: build-breakpad-injector.sh |         script: build-breakpad-injector.sh | ||||||
|         toolchain-artifact: public/build/injector.tar.xz |         toolchain-artifact: public/build/injector.tar.zst | ||||||
|     treeherder: |     treeherder: | ||||||
|         symbol: TL(injector) |         symbol: TL(injector) | ||||||
|     fetches: |     fetches: | ||||||
|  |  | ||||||
|  | @ -22,7 +22,7 @@ linux64-infer: | ||||||
|         resources: |         resources: | ||||||
|             - 'build/build-infer/build-infer.py' |             - 'build/build-infer/build-infer.py' | ||||||
|             - 'build/build-infer/infer-linux64.json' |             - 'build/build-infer/infer-linux64.json' | ||||||
|         toolchain-artifact: public/build/infer.tar.xz |         toolchain-artifact: public/build/infer.tar.zst | ||||||
| 
 | 
 | ||||||
| linux64-llvm-dsymutil: | linux64-llvm-dsymutil: | ||||||
|     description: "llvm-dsymutil toolchain build" |     description: "llvm-dsymutil toolchain build" | ||||||
|  | @ -30,7 +30,7 @@ linux64-llvm-dsymutil: | ||||||
|         symbol: TL(dsymutil) |         symbol: TL(dsymutil) | ||||||
|     run: |     run: | ||||||
|         script: build-llvm-dsymutil.sh |         script: build-llvm-dsymutil.sh | ||||||
|         toolchain-artifact: public/build/llvm-dsymutil.tar.xz |         toolchain-artifact: public/build/llvm-dsymutil.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - clang-11 |             - clang-11 | ||||||
|  | @ -45,7 +45,7 @@ linux64-binutils-2.31.1: | ||||||
|         script: build-binutils-linux.sh |         script: build-binutils-linux.sh | ||||||
|         resources: |         resources: | ||||||
|             - 'build/unix/build-binutils/build-binutils.sh' |             - 'build/unix/build-binutils/build-binutils.sh' | ||||||
|         toolchain-artifact: public/build/binutils.tar.xz |         toolchain-artifact: public/build/binutils.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - binutils-2.31.1 |             - binutils-2.31.1 | ||||||
|  | @ -64,7 +64,7 @@ linux64-binutils: | ||||||
|         script: build-binutils-linux.sh |         script: build-binutils-linux.sh | ||||||
|         resources: |         resources: | ||||||
|             - 'build/unix/build-binutils/build-binutils.sh' |             - 'build/unix/build-binutils/build-binutils.sh' | ||||||
|         toolchain-artifact: public/build/binutils.tar.xz |         toolchain-artifact: public/build/binutils.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - binutils-2.36.1 |             - binutils-2.36.1 | ||||||
|  | @ -83,7 +83,7 @@ linux64-hfsplus: | ||||||
|         script: build-hfsplus-linux.sh |         script: build-hfsplus-linux.sh | ||||||
|         resources: |         resources: | ||||||
|             - 'build/unix/build-hfsplus/build-hfsplus.sh' |             - 'build/unix/build-hfsplus/build-hfsplus.sh' | ||||||
|         toolchain-artifact: public/build/hfsplus-tools.tar.xz |         toolchain-artifact: public/build/hfsplus-tools.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - hfsplus-tools |             - hfsplus-tools | ||||||
|  | @ -96,7 +96,7 @@ linux64-libdmg: | ||||||
|         symbol: TL(libdmg-hfs+) |         symbol: TL(libdmg-hfs+) | ||||||
|     run: |     run: | ||||||
|         script: build-libdmg-hfsplus.sh |         script: build-libdmg-hfsplus.sh | ||||||
|         toolchain-artifact: public/build/dmg.tar.xz |         toolchain-artifact: public/build/dmg.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - libdmg-hfsplus |             - libdmg-hfsplus | ||||||
|  | @ -115,7 +115,7 @@ linux64-mar-tools: | ||||||
|     run: |     run: | ||||||
|         script: build-mar-tools.sh |         script: build-mar-tools.sh | ||||||
|         sparse-profile: null |         sparse-profile: null | ||||||
|         toolchain-artifact: public/build/mar-tools.tar.xz |         toolchain-artifact: public/build/mar-tools.tar.zst | ||||||
|         resources: |         resources: | ||||||
|             - build/moz.configure |             - build/moz.configure | ||||||
|             - modules/libmar/ |             - modules/libmar/ | ||||||
|  | @ -132,7 +132,7 @@ linux64-upx: | ||||||
|         tier: 1 |         tier: 1 | ||||||
|     run: |     run: | ||||||
|         script: build-upx.sh |         script: build-upx.sh | ||||||
|         toolchain-artifact: public/build/upx.tar.xz |         toolchain-artifact: public/build/upx.tar.zst | ||||||
| 
 | 
 | ||||||
| linux64-msix-packaging: | linux64-msix-packaging: | ||||||
|     description: "msix-packaging build" |     description: "msix-packaging build" | ||||||
|  | @ -159,11 +159,11 @@ linux64-custom-v8: | ||||||
|     run: |     run: | ||||||
|         script: build-custom-v8.sh |         script: build-custom-v8.sh | ||||||
|         arguments: [ |         arguments: [ | ||||||
|             d8.zip, |             d8.tar.zst, | ||||||
|             is_debug=false, |             is_debug=false, | ||||||
|             target_cpu="x64" |             target_cpu="x64" | ||||||
|         ] |         ] | ||||||
|         toolchain-artifact: public/build/d8.zip |         toolchain-artifact: public/build/d8.tar.zst | ||||||
| 
 | 
 | ||||||
| browsertime: | browsertime: | ||||||
|     description: "npm install browsertime node_modules" |     description: "npm install browsertime node_modules" | ||||||
|  | @ -176,7 +176,7 @@ browsertime: | ||||||
|             - 'tools/browsertime/package.json' |             - 'tools/browsertime/package.json' | ||||||
|             - 'tools/browsertime/package-lock.json' |             - 'tools/browsertime/package-lock.json' | ||||||
|             - 'tools/browsertime/mach_commands.py' |             - 'tools/browsertime/mach_commands.py' | ||||||
|         toolchain-artifact: public/build/browsertime.tar.bz2 |         toolchain-artifact: public/build/browsertime.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-node |             - linux64-node | ||||||
|  | @ -193,7 +193,7 @@ wrench-deps: | ||||||
|         resources: |         resources: | ||||||
|             - 'gfx/wr/Cargo.lock' |             - 'gfx/wr/Cargo.lock' | ||||||
|             - 'gfx/wr/ci-scripts/install-meson.sh' |             - 'gfx/wr/ci-scripts/install-meson.sh' | ||||||
|         toolchain-artifact: public/build/wrench-deps.tar.bz2 |         toolchain-artifact: public/build/wrench-deps.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - android-rs-glue |             - android-rs-glue | ||||||
|  | @ -207,7 +207,7 @@ linux64-liblowercase: | ||||||
|     run: |     run: | ||||||
|         script: build-liblowercase.sh |         script: build-liblowercase.sh | ||||||
|         sparse-profile: liblowercase |         sparse-profile: liblowercase | ||||||
|         toolchain-artifact: public/build/liblowercase.tar.xz |         toolchain-artifact: public/build/liblowercase.tar.zst | ||||||
|         resources: |         resources: | ||||||
|             - build/liblowercase/ |             - build/liblowercase/ | ||||||
|     fetches: |     fetches: | ||||||
|  | @ -223,7 +223,7 @@ linux64-wine: | ||||||
|         max-run-time: 10800 |         max-run-time: 10800 | ||||||
|     run: |     run: | ||||||
|         script: build-wine.sh |         script: build-wine.sh | ||||||
|         toolchain-artifact: public/build/wine.tar.xz |         toolchain-artifact: public/build/wine.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|             - wine |             - wine | ||||||
|  | @ -235,13 +235,13 @@ win32-pdbstr: | ||||||
|     worker-type: b-win2012 |     worker-type: b-win2012 | ||||||
|     worker: |     worker: | ||||||
|         artifacts: |         artifacts: | ||||||
|             - name: project/gecko/pdbstr/pdbstr.tar.bz2 |             - name: project/gecko/pdbstr/pdbstr.tar.zst | ||||||
|               path: pdbstr.tar.bz2 |               path: pdbstr.tar.zst | ||||||
|               type: file |               type: file | ||||||
|     run: |     run: | ||||||
|         script: exfiltrate-pdbstr.sh |         script: exfiltrate-pdbstr.sh | ||||||
|         arguments: ['x86'] |         arguments: ['x86'] | ||||||
|         toolchain-artifact: project/gecko/pdbstr/pdbstr.tar.bz2 |         toolchain-artifact: project/gecko/pdbstr/pdbstr.tar.zst | ||||||
| 
 | 
 | ||||||
| win64-pdbstr: | win64-pdbstr: | ||||||
|     description: "pdbstr for 64-bits Windows" |     description: "pdbstr for 64-bits Windows" | ||||||
|  | @ -250,13 +250,13 @@ win64-pdbstr: | ||||||
|     worker-type: b-win2012 |     worker-type: b-win2012 | ||||||
|     worker: |     worker: | ||||||
|         artifacts: |         artifacts: | ||||||
|             - name: project/gecko/pdbstr/pdbstr.tar.bz2 |             - name: project/gecko/pdbstr/pdbstr.tar.zst | ||||||
|               path: pdbstr.tar.bz2 |               path: pdbstr.tar.zst | ||||||
|               type: file |               type: file | ||||||
|     run: |     run: | ||||||
|         script: exfiltrate-pdbstr.sh |         script: exfiltrate-pdbstr.sh | ||||||
|         arguments: ['x64'] |         arguments: ['x64'] | ||||||
|         toolchain-artifact: project/gecko/pdbstr/pdbstr.tar.bz2 |         toolchain-artifact: project/gecko/pdbstr/pdbstr.tar.zst | ||||||
| 
 | 
 | ||||||
| linux64-winchecksec: | linux64-winchecksec: | ||||||
|     description: "winchecksec" |     description: "winchecksec" | ||||||
|  | @ -264,7 +264,7 @@ linux64-winchecksec: | ||||||
|         symbol: TL(winchecksec) |         symbol: TL(winchecksec) | ||||||
|     run: |     run: | ||||||
|         script: build-winchecksec.sh |         script: build-winchecksec.sh | ||||||
|         toolchain-artifact: public/build/winchecksec.tar.bz2 |         toolchain-artifact: public/build/winchecksec.tar.zst | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|  | @ -279,7 +279,7 @@ win64-winchecksec: | ||||||
|             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" |             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" | ||||||
|     run: |     run: | ||||||
|         script: build-winchecksec.sh |         script: build-winchecksec.sh | ||||||
|         toolchain-artifact: public/build/winchecksec.tar.bz2 |         toolchain-artifact: public/build/winchecksec.tar.zst | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|  | @ -311,7 +311,7 @@ win64-mozmake: | ||||||
|     worker-type: b-win2012 |     worker-type: b-win2012 | ||||||
|     run: |     run: | ||||||
|         script: build-mozmake.sh |         script: build-mozmake.sh | ||||||
|         toolchain-artifact: public/build/mozmake.tar.bz2 |         toolchain-artifact: public/build/mozmake.tar.zst | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|     fetches: |     fetches: | ||||||
|         fetch: |         fetch: | ||||||
|  |  | ||||||
|  | @ -8,7 +8,7 @@ job-defaults: | ||||||
|         max-run-time: 1800 |         max-run-time: 1800 | ||||||
|     run-on-projects: [trunk] |     run-on-projects: [trunk] | ||||||
|     run: |     run: | ||||||
|         toolchain-artifact: public/build/nasm.tar.bz2 |         toolchain-artifact: public/build/nasm.tar.zst | ||||||
| 
 | 
 | ||||||
| win64-nasm: | win64-nasm: | ||||||
|     description: "nasm win64 build" |     description: "nasm win64 build" | ||||||
|  |  | ||||||
|  | @ -13,7 +13,7 @@ job-defaults: | ||||||
|     run: |     run: | ||||||
|         script: build-resourcemonitor.sh |         script: build-resourcemonitor.sh | ||||||
|         sparse-profile: null |         sparse-profile: null | ||||||
|         toolchain-artifact: public/build/resource-monitor.tar.xz |         toolchain-artifact: public/build/resource-monitor.tar.zst | ||||||
| 
 | 
 | ||||||
| linux64-resource-monitor: | linux64-resource-monitor: | ||||||
|     description: "linux64 resourcemonitor toolchain build" |     description: "linux64 resourcemonitor toolchain build" | ||||||
|  |  | ||||||
|  | @ -17,7 +17,7 @@ linux64-rust-size: | ||||||
|         symbol: TL(rust-size) |         symbol: TL(rust-size) | ||||||
|     worker-type: b-linux |     worker-type: b-linux | ||||||
|     run: |     run: | ||||||
|         toolchain-artifact: public/build/rust-size.tar.xz |         toolchain-artifact: public/build/rust-size.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-rust-1.47 |             - linux64-rust-1.47 | ||||||
|  | @ -30,7 +30,7 @@ win64-rust-size: | ||||||
|         env: |         env: | ||||||
|             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" |             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" | ||||||
|     run: |     run: | ||||||
|         toolchain-artifact: public/build/rust-size.tar.bz2 |         toolchain-artifact: public/build/rust-size.tar.zst | ||||||
|         resources: |         resources: | ||||||
|             - 'taskcluster/scripts/misc/tooltool-download.sh' |             - 'taskcluster/scripts/misc/tooltool-download.sh' | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|  |  | ||||||
|  | @ -23,7 +23,7 @@ linux64-sccache: | ||||||
|     worker: |     worker: | ||||||
|         max-run-time: 1800 |         max-run-time: 1800 | ||||||
|     run: |     run: | ||||||
|         toolchain-artifact: public/build/sccache.tar.xz |         toolchain-artifact: public/build/sccache.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-rust-1.47 |             - linux64-rust-1.47 | ||||||
|  | @ -39,7 +39,7 @@ macosx64-sccache: | ||||||
|         max-run-time: 1800 |         max-run-time: 1800 | ||||||
|     run: |     run: | ||||||
|         arguments: ['x86_64-apple-darwin'] |         arguments: ['x86_64-apple-darwin'] | ||||||
|         toolchain-artifact: public/build/sccache.tar.xz |         toolchain-artifact: public/build/sccache.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-rust-macos-1.47 |             - linux64-rust-macos-1.47 | ||||||
|  | @ -56,7 +56,7 @@ macosx64-aarch64-sccache: | ||||||
|         max-run-time: 1800 |         max-run-time: 1800 | ||||||
|     run: |     run: | ||||||
|         arguments: ['aarch64-apple-darwin'] |         arguments: ['aarch64-apple-darwin'] | ||||||
|         toolchain-artifact: public/build/sccache.tar.xz |         toolchain-artifact: public/build/sccache.tar.zst | ||||||
|     fetches: |     fetches: | ||||||
|         toolchain: |         toolchain: | ||||||
|             - linux64-rust-macos-1.49 |             - linux64-rust-macos-1.49 | ||||||
|  | @ -74,7 +74,7 @@ win64-sccache: | ||||||
|         env: |         env: | ||||||
|             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" |             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/vs2017-15.9.manifest" | ||||||
|     run: |     run: | ||||||
|         toolchain-artifact: public/build/sccache.tar.bz2 |         toolchain-artifact: public/build/sccache.tar.zst | ||||||
|         resources: |         resources: | ||||||
|             - 'taskcluster/scripts/misc/tooltool-download.sh' |             - 'taskcluster/scripts/misc/tooltool-download.sh' | ||||||
|         tooltool-downloads: internal |         tooltool-downloads: internal | ||||||
|  |  | ||||||
|  | @ -43,7 +43,8 @@ RUN /usr/local/sbin/setup_packages.sh $TASKCLUSTER_ROOT_URL $DOCKER_IMAGE_PACKAG | ||||||
|       python3-zstandard \ |       python3-zstandard \ | ||||||
|       python3-psutil \ |       python3-psutil \ | ||||||
|       vim-tiny \ |       vim-tiny \ | ||||||
|       xz-utils |       xz-utils \ | ||||||
|  |       zstd | ||||||
| 
 | 
 | ||||||
| # %include testing/mozharness/external_tools/robustcheckout.py | # %include testing/mozharness/external_tools/robustcheckout.py | ||||||
| COPY topsrcdir/testing/mozharness/external_tools/robustcheckout.py /usr/local/mercurial/robustcheckout.py | COPY topsrcdir/testing/mozharness/external_tools/robustcheckout.py /usr/local/mercurial/robustcheckout.py | ||||||
|  |  | ||||||
|  | @ -16,4 +16,4 @@ export PATH=$PATH:$MOZ_FETCHES_DIR/node/bin | ||||||
| # browsertime/{package.json,node_modules}. | # browsertime/{package.json,node_modules}. | ||||||
| mkdir -p  /builds/worker/artifacts | mkdir -p  /builds/worker/artifacts | ||||||
| cd tools | cd tools | ||||||
| tar cjf /builds/worker/artifacts/browsertime.tar.bz2 browsertime | tar caf /builds/worker/artifacts/browsertime.tar.zst browsertime | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ set -x -e -v | ||||||
| 
 | 
 | ||||||
| # This script is for building libbreakpadinjector.so, currently for linux only | # This script is for building libbreakpadinjector.so, currently for linux only | ||||||
| 
 | 
 | ||||||
| COMPRESS_EXT=xz | COMPRESS_EXT=zst | ||||||
| 
 | 
 | ||||||
| cd $GECKO_PATH | cd $GECKO_PATH | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -3,14 +3,11 @@ set -x -e -v | ||||||
| 
 | 
 | ||||||
| # Needed by osx-cross-linker. | # Needed by osx-cross-linker. | ||||||
| export TARGET="$1" | export TARGET="$1" | ||||||
|  | COMPRESS_EXT=zst | ||||||
| 
 | 
 | ||||||
| case "$(uname -s)" in | case "$(uname -s)" in | ||||||
| Linux) |  | ||||||
|     COMPRESS_EXT=xz |  | ||||||
|     ;; |  | ||||||
| MINGW*) | MINGW*) | ||||||
|     UPLOAD_DIR=$PWD/public/build |     UPLOAD_DIR=$PWD/public/build | ||||||
|     COMPRESS_EXT=bz2 |  | ||||||
| 
 | 
 | ||||||
|     . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh |     . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh | ||||||
| 
 | 
 | ||||||
|  | @ -49,7 +46,7 @@ cargo build --verbose --release --target "$TARGET" | ||||||
| 
 | 
 | ||||||
| mkdir cbindgen | mkdir cbindgen | ||||||
| cp target/$TARGET/release/cbindgen* cbindgen/ | cp target/$TARGET/release/cbindgen* cbindgen/ | ||||||
| tar -acf cbindgen.tar.$COMPRESS_EXT cbindgen | tar -c cbindgen | python3 $GECKO_PATH/taskcluster/scripts/misc/zstdpy > cbindgen.tar.$COMPRESS_EXT | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp cbindgen.tar.$COMPRESS_EXT $UPLOAD_DIR | cp cbindgen.tar.$COMPRESS_EXT $UPLOAD_DIR | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -94,4 +94,4 @@ done) | ||||||
| 
 | 
 | ||||||
| # Put a tarball in the artifacts dir | # Put a tarball in the artifacts dir | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| tar cJf $UPLOAD_DIR/cctools.tar.xz -C $CROSSTOOLS_BUILD_DIR/.. `basename $CROSSTOOLS_BUILD_DIR` | tar caf $UPLOAD_DIR/cctools.tar.zst -C $CROSSTOOLS_BUILD_DIR/.. `basename $CROSSTOOLS_BUILD_DIR` | ||||||
|  |  | ||||||
|  | @ -2,7 +2,7 @@ | ||||||
| set -x -e -v | set -x -e -v | ||||||
| 
 | 
 | ||||||
| # This script is for building a custom version of V8 | # This script is for building a custom version of V8 | ||||||
| ARTIFACT_NAME='d8.zip' | ARTIFACT_NAME='d8.tar.zst' | ||||||
| CONFIG='is_debug=false target_cpu="x64"' | CONFIG='is_debug=false target_cpu="x64"' | ||||||
| if [[ $# -eq 0 ]]; then | if [[ $# -eq 0 ]]; then | ||||||
|     echo "Using default configuration for v8 build." |     echo "Using default configuration for v8 build." | ||||||
|  | @ -41,7 +41,7 @@ cp -R v8/out/release d8 | ||||||
| cp -R v8/include d8 | cp -R v8/include d8 | ||||||
| chmod -R +x d8 | chmod -R +x d8 | ||||||
| 
 | 
 | ||||||
| zip -r $ARTIFACT_NAME d8 | tar caf $ARTIFACT_NAME d8 | ||||||
| 
 | 
 | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp $ARTIFACT_NAME $UPLOAD_DIR | cp $ARTIFACT_NAME $UPLOAD_DIR | ||||||
|  |  | ||||||
|  | @ -5,14 +5,11 @@ PROJECT=dump_syms | ||||||
| # Needed by osx-cross-linker. | # Needed by osx-cross-linker. | ||||||
| export TARGET=$1 | export TARGET=$1 | ||||||
| 
 | 
 | ||||||
|  | COMPRESS_EXT=zst | ||||||
| # This script is for building dump_syms | # This script is for building dump_syms | ||||||
| case "$(uname -s)" in | case "$(uname -s)" in | ||||||
| Linux) |  | ||||||
|     COMPRESS_EXT=xz |  | ||||||
|     ;; |  | ||||||
| MINGW*) | MINGW*) | ||||||
|     UPLOAD_DIR=$PWD/public/build |     UPLOAD_DIR=$PWD/public/build | ||||||
|     COMPRESS_EXT=bz2 |  | ||||||
| 
 | 
 | ||||||
|     . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh |     . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh | ||||||
|     ;; |     ;; | ||||||
|  | @ -65,7 +62,7 @@ if [ -n "$TARGET" ]; then | ||||||
|     PROJECT_OUT=target/${TARGET}/release/${PROJECT}* |     PROJECT_OUT=target/${TARGET}/release/${PROJECT}* | ||||||
| fi | fi | ||||||
| cp ${PROJECT_OUT} ${PROJECT}/ | cp ${PROJECT_OUT} ${PROJECT}/ | ||||||
| tar -acf ${PROJECT}.tar.$COMPRESS_EXT $PROJECT | tar -c $PROJECT | python3 $GECKO_PATH/taskcluster/scripts/misc/zstdpy > ${PROJECT}.tar.$COMPRESS_EXT | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp ${PROJECT}.tar.$COMPRESS_EXT $UPLOAD_DIR | cp ${PROJECT}.tar.$COMPRESS_EXT $UPLOAD_DIR | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -6,10 +6,10 @@ PROJECT=fix-stacks | ||||||
| 
 | 
 | ||||||
| export TARGET="$1" | export TARGET="$1" | ||||||
| 
 | 
 | ||||||
|  | COMPRESS_EXT=zst | ||||||
| case "$TARGET" in | case "$TARGET" in | ||||||
| x86_64-unknown-linux-gnu) | x86_64-unknown-linux-gnu) | ||||||
|     EXE= |     EXE= | ||||||
|     COMPRESS_EXT=xz |  | ||||||
|     # {CC,CXX} and TARGET_{CC,CXX} must be set because a build.rs file builds |     # {CC,CXX} and TARGET_{CC,CXX} must be set because a build.rs file builds | ||||||
|     # some C and C++ code. |     # some C and C++ code. | ||||||
|     export CC=$MOZ_FETCHES_DIR/clang/bin/clang |     export CC=$MOZ_FETCHES_DIR/clang/bin/clang | ||||||
|  | @ -21,7 +21,6 @@ x86_64-unknown-linux-gnu) | ||||||
| *-apple-darwin) | *-apple-darwin) | ||||||
|     # Cross-compiling for Mac on Linux. |     # Cross-compiling for Mac on Linux. | ||||||
|     EXE= |     EXE= | ||||||
|     COMPRESS_EXT=xz |  | ||||||
|     # {CC,CXX} and TARGET_{CC,CXX} must be set because a build.rs file builds |     # {CC,CXX} and TARGET_{CC,CXX} must be set because a build.rs file builds | ||||||
|     # some C and C++ code. |     # some C and C++ code. | ||||||
|     export CC=$MOZ_FETCHES_DIR/clang/bin/clang |     export CC=$MOZ_FETCHES_DIR/clang/bin/clang | ||||||
|  | @ -37,7 +36,6 @@ x86_64-unknown-linux-gnu) | ||||||
| i686-pc-windows-msvc) | i686-pc-windows-msvc) | ||||||
|     # Cross-compiling for Windows on Linux. |     # Cross-compiling for Windows on Linux. | ||||||
|     EXE=.exe |     EXE=.exe | ||||||
|     COMPRESS_EXT=bz2 |  | ||||||
|     # Some magic that papers over differences in case-sensitivity/insensitivity on Linux |     # Some magic that papers over differences in case-sensitivity/insensitivity on Linux | ||||||
|     # and Windows file systems. |     # and Windows file systems. | ||||||
|     export LD_PRELOAD="/builds/worker/fetches/liblowercase/liblowercase.so" |     export LD_PRELOAD="/builds/worker/fetches/liblowercase/liblowercase.so" | ||||||
|  |  | ||||||
|  | @ -59,5 +59,5 @@ if test "$MAC_CROSS" = "" -a "$(uname)" = "Linux"; then | ||||||
| fi | fi | ||||||
| cp out/gn $STAGE | cp out/gn $STAGE | ||||||
| 
 | 
 | ||||||
| tar -acf gn.tar.$COMPRESS_EXT $STAGE | tar -c $STAGE | python3 $GECKO_PATH/taskcluster/scripts/misc/zstdpy > gn.tar.$COMPRESS_EXT | ||||||
| cp gn.tar.$COMPRESS_EXT $UPLOAD_DIR | cp gn.tar.$COMPRESS_EXT $UPLOAD_DIR | ||||||
|  |  | ||||||
|  | @ -4,7 +4,7 @@ set -e -v | ||||||
| # This script is for building GN on Linux. | # This script is for building GN on Linux. | ||||||
| 
 | 
 | ||||||
| WORKSPACE=$HOME/workspace | WORKSPACE=$HOME/workspace | ||||||
| COMPRESS_EXT=xz | COMPRESS_EXT=zst | ||||||
| export CC=$MOZ_FETCHES_DIR/gcc/bin/gcc | export CC=$MOZ_FETCHES_DIR/gcc/bin/gcc | ||||||
| export CXX=$MOZ_FETCHES_DIR/gcc/bin/g++ | export CXX=$MOZ_FETCHES_DIR/gcc/bin/g++ | ||||||
| export LDFLAGS=-lrt | export LDFLAGS=-lrt | ||||||
|  |  | ||||||
|  | @ -4,7 +4,7 @@ set -e -v | ||||||
| # This script is for building GN. | # This script is for building GN. | ||||||
| 
 | 
 | ||||||
| WORKSPACE=$HOME/workspace | WORKSPACE=$HOME/workspace | ||||||
| COMPRESS_EXT=xz | COMPRESS_EXT=zst | ||||||
| 
 | 
 | ||||||
| CROSS_CCTOOLS_PATH=$MOZ_FETCHES_DIR/cctools | CROSS_CCTOOLS_PATH=$MOZ_FETCHES_DIR/cctools | ||||||
| CROSS_SYSROOT=$MOZ_FETCHES_DIR/MacOSX10.12.sdk | CROSS_SYSROOT=$MOZ_FETCHES_DIR/MacOSX10.12.sdk | ||||||
|  |  | ||||||
|  | @ -4,11 +4,10 @@ set -x -e -v | ||||||
| # This script is for building grcov | # This script is for building grcov | ||||||
| 
 | 
 | ||||||
| PROJECT=grcov | PROJECT=grcov | ||||||
|  | COMPRESS_EXT=zst | ||||||
| 
 | 
 | ||||||
| case "$(uname -s)" in | case "$(uname -s)" in | ||||||
| Linux) | Linux) | ||||||
|     COMPRESS_EXT=xz |  | ||||||
| 
 |  | ||||||
|     export CC=clang |     export CC=clang | ||||||
|     export CXX=clang++ |     export CXX=clang++ | ||||||
|     export RUSTFLAGS=-Clinker=clang++ |     export RUSTFLAGS=-Clinker=clang++ | ||||||
|  | @ -18,7 +17,6 @@ Linux) | ||||||
|     ;; |     ;; | ||||||
| MINGW*) | MINGW*) | ||||||
|     UPLOAD_DIR=$PWD/public/build |     UPLOAD_DIR=$PWD/public/build | ||||||
|     COMPRESS_EXT=bz2 |  | ||||||
| 
 | 
 | ||||||
|     . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh |     . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh | ||||||
|     ;; |     ;; | ||||||
|  | @ -39,7 +37,7 @@ cargo build --verbose --release | ||||||
| mkdir $PROJECT | mkdir $PROJECT | ||||||
| cp target/release/${PROJECT}* ${PROJECT}/ | cp target/release/${PROJECT}* ${PROJECT}/ | ||||||
| pushd $PROJECT | pushd $PROJECT | ||||||
| tar -acf ../${PROJECT}.tar.$COMPRESS_EXT * | tar -c * | python3 $GECKO_PATH/taskcluster/scripts/misc/zstdpy > ../${PROJECT}.tar.$COMPRESS_EXT | ||||||
| popd | popd | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp ${PROJECT}.tar.$COMPRESS_EXT $UPLOAD_DIR | cp ${PROJECT}.tar.$COMPRESS_EXT $UPLOAD_DIR | ||||||
|  |  | ||||||
|  | @ -31,4 +31,4 @@ cat >$STAGE/README<<EOF | ||||||
| Source is available as a taskcluster artifact: | Source is available as a taskcluster artifact: | ||||||
| $queue_base/task/$(python -c 'import json, os; print "{task}/artifacts/{artifact}".format(**next(f for f in json.loads(os.environ["MOZ_FETCHES"]) if "libdmg-hfsplus" in f["artifact"]))') | $queue_base/task/$(python -c 'import json, os; print "{task}/artifacts/{artifact}".format(**next(f for f in json.loads(os.environ["MOZ_FETCHES"]) if "libdmg-hfsplus" in f["artifact"]))') | ||||||
| EOF | EOF | ||||||
| tar cf - -C $WORKSPACE `basename $STAGE` | xz > $UPLOAD_DIR/dmg.tar.xz | tar caf $UPLOAD_DIR/dmg.tar.zst -C $WORKSPACE `basename $STAGE` | ||||||
|  |  | ||||||
|  | @ -14,6 +14,6 @@ cargo build --verbose --release --target-dir $WORKSPACE/obj | ||||||
| mkdir $WORKSPACE/liblowercase | mkdir $WORKSPACE/liblowercase | ||||||
| cp $WORKSPACE/obj/release/liblowercase.so $WORKSPACE/liblowercase | cp $WORKSPACE/obj/release/liblowercase.so $WORKSPACE/liblowercase | ||||||
| strip $WORKSPACE/liblowercase/liblowercase.so | strip $WORKSPACE/liblowercase/liblowercase.so | ||||||
| tar -C $WORKSPACE -acf $WORKSPACE/liblowercase.tar.xz liblowercase | tar -C $WORKSPACE -acf $WORKSPACE/liblowercase.tar.zst liblowercase | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp $WORKSPACE/liblowercase.tar.xz $UPLOAD_DIR | cp $WORKSPACE/liblowercase.tar.zst $UPLOAD_DIR | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ cmake \ | ||||||
| 
 | 
 | ||||||
| ninja dsymutil llvm-symbolizer | ninja dsymutil llvm-symbolizer | ||||||
| 
 | 
 | ||||||
| tar --xform='s,^,llvm-dsymutil/,' -Jcf llvm-dsymutil.tar.xz bin/dsymutil bin/llvm-symbolizer | tar --xform='s,^,llvm-dsymutil/,' -caf llvm-dsymutil.tar.zst bin/dsymutil bin/llvm-symbolizer | ||||||
| 
 | 
 | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp llvm-dsymutil.tar.xz $UPLOAD_DIR | cp llvm-dsymutil.tar.zst $UPLOAD_DIR | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ set -x -e -v | ||||||
| 
 | 
 | ||||||
| # This script is for building mar and mbsdiff | # This script is for building mar and mbsdiff | ||||||
| 
 | 
 | ||||||
| COMPRESS_EXT=xz | COMPRESS_EXT=zst | ||||||
| 
 | 
 | ||||||
| cd $GECKO_PATH | cd $GECKO_PATH | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -19,7 +19,7 @@ cp dll/d3dcompiler_47_32.dll $INSTALL_DIR/bin/d3dcompiler_47.dll | ||||||
| # -------------- | # -------------- | ||||||
| 
 | 
 | ||||||
| cd $WORKSPACE | cd $WORKSPACE | ||||||
| tar caf fxc2.tar.xz fxc2 | tar caf fxc2.tar.zst fxc2 | ||||||
| 
 | 
 | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp fxc2.tar.* $UPLOAD_DIR | cp fxc2.tar.* $UPLOAD_DIR | ||||||
|  |  | ||||||
|  | @ -41,7 +41,7 @@ scons XGCC_W32_PREFIX=i686-w64-mingw32- ZLIB_W32=../zlib-1.2.11 SKIPUTILS="NSIS | ||||||
| 
 | 
 | ||||||
| cd $MOZ_FETCHES_DIR | cd $MOZ_FETCHES_DIR | ||||||
| 
 | 
 | ||||||
| tar caf nsis.tar.xz mingw32 | tar caf nsis.tar.zst mingw32 | ||||||
| 
 | 
 | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp nsis.tar.* $UPLOAD_DIR | cp nsis.tar.* $UPLOAD_DIR | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ set -x -e -v | ||||||
| 
 | 
 | ||||||
| # This script is for building minidump_stackwalk | # This script is for building minidump_stackwalk | ||||||
| 
 | 
 | ||||||
| COMPRESS_EXT=xz | COMPRESS_EXT=zst | ||||||
| 
 | 
 | ||||||
| cd $GECKO_PATH | cd $GECKO_PATH | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -56,8 +56,8 @@ cmd /c build_w32.bat | ||||||
| mkdir mozmake | mkdir mozmake | ||||||
| cp WinRel/gnumake.exe mozmake/mozmake.exe | cp WinRel/gnumake.exe mozmake/mozmake.exe | ||||||
| 
 | 
 | ||||||
| tar -acf mozmake.tar.bz2 mozmake | tar -c mozmake | python3 $GECKO_PATH/taskcluster/scripts/misc/zstdpy > mozmake.tar.zst | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp mozmake.tar.bz2 $UPLOAD_DIR | cp mozmake.tar.zst $UPLOAD_DIR | ||||||
| 
 | 
 | ||||||
| . $GECKO_PATH/taskcluster/scripts/misc/vs-cleanup.sh | . $GECKO_PATH/taskcluster/scripts/misc/vs-cleanup.sh | ||||||
|  |  | ||||||
|  | @ -1,7 +1,7 @@ | ||||||
| #!/bin/bash | #!/bin/bash | ||||||
| set -x -e -v | set -x -e -v | ||||||
| 
 | 
 | ||||||
| COMPRESS_EXT=bz2 | COMPRESS_EXT=zst | ||||||
| 
 | 
 | ||||||
| if [ -n "$TOOLTOOL_MANIFEST" ]; then | if [ -n "$TOOLTOOL_MANIFEST" ]; then | ||||||
|   . $GECKO_PATH/taskcluster/scripts/misc/tooltool-download.sh |   . $GECKO_PATH/taskcluster/scripts/misc/tooltool-download.sh | ||||||
|  |  | ||||||
|  | @ -2,7 +2,7 @@ | ||||||
| set -x -e -v | set -x -e -v | ||||||
| 
 | 
 | ||||||
| cd "$MOZ_FETCHES_DIR"/resource-monitor/ || exit 1 | cd "$MOZ_FETCHES_DIR"/resource-monitor/ || exit 1 | ||||||
| COMPRESS_EXT=xz | COMPRESS_EXT=zst | ||||||
| 
 | 
 | ||||||
| PATH="$MOZ_FETCHES_DIR/go/bin:$PATH" | PATH="$MOZ_FETCHES_DIR/go/bin:$PATH" | ||||||
| export PATH | export PATH | ||||||
|  |  | ||||||
|  | @ -2,15 +2,14 @@ | ||||||
| set -x -e -v | set -x -e -v | ||||||
| 
 | 
 | ||||||
| PROJECT=rust-size | PROJECT=rust-size | ||||||
|  | COMPRESS_EXT=zst | ||||||
| 
 | 
 | ||||||
| # This script is for building rust-size | # This script is for building rust-size | ||||||
| case "$(uname -s)" in | case "$(uname -s)" in | ||||||
| Linux) | Linux) | ||||||
|     COMPRESS_EXT=xz |  | ||||||
|     ;; |     ;; | ||||||
| MINGW*) | MINGW*) | ||||||
|     UPLOAD_DIR=$PWD/public/build |     UPLOAD_DIR=$PWD/public/build | ||||||
|     COMPRESS_EXT=bz2 |  | ||||||
| 
 | 
 | ||||||
|     . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh |     . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh | ||||||
|     ;; |     ;; | ||||||
|  | @ -30,7 +29,7 @@ cargo build --verbose --release | ||||||
| 
 | 
 | ||||||
| mkdir $PROJECT | mkdir $PROJECT | ||||||
| cp target/release/${PROJECT}* ${PROJECT}/ | cp target/release/${PROJECT}* ${PROJECT}/ | ||||||
| tar -acf ${PROJECT}.tar.$COMPRESS_EXT $PROJECT | tar -c $PROJECT | python3 $GECKO_PATH/taskcluster/scripts/misc/zstdpy > ${PROJECT}.tar.$COMPRESS_EXT | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp ${PROJECT}.tar.$COMPRESS_EXT $UPLOAD_DIR | cp ${PROJECT}.tar.$COMPRESS_EXT $UPLOAD_DIR | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -6,14 +6,13 @@ export TARGET="$1" | ||||||
| 
 | 
 | ||||||
| # This script is for building sccache | # This script is for building sccache | ||||||
| 
 | 
 | ||||||
|  | COMPRESS_EXT=zst | ||||||
| case "$(uname -s)" in | case "$(uname -s)" in | ||||||
| Linux) | Linux) | ||||||
|     COMPRESS_EXT=xz |  | ||||||
|     PATH="$MOZ_FETCHES_DIR/binutils/bin:$PATH" |     PATH="$MOZ_FETCHES_DIR/binutils/bin:$PATH" | ||||||
|     ;; |     ;; | ||||||
| MINGW*) | MINGW*) | ||||||
|     UPLOAD_DIR=$PWD/public/build |     UPLOAD_DIR=$PWD/public/build | ||||||
|     COMPRESS_EXT=bz2 |  | ||||||
| 
 | 
 | ||||||
|     . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh |     . $GECKO_PATH/taskcluster/scripts/misc/vs-setup.sh | ||||||
|     ;; |     ;; | ||||||
|  | @ -65,7 +64,7 @@ fi | ||||||
| 
 | 
 | ||||||
| mkdir sccache | mkdir sccache | ||||||
| cp $SCCACHE_OUT sccache/ | cp $SCCACHE_OUT sccache/ | ||||||
| tar -acf sccache.tar.$COMPRESS_EXT sccache | tar -c sccache | python3 $GECKO_PATH/taskcluster/scripts/misc/zstdpy > sccache.tar.$COMPRESS_EXT | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp sccache.tar.$COMPRESS_EXT $UPLOAD_DIR | cp sccache.tar.$COMPRESS_EXT $UPLOAD_DIR | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -20,7 +20,7 @@ cp upx.out $INSTALL_DIR/bin/upx | ||||||
| # -------------- | # -------------- | ||||||
| 
 | 
 | ||||||
| cd $WORKSPACE | cd $WORKSPACE | ||||||
| tar caf upx.tar.xz upx | tar caf upx.tar.zst upx | ||||||
| 
 | 
 | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp upx.tar.* $UPLOAD_DIR | cp upx.tar.* $UPLOAD_DIR | ||||||
|  |  | ||||||
|  | @ -49,5 +49,5 @@ eval cmake \ | ||||||
| ninja -v | ninja -v | ||||||
| 
 | 
 | ||||||
| cd .. | cd .. | ||||||
| tar -caf winchecksec.tar.bz2 winchecksec/winchecksec${TOOLTOOL_MANIFEST:+.exe} | tar -caf winchecksec.tar.zst winchecksec/winchecksec${TOOLTOOL_MANIFEST:+.exe} | ||||||
| cp winchecksec.tar.bz2 $UPLOAD_DIR/ | cp winchecksec.tar.zst $UPLOAD_DIR/ | ||||||
|  |  | ||||||
|  | @ -23,7 +23,7 @@ make install | ||||||
| # -------------- | # -------------- | ||||||
| 
 | 
 | ||||||
| cd $WORKSPACE/ | cd $WORKSPACE/ | ||||||
| tar caf wine.tar.xz wine | tar caf wine.tar.zst wine | ||||||
| 
 | 
 | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| cp wine.tar.* $UPLOAD_DIR | cp wine.tar.* $UPLOAD_DIR | ||||||
|  |  | ||||||
|  | @ -6,4 +6,4 @@ set -x -e -v | ||||||
| mkdir pdbstr | mkdir pdbstr | ||||||
| cp "c:/Program Files (x86)/Windows Kits/10/Debuggers/$1/srcsrv/pdbstr.exe" pdbstr | cp "c:/Program Files (x86)/Windows Kits/10/Debuggers/$1/srcsrv/pdbstr.exe" pdbstr | ||||||
| 
 | 
 | ||||||
| tar -jcvf pdbstr.tar.bz2 pdbstr | tar -c pdbstr | python3 $GECKO_PATH/taskcluster/scripts/misc/zstdpy > pdbstr.tar.zst | ||||||
|  |  | ||||||
|  | @ -25,4 +25,4 @@ ci-scripts/install-meson.sh | ||||||
| mv meson wrench-deps/meson | mv meson wrench-deps/meson | ||||||
| 
 | 
 | ||||||
| mkdir -p $UPLOAD_DIR | mkdir -p $UPLOAD_DIR | ||||||
| tar caf $UPLOAD_DIR/wrench-deps.tar.bz2 wrench-deps | tar caf $UPLOAD_DIR/wrench-deps.tar.zst wrench-deps | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Mike Hommey
						Mike Hommey