diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-07-06 01:02:51 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-07-06 01:06:28 -0700 |
commit | f9d3e8e29e1e8bcb2cc254b5af2c523776a41713 (patch) | |
tree | 1190086f13d749cd99a5e1e71c83b8617f5471fd /third_party/llvm | |
parent | 66604b0355b32961f9a532792be2e008cc22221f (diff) |
Update llvm revision to r307064. Need this because of an Orc api change r307058.
Add a rule to generate an empty VCSRevision.h file to accomodate for r300160.
PiperOrigin-RevId: 161051888
Diffstat (limited to 'third_party/llvm')
-rw-r--r-- | third_party/llvm/llvm.BUILD | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/third_party/llvm/llvm.BUILD b/third_party/llvm/llvm.BUILD index 678626b374..3b13b297f8 100644 --- a/third_party/llvm/llvm.BUILD +++ b/third_party/llvm/llvm.BUILD @@ -257,6 +257,16 @@ cc_library( includes = ["include"], ) +# A creator of an empty file include/llvm/Support/VCSRevision.h. +# This is usually populated by the upstream build infrastructure, but in this +# case we leave it blank. See upstream revision r300160. +genrule( + name = "vcs_revision_gen", + srcs = [], + outs = ["include/llvm/Support/VCSRevision.h"], + cmd = "echo '' > \"$@\"", +) + # Rules that apply the LLVM tblgen tool. gentbl( name = "intrinsics_gen", @@ -1172,7 +1182,7 @@ cc_library( "include/llvm/IR/*.def", "include/llvm/IR/*.inc", "include/llvm/*.h", - ]), + ]) + ["include/llvm/Support/VCSRevision.h"], deps = [ ":attributes_compat_gen", ":attributes_gen", |