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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "9e088effae5f1db520f24403233b908d31e0695a"
    LLVM_SHA256 = "31849644712c05d3427a7d0528094080dc49a3ada621e78eb09911d22833d96c"

    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
-9e088effae5f1db520f24403233b908d31e0695a%22%0A    LLVM_SHA256 = %2231849644712c05d3427a7d0528094080dc49a3ada621e78eb09911d22833d96c
+0cf888514454350cd97ab79cdb4a73e7f189eea0%22%0A    LLVM_SHA256 = %22515bd27c1e4dda74603237a84e89b1c31b96aa91934fefb196b98bf18a443991
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@0cf888514454