"""Provides the repository macro to import LLVM."""

load("//third_party:repo.bzl", "tf_http_archive")

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "5da6d26896d196cfbc992af32f82f8d2faf100c5"
    LLVM_SHA256 = "f3c25bdf515f3fa6d2f8e296f122cb72a7f1852bbf4de7b7d9406b3de34f87fb"

    tf_http_archive(
        name = name,
        sha256 = LLVM_SHA256,
        strip_prefix = "llvm-project-{commit}".format(commit = LLVM_COMMIT),
        urls = [
            "https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
            "https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT),
        ],
        build_file = "//third_party/llvm:llvm.BUILD",
        patch_file = ["//third_party/llvm:macos_build_fix.patch"],
        link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"},
    )

@@ -160,133 +160,133 @@
  = %22
-5da6d26896d196cfbc992af32f82f8d2faf100c5%22%0A    LLVM_SHA256 = %22f3c25bdf515f3fa6d2f8e296f122cb72a7f1852bbf4de7b7d9406b3de34f87fb
+9ebeac8613c6ddd521cfd9a5031b4aa40470c177%22%0A    LLVM_SHA256 = %22a68a38db63702b09ff9c480a079bfa197eb0a9d9eccdd6506c033690c49f0b01
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@9ebeac8613c6