diff options
-rw-r--r-- | tensorflow/workspace.bzl | 8 | ||||
-rw-r--r-- | third_party/llvm/llvm.BUILD | 12 |
2 files changed, 5 insertions, 15 deletions
diff --git a/tensorflow/workspace.bzl b/tensorflow/workspace.bzl index 5dd27bcda0..0bb297e72e 100644 --- a/tensorflow/workspace.bzl +++ b/tensorflow/workspace.bzl @@ -460,11 +460,11 @@ def tf_workspace(path_prefix="", tf_repo_name=""): tf_http_archive( name = "llvm", urls = [ - "https://mirror.bazel.build/github.com/llvm-mirror/llvm/archive/1c3cdea2f181d8e14ee184466c5fb237f1b4cda8.tar.gz", - "https://github.com/llvm-mirror/llvm/archive/1c3cdea2f181d8e14ee184466c5fb237f1b4cda8.tar.gz", + "https://mirror.bazel.build/github.com/llvm-mirror/llvm/archive/7e78daafdd22f3f17720a103d29d89590534004e.tar.gz", + "https://github.com/llvm-mirror/llvm/archive/7e78daafdd22f3f17720a103d29d89590534004e.tar.gz", ], - sha256 = "1efbb9b05af88368be984d2f6526061d4a857181ef10f8841889a3a46869bb01", - strip_prefix = "llvm-1c3cdea2f181d8e14ee184466c5fb237f1b4cda8", + sha256 = "a6d94bd9de23515a1e3792a830421e3885977ea43d03427cdbe68f98cb7e0045", + strip_prefix = "llvm-7e78daafdd22f3f17720a103d29d89590534004e", build_file = clean_dep("//third_party/llvm:llvm.BUILD"), ) diff --git a/third_party/llvm/llvm.BUILD b/third_party/llvm/llvm.BUILD index 28293a3659..075b46896e 100644 --- a/third_party/llvm/llvm.BUILD +++ b/third_party/llvm/llvm.BUILD @@ -163,13 +163,6 @@ all_cmake_vars = select({ # Performs CMake variable substitutions on configuration header files. expand_cmake_vars( - name = "datatypes_gen", - src = "include/llvm/Support/DataTypes.h.cmake", - cmake_vars = all_cmake_vars, - dst = "include/llvm/Support/DataTypes.h", -) - -expand_cmake_vars( name = "config_gen", src = "include/llvm/Config/config.h.cmake", cmake_vars = all_cmake_vars, @@ -305,9 +298,7 @@ cc_binary( srcs = glob([ "utils/TableGen/*.cpp", "utils/TableGen/*.h", - ]) + [ - "lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h", - ], + ]), linkopts = [ "-lm", "-ldl", @@ -2014,7 +2005,6 @@ cc_library( "include/llvm/Support/WasmRelocs/*.def", ]) + [ "include/llvm/BinaryFormat/MachO.def", - "include/llvm/Support/DataTypes.h", "include/llvm/Support/VCSRevision.h", "include/llvm/ExecutionEngine/ObjectMemoryBuffer.h", ], |