[PATCH] D34560: Completelly disable git/svn version checking if not needed

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 12:48:44 PDT 2017


pcc added a comment.

In https://reviews.llvm.org/D34560#855667, @rnk wrote:

> In https://reviews.llvm.org/D34560#789101, @pcc wrote:
>
> > Using `LLVM_APPEND_VC_REV` seems fine to me, but we probably want to update the documentation and most likely change the default because right now the VC revision affects ThinLTO cache invalidation, and we shouldn't silently use stale cache entries when clang is upgraded.
> >
> > @beanz any thoughts?
>
>
> I think we can revert the change to the default value of LLVM_APPEND_VC_REV. The VCS revision doesn't need to be included in LLVM_VERSION_STRING because ThinLTO includes VCSRevision.h to add LLVM_REVISION into the hash.


I thought that the purpose of this change was to make thinlto use LLVM_APPEND_VC_REV to control whether to add the VCS revision to the hash. Or do you think there should be a separate CMake variable to control whether thinlto uses the VCS revision?


https://reviews.llvm.org/D34560





More information about the llvm-commits mailing list