Gentoo Archives: gentoo-devhelp

From: Mike Frysinger <vapier@g.o>
To: gentoo-devhelp@l.g.o
Subject: Re: [gentoo-devhelp] Re: How do I get just the "-j" part from MAKEOPTS?
Date: Fri, 11 May 2012 14:20:01
In Reply to: [gentoo-devhelp] Re: How do I get just the "-j" part from MAKEOPTS? by Torsten Veller
On Sunday 22 April 2012 15:23:42 Torsten Veller wrote:
> * Mike Frysinger <vapier@g.o>: > > On Monday 26 March 2012 22:43:43 Nikos Chantziaras wrote: > > > I have an ebuild that uses jam as its build system. jam supports > > > parallel builds with -jN. However, other make options are not > > > recognized. So in the ebuild, I can't just pass ${MAKEOPTS}. > > > > > > Is there a way to filter out just the "-jN" part of MAKEOPTS and pass > > > it on? > > > > i've committed makeopts_jobs to eutils.eclass for you to use > > You also changed other eclasses to use makeopts_jobs. > But makeopts_jobs currently doesn't support --jobs... in MAKEOPTS. > > Can you please add support for "--jobs[=jobs]" to makeopts_jobs?
i don't see much point in supporting --jobs as no one really uses that style, but i did it for the fun of writing sed anyways. the other examples didn't support the full make syntax either, so i fixed that in the process. -mike


File name MIME type
signature.asc application/pgp-signature