Partial rebuilds?

Erik Joelsson erik.joelsson at oracle.com
Mon Jul 9 08:40:14 PDT 2012


On 2012-07-09 01:00, David Holmes wrote:
> Actually I don't need to do it this way at all. Today I discovered the 
> *-only targets. So I can just do "cd $OUTPUTDIR && make hotspot-only"
>
> Now if only there were clean-*-only targets. I changed a hotspot 
> makefile and needed to rebuild and of course it didn't. So I deleted 
> $OUTPUTDIR/hotspot, which of course caused a rebuild, but in the 
> process broke other things - specifically the rest of the build was 
> unhappy that hotspot/dist got deleted. So I had to do a full clean and 
> rebuilt anyway.
>
I'm sure we can improve on the behavior in these cases. I would expect 
deleting $OUTPUTDIR/hotspot to work pretty well.

/Erik




More information about the build-infra-dev mailing list