[gentoo-dev] Re: Usage of dev-utils/ninja in ebuilds
On Sat, 25 May 2013 14:48:30 -0400 Mike Gilbert flop...@gentoo.org wrote: I'm wondering if we should create a more global function for calling ninja in a consistent way. Maybe we should introduce a NINJAOPTS variable for users to set in make.conf. Should we create a new eclass for this, or just stick it in eutils? Is NINJAOPTS a variable recognized by ninja or something that would be Gentoo specific? It'd be nice if you could parse out what you need from MAKEOPTS instead, but I have no strong feelings. If there's only two users in the tree right now I don't think an eclass is warranted. -- Ryan Hillpsn: dirtyepic_sk gcc-porting/toolchain/wxwidgets @ gentoo.org 47C3 6D62 4864 0E49 8E9E 7F92 ED38 BD49 957A 8463 signature.asc Description: PGP signature
Re: [gentoo-dev] Re: Usage of dev-utils/ninja in ebuilds
On 25/05/13 09:53 PM, Ryan Hill wrote: Is NINJAOPTS a variable recognized by ninja or something that would be Gentoo specific? MAKEOPTS is Gentoo-specific anyways. MAKEFLAGS is parsed by at least GNU make. signature.asc Description: OpenPGP digital signature
Re: [gentoo-dev] Re: Usage of dev-utils/ninja in ebuilds
On Sat, May 25, 2013 at 9:53 PM, Ryan Hill dirtye...@gentoo.org wrote: On Sat, 25 May 2013 14:48:30 -0400 Mike Gilbert flop...@gentoo.org wrote: I'm wondering if we should create a more global function for calling ninja in a consistent way. Maybe we should introduce a NINJAOPTS variable for users to set in make.conf. Should we create a new eclass for this, or just stick it in eutils? Is NINJAOPTS a variable recognized by ninja or something that would be Gentoo specific? It'd be nice if you could parse out what you need from MAKEOPTS instead, but I have no strong feelings. I was thinking of something like a eninja function, which would call ninja ${NINJAOPTS}. But parsing MAKEOPTS would probably work just as well. If there's only two users in the tree right now I don't think an eclass is warranted. I can't really see ninja use really expanding too much. Maybe I will wait a while and see if it happens.
[gentoo-dev] Re: Usage of dev-utils/ninja in ebuilds
On Sat, 25 May 2013 22:00:36 -0400 Alex Xu alex_y...@yahoo.ca wrote: On 25/05/13 09:53 PM, Ryan Hill wrote: Is NINJAOPTS a variable recognized by ninja or something that would be Gentoo specific? MAKEOPTS is Gentoo-specific anyways. MAKEFLAGS is parsed by at least GNU make. Yeah, so I'm saying we should use it if possible before introducing another variable. As a user you shouldn't have to know or care what build system a package uses, or have to set a half dozen variables to get consistent behaviour. -- Ryan Hillpsn: dirtyepic_sk gcc-porting/toolchain/wxwidgets @ gentoo.org 47C3 6D62 4864 0E49 8E9E 7F92 ED38 BD49 957A 8463 signature.asc Description: PGP signature