summaryrefslogtreecommitdiff
path: root/script/build/release/src
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-02 22:40:57 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-03 01:53:35 +0100
commitcec37747b75ee8e7fa146ff061b6a5d4aea98309 (patch)
tree457921d3dae777bcb0be744d8ed4285be6a67c98 /script/build/release/src
parentb4b63adb50db065df143b5e8a4e772d99f878b14 (diff)
build/release/*: use -T0 in xz, for multithreading
The -T option specifies how many threads xz shall use. The -T value of zero shall dictate that xz use so many threads as there are CPUs, on the host system. This will probably speed up the release process a bit. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/release/src')
-rwxr-xr-xscript/build/release/src2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/build/release/src b/script/build/release/src
index db737d2d..4d5c3efe 100755
--- a/script/build/release/src
+++ b/script/build/release/src
@@ -196,7 +196,7 @@ create_release_archive()
err "create_release_archive: can't create ${dirname}/versiondate"
printf "%s\n" "${projectname}" > "${dirname}/projectname" || \
err "create_release_archive: can't create ${dirname}/projectname"
- tar -c "${dirname}/" | xz -9e >"${dirname}.tar.xz" || \
+ tar -c "${dirname}/" | xz -T0 -9e >"${dirname}.tar.xz" || \
err "create_release_archive: can't create ${dirname}.tar.xz"
rm -Rf "${dirname}/" || \
err "create_release_archive 5: !rm -Rf ${dirname}/"