Re: [OE-core] RFC: Separate build dir for autotools

2014-02-26 Thread Nicolas Dechesne
Ross, On Tue, Feb 25, 2014 at 11:10 PM, Nicolas Dechesne nicolas.deche...@linaro.org wrote: oops. you're right. it's fixed in both dora and master. in fact i got hit by that on dylan... but they i switched to dora anyways... so this one is fine. I guess i spoke too quickly... i just retried a

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-26 Thread Martin Jansa
On Mon, Feb 24, 2014 at 04:27:04PM +, Richard Purdie wrote: On Mon, 2014-02-24 at 17:09 +0100, Martin Jansa wrote: On Mon, Feb 24, 2014 at 03:41:11PM +, Burton, Ross wrote: On 24 February 2014 15:27, Martin Jansa martin.ja...@gmail.com wrote: Can we start by adding include

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-26 Thread Burton, Ross
On 26 February 2014 19:11, Martin Jansa martin.ja...@gmail.com wrote: Is it supposed to work correctly in incremental builds? Today I've seen couple of components failing in do_configure and building fine after manual clean, interesting part of log is that autotools.bbclass was actually trying

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-26 Thread Phil Blundell
On Wed, 2014-02-26 at 19:54 +, Burton, Ross wrote: Unless, of course, you work out where configure is looking to bail on this test, and if we can safely remove it on rebuilds. I don't think there's any safe way of defeating that configure check other than to properly clean ${S}. You could

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-25 Thread Burton, Ross
On 25 February 2014 05:46, Khem Raj raj.k...@gmail.com wrote: b) We introduce an autotools2 class and have recipes inherit that. This version would default to separate builddirs. It does mean change to all the good recipes rather than the broken ones though and hence a fair bit of churn.

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-25 Thread Khem Raj
On Tue, Feb 25, 2014 at 1:52 AM, Burton, Ross ross.bur...@intel.com wrote: On 25 February 2014 05:46, Khem Raj raj.k...@gmail.com wrote: b) We introduce an autotools2 class and have recipes inherit that. This version would default to separate builddirs. It does mean change to all the good

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-25 Thread Nicolas Dechesne
On Mon, Feb 24, 2014 at 5:09 PM, Martin Jansa martin.ja...@gmail.com wrote: That list is opt-in and mainly covers oe-core, so this gets tested every time the YP autobuilder does a world build. We need a meta-oe world build where autotools.bbclass sets B=${WORKDIR}/build: it's literally just

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-25 Thread Burton, Ross
On 25 February 2014 17:36, Nicolas Dechesne nicolas.deche...@linaro.org wrote: right. I have recently (on dora) noticed that mesa build is broken when using separate build dir, i have the following extra config: PACKAGECONFIG_append = gallium gallium-egl gallium-gbm gallium-llvm since

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-25 Thread Nicolas Dechesne
On Tue, Feb 25, 2014 at 7:43 PM, Burton, Ross ross.bur...@intel.com wrote: On 25 February 2014 17:36, Nicolas Dechesne nicolas.deche...@linaro.org wrote: right. I have recently (on dora) noticed that mesa build is broken when using separate build dir, i have the following extra config:

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-24 Thread Otavio Salvador
Hello Richard, On Mon, Feb 24, 2014 at 11:58 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: For a while poky and others have been using the seperatebuilddir.inc file. This makes ${S} != ${B} and means that ${B} can be wiped when configuration changes. This helps deal with the

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-24 Thread Burton, Ross
On 24 February 2014 15:27, Martin Jansa martin.ja...@gmail.com wrote: Can we start by adding include conf/distro/include/seperatebuilddir.inc to conf/distro/defaultsetup.conf ? so that more people start using it and possibly report issues in their builds? That list is opt-in and mainly

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-24 Thread Martin Jansa
On Mon, Feb 24, 2014 at 03:41:11PM +, Burton, Ross wrote: On 24 February 2014 15:27, Martin Jansa martin.ja...@gmail.com wrote: Can we start by adding include conf/distro/include/seperatebuilddir.inc to conf/distro/defaultsetup.conf ? so that more people start using it and possibly

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-24 Thread Richard Purdie
On Mon, 2014-02-24 at 17:09 +0100, Martin Jansa wrote: On Mon, Feb 24, 2014 at 03:41:11PM +, Burton, Ross wrote: On 24 February 2014 15:27, Martin Jansa martin.ja...@gmail.com wrote: Can we start by adding include conf/distro/include/seperatebuilddir.inc to

Re: [OE-core] RFC: Separate build dir for autotools

2014-02-24 Thread Khem Raj
On Mon, Feb 24, 2014 at 6:58 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: For a while poky and others have been using the seperatebuilddir.inc file. This makes ${S} != ${B} and means that ${B} can be wiped when configuration changes. This helps deal with the fact that