[llvm-branch-commits] [llvm] c7f38c3 - test-release.sh: Use parallel xz for packaging the binaries

Tobias Hieta via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 27 06:32:16 PST 2023


Author: Tom Stellard
Date: 2023-01-27T15:30:26+01:00
New Revision: c7f38c3f6e1d56b6324af3d2a9acb9eea7266539

URL: https://github.com/llvm/llvm-project/commit/c7f38c3f6e1d56b6324af3d2a9acb9eea7266539
DIFF: https://github.com/llvm/llvm-project/commit/c7f38c3f6e1d56b6324af3d2a9acb9eea7266539.diff

LOG: test-release.sh: Use parallel xz for packaging the binaries

Reviewed By: amyk, dim, hans

Differential Revision: https://reviews.llvm.org/D142417

(cherry picked from commit 009048810ac635a7ad6c5f788d537172418b6054)

Added: 
    

Modified: 
    llvm/utils/release/test-release.sh

Removed: 
    


################################################################################
diff  --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 0818cb8613dd1..dad4dbff4d994 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -533,7 +533,7 @@ function package_release() {
     if [ "$use_gzip" = "yes" ]; then
       tar cf - $Package | gzip -9c > $BuildDir/$Package.tar.gz
     else
-      tar cf - $Package | xz -9ce > $BuildDir/$Package.tar.xz
+      tar cf - $Package | xz -9ce -T $NumJobs > $BuildDir/$Package.tar.xz
     fi
     mv $Package llvmCore-$Release-$RC.install/usr/local
     cd $cwd


        


More information about the llvm-branch-commits mailing list