First build-infra push to jdk8 -- try out the new build system!

Henri Gomez henri.gomez at gmail.com
Sat Apr 21 12:34:01 UTC 2012


new build system is using autoconf ?

2012/4/21 Fredrik Öhrström <oehrstroem at gmail.com>:
> Ahem, it is well known that it builds on Mac but the resulting java
> launcher does not run.
> The LDFLAGS_JDKEXE is simply not correctly setup, a lot of important
> flags are missing.
> Why? Lack of time. :-)
>
> Anyone who has the time to fix the configure script? First build using
> the old makefiles, and log
> the output, check the flags, introduce the correct flags in configure.ac when
> setting LDFLAGS_JDKEXE
>
> If not, I will look into it as soon as I have time.
>
> //Fredrik
>
> 2012/4/21 Martijn Verburg <martijnverburg at gmail.com>:
>> Hi Henri,
>>
>> I believe so yes, Fredrik does have a Mac after all ;-)
>>
>> Cheers,
>> Martijn
>>
>>
>> On 21 April 2012 12:34, Henri Gomez <henri.gomez at gmail.com> wrote:
>>>
>>> New build system has been tested allready on OSX ?
>>>
>>> Le 21 avr. 2012 à 09:10, Fredrik Öhrström <oehrstroem at gmail.com> a écrit :
>>>
>>> > For the new build you have to explicitly choose release,fastdebug or
>>> > slowdebug.
>>> > (--with-debug-level=release,fastdebug or slowdebug)
>>> > So you do not need to turn off fastdebug, it defaults to release.
>>> >
>>> > As for the demos and samples. They compile so much faster that there is
>>> > no
>>> > point in turning them off. 10 seconds on my workstation, and during
>>> > the incremental
>>> > they take no detectable time at all.
>>> >
>>> > You probably want to do: --with-jvm-variants=server
>>> > when building on a 32bit machine since the default is client,server
>>> > (client,server,kernel on 32bit windows) And building extra libjvms does
>>> > take
>>> > a significant amount of time.
>>> >
>>> > //Fredrik
>>> >
>>> > 2012/4/21 Brian Goetz <brian.goetz at oracle.com>:
>>> >> Is there a list of "features" that can be turned on and off?  With the
>>> >> old
>>> >> build, I customize it with environment variables like
>>> >> SKIP_FASTDEBUG_BUILD,
>>> >> NO_DOCS, NO_SAMPLES, and NO_DEMOS, which shaves lots of time off the
>>> >> build.
>>> >>  Are there equivalent configure flags for these?
>>> >>
>>> >>
>>> >> On 4/12/2012 5:47 AM, Magnus Ihse Bursie wrote:
>>> >>>
>>> >>> The build-infra project [1] has been working for a while with creating
>>> >>> a
>>> >>> new build system. The goals of the project include, but are not
>>> >>> limited
>>> >>> to, improved build performance and improved ease of use.
>>> >>>
>>> >>> The first part of this project has now been pushed to the jdk8 master
>>> >>> forest. This means that the new build system is available for you to
>>> >>> try
>>> >>> out! The old build system is still there, and if you want to continue
>>> >>> to
>>> >>> use it, you will notice no difference (for now...).
>>> >>>
>>> >>> But if you are interested in trying the new build system, we welcome
>>> >>> you
>>> >>> to experiment with it! The basic operation is:
>>> >>> cd common/makefiles
>>> >>> ../autoconf/configure
>>> >>> make
>>> >>>
>>> >>> More information is available in the new build README [2]. If you want
>>> >>> to try the new build system, please read it first.
>>> >>>
>>> >>> Please note that the new build system is not yet complete. We do not
>>> >>> yet
>>> >>> have full platform support, nor are all parts of the old build
>>> >>> converted
>>> >>> (but then we fall back on the old build system), and there are likely
>>> >>> to
>>> >>> be bugs. Most of all, we need to have exposure on a wide range of
>>> >>> different build systems, since the reality is always so much messier
>>> >>> than you'd want to believe. :-) Please help us to resolve such issues
>>> >>> early by trying the new build system!
>>> >>>
>>> >>> Any questions or discussions on the new build system should be sent to
>>> >>> build-dev at openjdk.java.net.
>>> >>>
>>> >>> /Magnus
>>> >>>
>>> >>> [1] http://openjdk.java.net/projects/build-infra/index.html
>>> >>> [2] http://openjdk.java.net/projects/build-infra/guide.html
>>> >>>
>>> >>
>>
>>



More information about the build-dev mailing list