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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "48d868493fa74025e7768afacdbbbd3ea9c82468"
    LLVM_SHA256 = "542019be2fa6734121b3d3b562f10b2e74972c1e99c8d7108ab9b470ded288c4"

    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
-48d868493fa74025e7768afacdbbbd3ea9c82468%22%0A    LLVM_SHA256 = %22542019be2fa6734121b3d3b562f10b2e74972c1e99c8d7108ab9b470ded288c4
+ea15b862d77ed0f163d97735f45b7683ad86ffc9%22%0A    LLVM_SHA256 = %221b7948461c8921e8a6c6b1cac7c451235709934d9169d3e9c0fcdf804b76526d
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@ea15b862d77e