diff options
author | Tim Jenssen <[email protected]> | 2024-01-17 20:12:05 +0100 |
---|---|---|
committer | Tim Jenssen <[email protected]> | 2024-01-17 19:13:03 +0000 |
commit | 8763a922746dd543b0232f83e386a5219081102d (patch) | |
tree | f0d32ceff01a45af0c81e041a10e5ddbbcf16e22 | |
parent | 1a76f3f6651a4609b3f0219fab1d8a14ae4de9c6 (diff) |
scripts: add zip_threads argument to every call
Change-Id: Ie3fabbea5e8082f73eac71d8c7650a82fa706b30
Reviewed-by: Tim Jenssen <[email protected]>
-rwxr-xr-x | scripts/build_plugin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build_plugin.py b/scripts/build_plugin.py index 4f4ddfdcb02..9469fc5dfea 100755 --- a/scripts/build_plugin.py +++ b/scripts/build_plugin.py @@ -147,15 +147,15 @@ def package(args, paths): if common.is_windows_platform() and args.sign_command: command = shlex.split(args.sign_command) common.check_print_call(command + [paths.install]) - common.check_print_call(['7z', 'a', '-mmt2', os.path.join(paths.result, args.name + '.7z'), '*'], + common.check_print_call(['7z', 'a', '-mmt' + args.zip_threads, os.path.join(paths.result, args.name + '.7z'), '*'], paths.install) if os.path.exists(paths.dev_install): # some plugins might not provide anything in Devel - common.check_print_call(['7z', 'a', '-mmt2', + common.check_print_call(['7z', 'a', '-mmt' + args.zip_threads, os.path.join(paths.result, args.name + '_dev.7z'), '*'], paths.dev_install) # check for existence - the DebugInfo install target doesn't work for telemetry plugin if args.with_debug_info and os.path.exists(paths.debug_install): - common.check_print_call(['7z', 'a', '-mmt2', + common.check_print_call(['7z', 'a', '-mmt' + args.zip_threads, os.path.join(paths.result, args.name + '-debug.7z'), '*'], paths.debug_install) if common.is_mac_platform() and common.codesign_call(): |