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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "7aafe467d2aa6307d34c5762b8c3bf843d713737"
    LLVM_SHA256 = "d2554c28a57dc6c5fdfe6f96e57c6416a47a92e359f420df7637cdc125a932a9"

    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
-7aafe467d2aa6307d34c5762b8c3bf843d713737%22%0A    LLVM_SHA256 = %22d2554c28a57dc6c5fdfe6f96e57c6416a47a92e359f420df7637cdc125a932a9
+47e2644c89b3be6faa0f5cc4c70ef96ec295da9a%22%0A    LLVM_SHA256 = %22ee4f51735482367c56e5cf02e5f957b067fe0841929746c848e07cb8d0c53396
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@47e2644c89b3