[OE-core] [RFC PATCH] cmake: use Ninja backend instead of Make

Randy MacLeod randy.macleod at windriver.com
Thu Jan 18 03:04:58 UTC 2018


On 2018-01-17 09:59 PM, Randy MacLeod wrote:
> On 2018-01-17 04:43 PM, Burton, Ross wrote:
>> There appears to be a small number of upstreams that break with ninja, 
>> so I'll rework this patch so that the backend is an option but default 
>> to Ninja.
> 
> The only failure that involved a cmake based package was piglit
> for my qemux86-64 world build.
> 
> It didn't install:
>    make: Entering directory 
> '/.../tmp-glibc/work/core2-64-wrs-linux/piglit/1.0+gitrAUTOINC+c8f4fd9eeb-r0/build' 
> 
> make: *** No rule to make target 'install/strip'.  Stop.
> 
> so that might not be related to this change. I haven't manually done
> a world build on master recently.

Apparently already fixed by Ross in master-next:

commit 9fec5ef920bd63fe3cc2e623add0c7aead95ecae
Author: Ross Burton <ross.burton at intel.com>
Date:   Tue Jan 16 13:25:16 2018 +0000

     piglit: override install target name instead of do_install

../Randy

> 
> As expected using ninja for the back-end of cmake just makes the
> builds faster.
> 


-- 
# Randy MacLeod.  WR Linux
# Wind River an Intel Company



More information about the Openembedded-core mailing list