summaryrefslogtreecommitdiff
path: root/script/build/release/roms
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/roms
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/roms')
-rwxr-xr-xscript/build/release/roms2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/build/release/roms b/script/build/release/roms
index 7be63e6d..c86fc79f 100755
--- a/script/build/release/roms
+++ b/script/build/release/roms
@@ -131,7 +131,7 @@ make_archive()
f="release/${version}/roms/${archivename}"
(
cd "${romdir%/bin/${target}}" || err "make_archive: can't cd to tmpdir"
- tar -c "bin/${target}/" | xz -9e > "${archivename}.tar.xz" || \
+ tar -c "bin/${target}/" | xz -T0 -9e > "${archivename}.tar.xz" || \
err "make_archive:cant make ${projectname}-${version}_${target##*/}"
)
cp "${romdir%/bin/${target}}/${archivename}.tar.xz" "${f}.tar.xz" || \