Use more cores for package compression

This commit is contained in:
Deve 2022-01-05 23:50:12 +01:00
parent 364d387aa1
commit 5999ff94ab

View File

@ -631,7 +631,7 @@ create_package()
echo "Compress package..."
cd "$STK_INSTALL_DIR"
tar cf - "SuperTuxKart-$STK_VERSION-linux-$ARCH" | xz -z -e -f - > "SuperTuxKart-$STK_VERSION-linux-$ARCH.tar.xz"
tar cf - "SuperTuxKart-$STK_VERSION-linux-$ARCH" | xz -T$THREADS_NUMBER -z -e -f - > "SuperTuxKart-$STK_VERSION-linux-$ARCH.tar.xz"
cd -
}