w6T0.xzdio -> w6T.xzdio

w6T0.xzdio results into 1 thread, w6T.xzdio - into multiple threads

See also:
https://patchwork.openembedded.org/patch/140380/
https://patchwork.openembedded.org/patch/140381/
This commit is contained in:
Mikhail Novosyolov 2018-12-25 05:25:43 +03:00
parent ddb5ae1420
commit 01fdf67249
2 changed files with 6 additions and 5 deletions

View file

@ -16,7 +16,7 @@ diff --git a/macros/mandriva.in b/macros/mandriva.in
index 3f742ad..958a869 100644 index 3f742ad..958a869 100644
--- a/macros/mandriva.in --- a/macros/mandriva.in
+++ b/macros/mandriva.in +++ b/macros/mandriva.in
@@ -127,8 +127,11 @@ @@ -127,8 +127,12 @@
# TODO: fix check script and implement support for using # TODO: fix check script and implement support for using
#%_multiarch_required_terminate_build 1 #%_multiarch_required_terminate_build 1
@ -24,9 +24,10 @@ index 3f742ad..958a869 100644
-%_binary_payload w5.xzdio -%_binary_payload w5.xzdio
+# use multithreaded XZ to compress binary and source packages +# use multithreaded XZ to compress binary and source packages
+# note: only liblzma >= 5.2 supports multithreaded xz +# note: only liblzma >= 5.2 supports multithreaded xz
+# xz level 6 (default) using 0 thread (0 means multithreading to as much CPU cores as possible) +# w6 is xz level 6 (default), T - threads
+%_binary_payload w6T0.xzdio +# note: w6T0.xzdio will result into 1 thread, w6T.xzdio will result into multiple threads!
+%_source_payload w6T0.xzdio +%_binary_payload w6T.xzdio
+%_source_payload w6T.xzdio
%_duplicate_files_terminate_build 1 %_duplicate_files_terminate_build 1
%_unpackaged_subdirs_terminate_build 0 %_unpackaged_subdirs_terminate_build 0

View file

@ -61,7 +61,7 @@ Summary: The RPM package management system
Name: rpm Name: rpm
Epoch: 1 Epoch: 1
Version: %{libver}.%{minorver} Version: %{libver}.%{minorver}
Release: %{?prereldate:0.%{prereldate}.}82 Release: %{?prereldate:0.%{prereldate}.}83
License: LGPLv2.1+ License: LGPLv2.1+
Group: System/Configuration/Packaging Group: System/Configuration/Packaging
Url: http://rpm5.org/ Url: http://rpm5.org/