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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "11d144c57642ff9a7f393bc6a4809f75007ff73f"
    LLVM_SHA256 = "d0c4135ca7674fbe30a9b9439460b93b4d5ad0ffef110ed6d5cce3311f370dc9"

    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
-11d144c57642ff9a7f393bc6a4809f75007ff73f%22%0A    LLVM_SHA256 = %22d0c4135ca7674fbe30a9b9439460b93b4d5ad0ffef110ed6d5cce3311f370dc9
+de9611befeebeb85324062cb1ae8978a82a09e26%22%0A    LLVM_SHA256 = %22750c636ed39b1ea9676978a6aa4abaad77764b4cc5a1f3edf0416086b5a542ce
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@de9611befeeb