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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "0b1aee38bd2ffbf9f4f70e95c7cb18031d282544"
    LLVM_SHA256 = "2e89ca842a8ea0f040100449e27428f8bf78b8fc6485bfd7657c74386d2aa7e9"

    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
-0b1aee38bd2ffbf9f4f70e95c7cb18031d282544%22%0A    LLVM_SHA256 = %222e89ca842a8ea0f040100449e27428f8bf78b8fc6485bfd7657c74386d2aa7e9
+4004fb6453d9cee1fc0160d6ebac62fa8e898131%22%0A    LLVM_SHA256 = %22faec068929d9f039b3f65d8f074bfbee4d9bdc0829b50f7848b110f2bf7c3383
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@4004fb6453d9