From f9d3e8e29e1e8bcb2cc254b5af2c523776a41713 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Thu, 6 Jul 2017 01:02:51 -0700 Subject: 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 --- third_party/llvm/llvm.BUILD | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'third_party/llvm') 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", -- cgit v1.2.3