Re: zero build slow

2017-11-23 Thread Thomas Stüfe
On Thu, Nov 23, 2017 at 10:42 AM, Severin Gehwolf wrote: > Hi Thomas, > > On Wed, 2017-11-22 at 17:26 +0100, Thomas Stüfe wrote: > > Hi guys, > > > > thanks for your help. > > > > I think the reason is the combination of zero+slowdebug and the fact that > > we run our own

Re: zero build slow

2017-11-23 Thread Andrew Haley
On 22/11/17 17:09, Erik Joelsson wrote: > There is a configure option: > >   --with-build-jdk    path to JDK of same version as is being built[the >   newly built JDK] > > If set, this jdk is used instead of the newly built jdk for any tool > that needs to run,

Re: zero build slow

2017-11-23 Thread Severin Gehwolf
Hi Thomas, On Wed, 2017-11-22 at 17:26 +0100, Thomas Stüfe wrote: > Hi guys, > > thanks for your help. > > I think the reason is the combination of zero+slowdebug and the fact that > we run our own binaries during build (at least this is true for jmod). > > I am building on Ubuntu 16.4,

Re: zero build slow

2017-11-22 Thread John Paul Adrian Glaubitz
On 11/22/2017 04:42 PM, Andrew Haley wrote: On 22/11/17 15:40, John Paul Adrian Glaubitz wrote: This builds Zero within 5 minutes, building the Server variant takes about the same time. On an AMD Threadripper 1950X, the build takes only about 2 minutes for both variants. You're not making the

Re: zero build slow

2017-11-22 Thread Thomas Stüfe
On Wed, Nov 22, 2017 at 6:09 PM, Erik Joelsson wrote: > Hello, > > On 2017-11-22 08:30, Thomas Stüfe wrote: > >> On Wed, Nov 22, 2017 at 4:40 PM, Andrew Haley wrote: >> >> On 22/11/17 15:29, Thomas Stüfe wrote: >>> when building zero on Linux x64,

Re: zero build slow

2017-11-22 Thread Erik Joelsson
Hello, On 2017-11-22 08:30, Thomas Stüfe wrote: On Wed, Nov 22, 2017 at 4:40 PM, Andrew Haley wrote: On 22/11/17 15:29, Thomas Stüfe wrote: when building zero on Linux x64, I notice that the build is extremely slow, due to what I assume is jmod ran from the built image,

Re: zero build slow

2017-11-22 Thread Andrew Haley
On 22/11/17 16:30, Thomas Stüfe wrote: >> Hmm, I wonder if you could cross-compile the JDK from x86 native -> x86 >> zero. >> > Does it have to be from the same build? If I build zero and normal product > from the same head, could I not use the jmod from the product build for > zero? Possibly.

Re: zero build slow

2017-11-22 Thread Thomas Stüfe
On Wed, Nov 22, 2017 at 4:40 PM, Andrew Haley wrote: > On 22/11/17 15:29, Thomas Stüfe wrote: > > when building zero on Linux x64, I notice that the build is extremely > slow, > > due to what I assume is jmod ran from the built image, which would only > run > > interpreted? Is

Re: zero build slow

2017-11-22 Thread Thomas Stüfe
Hi guys, thanks for your help. I think the reason is the combination of zero+slowdebug and the fact that we run our own binaries during build (at least this is true for jmod). I am building on Ubuntu 16.4, "normal" machine (i7, 16G ram, ssd). Normally my builds take ~5-10 minutes. My configure

Re: zero build slow

2017-11-22 Thread Andrew Haley
On 22/11/17 15:40, John Paul Adrian Glaubitz wrote: > This builds Zero within 5 minutes, building the Server variant takes about > the same time. On an AMD Threadripper 1950X, the build takes only about > 2 minutes for both variants. You're not making the images. -- Andrew Haley Java Platform

Re: zero build slow

2017-11-22 Thread Andrew Haley
On 22/11/17 15:29, Thomas Stüfe wrote: > when building zero on Linux x64, I notice that the build is extremely slow, > due to what I assume is jmod ran from the built image, which would only run > interpreted? Is my guess true, and if yes, is it possible to use a > different jmod? I assume it is

Re: zero build slow

2017-11-22 Thread John Paul Adrian Glaubitz
Hi Thomas! On 11/22/2017 04:29 PM, Thomas Stüfe wrote: when building zero on Linux x64, I notice that the build is extremely slow, due to what I assume is jmod ran from the built image, which would only run interpreted? Is my guess true, and if yes, is it possible to use a different jmod? I

zero build slow

2017-11-22 Thread Thomas Stüfe
Hi all, when building zero on Linux x64, I notice that the build is extremely slow, due to what I assume is jmod ran from the built image, which would only run interpreted? Is my guess true, and if yes, is it possible to use a different jmod? I assume it is not possible to use jmod from the build