Make targets

David Holmes david.holmes at oracle.com
Sun Apr 11 12:44:40 UTC 2021


On 9/04/2021 9:42 pm, Jesper Wilhelmsson wrote:
> Hi,
> 
> I'm writing a section about building the JDK from source and need some inspiration :-)
> 
> What make targets do you normally use and why?

That will be highly developer dependent. :)

Perhaps a target often overlooked until one tries to executes tests that 
need it is test-image.

When fixing a bug I commonly use "make jdk-image test-image" so I can 
test the fix.

When working on bigger code changes that likely need a lot of 
edit-compile cycles I'll get "make hotspot" working first.

Cheers,
David

> Thanks!
> /Jesper
> 


More information about the guide-dev mailing list