Howto re-compile ony parts?
Andrew Haley
aph at redhat.com
Sat May 10 16:57:35 UTC 2008
Martin Buchholz wrote:
> Unfortunately, incremental builds by running make in subdirectories
> have historically been quite unreliable, and it has never been highest priority
> to fix them. Developers often do (at least in the jdk repository)
> - try incremental build; it might work...
> - else back off to rebuilding everything;
> cd jdk/make; make clobber all
>
> You could try to fix all of the subdirectory makefiles, but that's an
> enormous job.
> For bonus points, you could try to fix the architecture of the
> recursive makes themselves
> using the ideas in "Recursive Make Considered Harmful"
> http://miller.emu.id.au/pmiller/books/rmch/
Mmm. Surely if anyone is going to hack on the makefiles the first thing
to do is to fix the dependencies so that "make -j" works properly.
Andrew.
More information about the build-dev
mailing list