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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "b9076d119a5b2d380d8868ee5e4dc4fdc5ba04a6"
    LLVM_SHA256 = "7b862e13751468eda5794b2df0047898f1ce7bad7ced6e10861ca8422a7b0841"

    tfrt_http_archive(
        name = name,
        sha256 = LLVM_SHA256,
        strip_prefix = "llvm-project-" + 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),
        ],
        link_files = {
            "//third_party/llvm:llvm.autogenerated.BUILD": "llvm/BUILD",
            "//third_party/mlir:BUILD": "mlir/BUILD",
            "//third_party/mlir:test.BUILD": "mlir/test/BUILD",
        },
    )

@@ -162,133 +162,133 @@
  = %22
-b9076d119a5b2d380d8868ee5e4dc4fdc5ba04a6%22%0A    LLVM_SHA256 = %227b862e13751468eda5794b2df0047898f1ce7bad7ced6e10861ca8422a7b0841
+eb6429d0fb94fd467e03d229177ae6ff3a44e3cc%22%0A    LLVM_SHA256 = %22dfd4ba4e5454037971938958646d2d597d33e2807cf5b7a0368c6b730e171dc7
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@eb6429d0fb94