mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
7132779: build-infra merge: Enable ccache to work for most developer builds
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
This commit is contained in:
parent
76dfe7f707
commit
301215b860
5 changed files with 23 additions and 3 deletions
|
@ -71,6 +71,7 @@ class Abstract_VM_Version: AllStatic {
|
|||
|
||||
// Internal version providing additional build information
|
||||
static const char* internal_vm_info_string();
|
||||
static const char* jre_release_version();
|
||||
|
||||
// does HW support an 8-byte compare-exchange operation?
|
||||
static bool supports_cx8() {return _supports_cx8;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue