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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "81896f88cef4cfe1cf982250601a0c954344e1e8"
    LLVM_SHA256 = "2d89b97a4eff06504db27d3e5d82e261bb69d619bc7cf8dd476b901b85fce411"

    tfrt_http_archive(
        name = name,
        build_file = "//third_party/llvm:BUILD",
        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),
        ],
    )

@@ -162,133 +162,133 @@
  = %22
-81896f88cef4cfe1cf982250601a0c954344e1e8%22%0A    LLVM_SHA256 = %222d89b97a4eff06504db27d3e5d82e261bb69d619bc7cf8dd476b901b85fce411
+57dbca20eae8db0fd17cc59fe98c7804f02d6644%22%0A    LLVM_SHA256 = %22241d02e2b30baa9a4ae19d1e2b0e6e9ad7195237bdb3e9c96951268d0a183c24
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@57dbca20eae8