diff options
author | Reid Kleckner <rnk@google.com> | 2017-08-29 21:44:21 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-08-29 21:44:21 +0000 |
commit | b8ae2b132a9135ae95758b9993ef8c21ed1a41f1 (patch) | |
tree | 8606abb7c49d38106cdcca3f5f50fafee169b0a9 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | a058736c9c9204d5f9f67f8bb56aa4a943acf137 (diff) | |
download | llvm-b8ae2b132a9135ae95758b9993ef8c21ed1a41f1.zip llvm-b8ae2b132a9135ae95758b9993ef8c21ed1a41f1.tar.gz llvm-b8ae2b132a9135ae95758b9993ef8c21ed1a41f1.tar.bz2 |
[cmake] Stop putting the revision info in LLVM_VERSION_STRING
Summary:
This reduces the number of build actions after a no-op commit from
thousands to about six, which should be acceptable. If six actions is
still too many, developers can disable the LLVM_APPEND_VC_REV cmake
option.
llvm-config.h is a widely included header that should rarely change.
Before this patch, it would change after every re-configure. Very few
users of llvm-config.h need to know the precise version, and those that
do can migrate to incorporating LLVM_REVISION as provided by
llvm/Support/VCSRevision.h.
This should bring LLVM back to the behavior that it had before r306858
from June 30 2017. Most LLVM tools will now print a version string like
"6.0.0svn" instead of "6.0.0-git-c40c2a23de4".
Fixes PR34308
Reviewers: pcc, rafael, hans
Subscribers: mgorny, llvm-commits
Differential Revision: https://reviews.llvm.org/D37272
llvm-svn: 312043
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions