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

Weijun Wang weijun.wang at oracle.com
Thu Apr 12 18:10:18 PDT 2012


I'm trying it on my Linux x64 now. The first feeling is that my computer 
is slowed down a lot more than the old build. The 4 CPUs all show a near 
100% usage (it's building hotspot now). The guide says I can adjust it 
with --with-num-cores, but it's only available for configure time and 
not make, right?

Also, the build output directory name is 
build/linux-x64-normal-server-release/, the executables are in 
build/linux-x64-normal-server-release/jdk/bin, and images in 
build/linux-x64-normal-server-release/images/j2sdk-image. All my 
existing scripts need to be modified.

Thanks
Max

On 04/12/2012 11:45 PM, Kelly O'Hair wrote:
>
> On Apr 12, 2012, at 2: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
>
> FYI...
>
> I had to adjust this to:
>
>     chmod a+x ../bin/*
>     bash ../autoconf/configure
>
> The OpenJDK repositories do not allow any files with execute permissions.
>
> -kto
>
>>   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 jdk8-dev mailing list