New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better usage of ccache #53184
Merged
Merged
Better usage of ccache #53184
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
/// This file was autogenerated by CMake | ||
|
||
const char * VERSION_GITHASH = "@VERSION_GITHASH@"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
// only DBMS_TCP_PROTOCOL_VERSION should be incremented on protocol changes. | ||
#cmakedefine VERSION_REVISION @VERSION_REVISION@ | ||
#cmakedefine VERSION_NAME "@VERSION_NAME@" | ||
#define DBMS_NAME VERSION_NAME | ||
#cmakedefine VERSION_MAJOR @VERSION_MAJOR@ | ||
#cmakedefine VERSION_MINOR @VERSION_MINOR@ | ||
#cmakedefine VERSION_PATCH @VERSION_PATCH@ | ||
|
@@ -15,27 +14,10 @@ | |
#cmakedefine VERSION_OFFICIAL "@VERSION_OFFICIAL@" | ||
#cmakedefine VERSION_FULL "@VERSION_FULL@" | ||
#cmakedefine VERSION_DESCRIBE "@VERSION_DESCRIBE@" | ||
#cmakedefine VERSION_GITHASH "@VERSION_GITHASH@" | ||
#cmakedefine VERSION_INTEGER @VERSION_INTEGER@ | ||
#cmakedefine VERSION_DATE @VERSION_DATE@ | ||
|
||
#if defined(VERSION_MAJOR) | ||
#define DBMS_VERSION_MAJOR VERSION_MAJOR | ||
#else | ||
#define DBMS_VERSION_MAJOR 0 | ||
#endif | ||
|
||
#if defined(VERSION_MINOR) | ||
#define DBMS_VERSION_MINOR VERSION_MINOR | ||
#else | ||
#define DBMS_VERSION_MINOR 0 | ||
#endif | ||
|
||
#if defined(VERSION_PATCH) | ||
#define DBMS_VERSION_PATCH VERSION_PATCH | ||
#else | ||
#define DBMS_VERSION_PATCH 0 | ||
#endif | ||
/// These fields are frequently changing and we don't want to have them in the header file to allow caching. | ||
extern const char * VERSION_GITHASH; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The culprit is here. |
||
|
||
#if !defined(VERSION_OFFICIAL) | ||
# define VERSION_OFFICIAL "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ const char * auto_config_build[] | |
"SYSTEM", "@CMAKE_SYSTEM_NAME@", | ||
"VERSION_GITHASH", "@VERSION_GITHASH@", | ||
"VERSION_REVISION", "@VERSION_REVISION@", | ||
"VERSION_DATE", "@VERSION_DATE@", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This field was not used (obsolete). |
||
"BUILD_TYPE", "@CMAKE_BUILD_TYPE@", | ||
"SYSTEM_PROCESSOR", "@CMAKE_SYSTEM_PROCESSOR@", | ||
"CMAKE_VERSION", "@CMAKE_VERSION@", | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was redundant.