Author: Tobias Hieta Date: 2022-08-25T21:17:11+02:00 New Revision: d3ba48998f450cdba136d76a95614dce46a2a15f
URL: https://github.com/llvm/llvm-project/commit/d3ba48998f450cdba136d76a95614dce46a2a15f DIFF: https://github.com/llvm/llvm-project/commit/d3ba48998f450cdba136d76a95614dce46a2a15f.diff LOG: [release] Use threaded compression with xz Use xz -T0 to use your threads Reviewed By: tstellar Differential Revision: https://reviews.llvm.org/D131470 Added: Modified: llvm/utils/release/export.sh Removed: ################################################################################ diff --git a/llvm/utils/release/export.sh b/llvm/utils/release/export.sh index 223c0f3ccfde0..75b52e88ebff2 100755 --- a/llvm/utils/release/export.sh +++ b/llvm/utils/release/export.sh @@ -112,7 +112,7 @@ export_sources() { echo "$rc" > $target_dir/llvm-rc-$yyyymmdd.txt echo "$git_rev" > $target_dir/llvm-git-revision-$yyyymmdd.txt - git archive --prefix=llvm-project-$release$rc.src/ $tree_id . | xz >$target_dir/$(template_file llvm-project) + git archive --prefix=llvm-project-$release$rc.src/ $tree_id . | xz -T0 >$target_dir/$(template_file llvm-project) popd if [ -z "$snapshot" ]; then @@ -131,7 +131,7 @@ export_sources() { for proj in $projects; do echo "Creating tarball for $proj ..." pushd $llvm_src_dir/$proj - git archive --prefix=$proj-$release$rc.src/ $tree_id . | xz >$target_dir/$(template_file $proj) + git archive --prefix=$proj-$release$rc.src/ $tree_id . | xz -T0 >$target_dir/$(template_file $proj) popd done } _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits