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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "c9cc8035eb4fbf5d20a73ec7e0870e6195012a71"
    LLVM_SHA256 = "d402730b4d4b287876c36e72a6eb0c76ce1af38d8e33c2837d03aa198f1655c1"

    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
-c9cc8035eb4fbf5d20a73ec7e0870e6195012a71%22%0A    LLVM_SHA256 = %22d402730b4d4b287876c36e72a6eb0c76ce1af38d8e33c2837d03aa198f1655c1
+de2cc2a00298a952aeee1883086e4c614259333a%22%0A    LLVM_SHA256 = %221461e0d3b89e26225078ec334daa9a5ea6104b04c0860a829f737c005fb42d99
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@de2cc2a00298