[PATCH] D18987: Make available a macro LLVM_REVISION that is populated with the svn/git revision.

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 13:05:06 PDT 2016


silvas added a subscriber: silvas.
silvas requested changes to this revision.
silvas added a reviewer: silvas.
silvas added a comment.
This revision now requires changes to proceed.

This is sort of thorny.

The revision number will change every time I update my checkout, and llvm-config.h is pretty much at the root of the header dependency graph, so basically everything will be recompiled (this will e.g. make "incremental" buildbots useless).

On the other hand, if `LLVM_REVISION_STRING` is not updated on each checkout, then it is not reliable and that is sort of pointless.


http://reviews.llvm.org/D18987





More information about the llvm-commits mailing list