[PATCH] D131470: [release] Use threaded compression with xz
Tobias Hieta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 9 01:12:37 PDT 2022
thieta created this revision.
thieta added a reviewer: tstellar.
Herald added a project: All.
thieta requested review of this revision.
Herald added a project: LLVM.
Use xz -T0 to use your threads
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131470
Files:
llvm/utils/release/export.sh
Index: llvm/utils/release/export.sh
===================================================================
--- llvm/utils/release/export.sh
+++ llvm/utils/release/export.sh
@@ -112,7 +112,7 @@
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 @@
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
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131470.451061.patch
Type: text/x-patch
Size: 968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220809/6d0342e0/attachment.bin>
More information about the llvm-commits
mailing list