Revert "niminst: use threaded compression when supported (#14455)" (#14462)

This reverts commit b749d58ea1.
This commit is contained in:
alaviss 2020-05-27 06:33:24 +00:00 • committed by GitHub
commit 0533c43547
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -700,10 +700,8 @@ RunProgram="tools\downloader.exe"
if execShellCmd("tar cf $1.tar $1" % proj) != 0:
echo("External program failed")
if execShellCmd("xz -T0 -9f $1.tar" % proj) != 0:
# Maybe the xz version is too old and doesn't support threading
if execShellCmd("xz -9f $1.tar" % proj) != 0:
echo("External program failed")
if execShellCmd("xz -9f $1.tar" % proj) != 0:
echo("External program failed")
finally:
setCurrentDir(oldDir)