7132779: build-infra merge: Enable ccache to work for most developer builds.
Summary: When a build number is not specified, the JRE_RELEASE_VERSION define contains a date and timestamp. Thus ccache cannot cache the object files for longer than a minute since the define is passed to the compilation of all source files. This change passes JRE_RELEASE_VERSION only to vm_version.cpp and adds a function jre_release_version() to Abstract_VM_Version. This allows all other source files to be ccached.
Reviewed-by: ohair, rottenha
Contributed-by: fredrik.ohrstrom@oracle.com
author |
ohrstrom |
date |
Tue, 31 Jan 2012 13:12:39 +0100 |
parents |
a61af66fc99e |
children |
|
rev |
line source |
0
|
1 README:
|
|
2 This file should be located at the top of the hotspot Mercurial repository.
|
|
3
|
|
4 See http://openjdk.java.net/ for more information about the OpenJDK.
|
|
5
|
|
6 See ../README-builds.html for complete details on build machine requirements.
|
|
7
|
|
8 Simple Build Instructions:
|
|
9
|
|
10 cd make && gnumake
|
|
11
|
|
12 The files that will be imported into the jdk build will be in the "build"
|
|
13 directory.
|
|
14
|