jdk8 makefile changes

Martijn Verburg martijnverburg at gmail.com
Sat Aug 11 04:44:37 PDT 2012


Hi all,

Forgot to send this in:

Ran on 10.7.2 OS X with latest Oracle JDK 7 binary as the
bootstrapper.  All ran fine, ../autoconf/configure did not have
execute permissions though, so had to chmod u+x it. Not sure if that's
a manual step you want people to take or not.

A couple of errors which didn't seem to stop anything was:

Generating source file: ComboBoxArrowButtonPainter.java
[Error] encoded value was less than 0: encode(-8.326673E-17, 5.0, 11.0, 16.0)

Generating source file: TabbedPaneTabAreaPainter.java
[Error] Encountered Infinity: encode(-0.00877193, 0.0, 7.0, 7.0)

There's a bunch of minor warnings as well, but a quick eyeball seemed
to indicate they were warnings under the new and older style builds,
we'll try to pick them off as part of the Adopt OpenJDK VM build.

Maxed out my 4 cores nicely, sounds like my MBP is about to take off
for Mars :-).

Cheers,
Martijn

On 9 July 2012 23:12, Kelly O'Hair <kelly.ohair at oracle.com> wrote:
> The jdk8/build forest has been in sync for a few days, so anyone willing to try the new build system with OpenJDK 8, please
> follow these instructions:
>
>      hg clone http://hg.openjdk.java.net/jdk8/build jdk8-build
>      cd jdk8-build
>      sh ./get_source.sh
>      cd common/makefiles
>      ../autoconf/configure
>      make images
>
> Let us know what works, what doesn't.
>
> Many of us will be concentrating on binary comparisons over the next few days to insure that we are building
> everything we did before, and the same content.
>
> -kto
>
> On Jul 3, 2012, at 11:38 AM, Kelly O'Hair wrote:
>
>>
>> Heads up...
>>
>> We expect to do a sync up of the jdk8/build forest with the latest in the build-infra forest in the next few days.
>>
>> As the new build-infra project starts getting more solid and we contemplate when we can switch
>> the default to building with the new build-infra Makefiles (we don't know exactly when yet).
>>
>>                **** IMPORTANT NOTICE ****
>> It will be important that *anyone* making *any* changes to the jdk8 Makefiles keep the build-dev
>> or build-infra mailing lists informed.
>> For a period of time we need to maintain two separate build mechanisms, and we want to make sure
>> that both build the same thing.
>> The hotspot repository is the one exception where we don't have two sets of makefiles, but we still
>> would like to know when anyone is changing the makefiles or anything to do with the build process.
>>              *****************************
>>
>> We will soon be running both builds and doing comparisons of the resulting j2sdk-image files from
>> both to insure we match. So if we detect differences we will be tracking down how those differences
>> happened (that's a hint that we will be watching :^).
>>
>> More information on the new build-infra Makefiles can be found at:
>>   http://openjdk.java.net/projects/build-infra/
>>
>> User Guide is at:
>>  http://openjdk.java.net/projects/build-infra/guide.html
>>
>> Some preliminary timings for building the product image (effectively, build/j2sdk-image/):
>>                                       OLD                     NEW build-infra times      (All estimates, similar VMs/Zones)
>> linux_i586                    (21m 59s)               (08m 13s)
>> linux_x64                     (13m 34s)               (07m 04s)
>> solaris_i586                  (26m 14s)               (11m 31s)
>> solaris_sparc                 (54m 02s)               (28m 21s)
>> windows_i586                  (55m 49s)               (32m 22s)  (old used MKS, build-infra only uses CYGWIN)
>> windows_x64                   (36m 36s)               (23m 50s)      "        "     "
>>
>> Notes:
>>  * Machines with more processors will reduce the build time for build-infra builds, less so with the old Makefiles.
>>  * Always use local disk or /tmp (all above timings use /tmp, always local disk)
>>  * Above uses VMs for Windows and Linux, raw hardware would be faster
>>  * Use of ccache can sometimes speed things up, but can also skew the timings,
>>      in the above measurements OLD used ccache, NEW did not.
>>
>> -kto
>



More information about the build-infra-dev mailing list