All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Another Buildroot Enhancement Suggestion (re-use base build)
@ 2015-07-16 12:48 Nimai Mahajan
  2015-07-17  7:04 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Nimai Mahajan @ 2015-07-16 12:48 UTC (permalink / raw)
  To: buildroot

I should have brought this up during the hackathon but it totally
slipped my mind. But anyways, here it goes: we use Buildroot for ~3-4
projects here at work and it's been great for us since it is very easy
to customize and build from the ground up. We generally compile our
builds from scratch, as is the Buildroot norm, and that works (I also
use CCACHE and external toolchain and that does help quite a bit) but
I was wondering if this could be even further sped up.

The use case is that our release builds for those 3-4 projects is
always the same (minus a slightly different fs overlay and 1-2
different packages). Is there any way or do you guys see any
usefulness in taking an already built "external base build" with all
the packages that subsequent builds will use and telling Buildroot
what to add on top of it? Basically, it doesn't make sense to me to
rebuild the entire thing when only a few files change. This is
probably a huge effort as I don't think a mechanism exists to do it
but I'm just looking for some comments/thoughts. Does this even make
sense or is there already a decent way to do this?

For release builds, this is not a major problem because builds only
take 5-10 min at most, but when you're compiling debug builds with
debugging symbols for various projects, this can add hours or even
days if builds fail. We have Jenkins running and pumping out builds
for us 24/7, and this would help a lot in testing, taking a prebuilt
base build and just recompiling our custom packages (for now, we do a
-dirclean on our packages and rebuild them every time which works for
the time being).

Thanks,
Nimai

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

end of thread, other threads:[~2015-07-17 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-16 12:48 [Buildroot] Another Buildroot Enhancement Suggestion (re-use base build) Nimai Mahajan
2015-07-17  7:04 ` Baruch Siach
2015-07-17 13:17   ` Nimai Mahajan

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.