How to disable demos

Ioi Lam ioi.lam at oracle.com
Thu May 15 04:53:22 UTC 2014


Hi Erik,

I need to build image and I do this quite often. On Windows, make demos 
takes a minute or so on a fast machine. It's not too long, but still 
kind of annoying.

I will try to save a copy of the various demos output and do something like

make jdk; unzip -D ../demos.zip; make images

- Ioi

On 5/13/14, 12:52 AM, Erik Joelsson wrote:
> Hello,
>
> No, not really. If you do "make jdk" (or just "make" which is the 
> same), demos aren't built. If you do "make images" or "make demos", 
> the demos are built. What is your usecase? If you don't need images, 
> then you are already skipping demos. If you need images, then demos 
> will be built the first time. Building the demos is quite fast these 
> days so we figured it would be better to reduce the complexity of 
> handling builds with or without demos.
>
> /Erik
>
> On 2014-05-13 05:00, Ioi Lam wrote:
>> I tried the NO_DEMOS flag as in 
>> https://bugs.openjdk.java.net/browse/JDK-7143162 "Allow disabling of 
>> jdk demos and samples build", but this seems to be in "old build" 
>> only, and doesn't affect the new build system.
>>
>> Is there an equivalent for the new build?
>>
>> Thanks
>>
>> - Ioi
>




More information about the build-dev mailing list