From: Peter Korsgaard Date: Mon, 21 Jan 2019 18:39:24 +0100 Subject: [Buildroot] [PATCH 1/1] fs/common.mk: enable multithreaded xz compression In-Reply-To: (James Hilliard's message of "Mon, 21 Jan 2019 07:05:14 -0700") References: <1548036475-25449-1-git-send-email-james.hilliard1@gmail.com> Message-ID: <871s55ykoj.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "James" == James Hilliard writes: > On Mon, Jan 21, 2019 at 7:02 AM Matthew Weber wrote: >> >> James, >> >> >> On Sun, Jan 20, 2019 at 8:08 PM wrote: >> > >> > From: James Hilliard >> > >> > xz help indicates only 1 thread is used unless we set threads: >> > -T, --threads=NUM use at most NUM threads; the default is 1; set to 0 >> > to use as many threads as there are processor cores >> > >> >> It's good to see xz now has support, but I assume there is a minimum >> version? We ran into this outside of Builroot on a project where we >> conditionally used the parallel "pxz" tool when available, as "xz" >> didn't have the -T support consistently in distros yet. > I thought it was using the version compiled by buildroot. > Isn't that what host-xz is being used for? Yes, correct. Do you know if the -T 0 option generates identical output as -T 1? Otherwise we may want to disable it for reproducible builds. -- Bye, Peter Korsgaard