All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: Separate build dir for autotools
@ 2014-02-24 14:58 Richard Purdie
  2014-02-24 15:06 ` Otavio Salvador
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Richard Purdie @ 2014-02-24 14:58 UTC (permalink / raw)
  To: openembedded-core

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 autotools and friends are not
particular good at rebuilding things that change. The recent libcheck
upgrade which broke bluez4 builds is but one example of the kind of
problem we can hit. Sadly bluez4 doesn't work for S!=B so it didn't
protect against that issue but it does protect other packages.

I'd really love to switch the default in autotools.bbclass to make this
the default and then have broken packages opt out of it.

I can deal with OE-Core and make sure the metadata there is updated, my
bigger worry is what this would do to other layers.

The options I can see are therefore basically:

a) We change the default in autotools.bbclass and fix things that break

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.

Have we got the willpower to fix a)? is b) an option? Other ideas?

One way or another I think we should try and switch things somehow...

Cheers,

Richard



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-02-26 20:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-24 14:58 RFC: Separate build dir for autotools Richard Purdie
2014-02-24 15:06 ` Otavio Salvador
2014-02-24 15:27 ` Martin Jansa
2014-02-24 15:41   ` Burton, Ross
2014-02-24 16:09     ` Martin Jansa
2014-02-24 16:27       ` Richard Purdie
2014-02-26 19:11         ` Martin Jansa
2014-02-26 19:54           ` Burton, Ross
2014-02-26 20:20             ` Phil Blundell
2014-02-25 17:36       ` Nicolas Dechesne
2014-02-25 18:43         ` Burton, Ross
2014-02-25 22:10           ` Nicolas Dechesne
2014-02-26 10:58             ` Nicolas Dechesne
2014-02-25  5:46 ` Khem Raj
2014-02-25  9:52   ` Burton, Ross
2014-02-25 16:32     ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.