Skip to content

Commit 2ea7a47

Browse files
committed
[utils] Use parallel xz when creating the test-suite src package
This was not happening before because it's calling xz via tar instead of xz directly like the other source packages. This speeds up the compression a lot.
1 parent fd5fc76 commit 2ea7a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/release/export.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export_sources() {
123123
tar -C test-suite-$release$rc.src --strip-components=1 -xzf -
124124
fi
125125
echo "Creating tarball for test-suite ..."
126-
tar --sort=name --owner=0 --group=0 \
126+
XZ_OPT="-T0" tar --sort=name --owner=0 --group=0 \
127127
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \
128128
-cJf test-suite-$release$rc.src.tar.xz test-suite-$release$rc.src
129129
fi

0 commit comments

Comments
 (0)