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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "62627c721732525a06da4292ca151e8e529911c6"
    LLVM_SHA256 = "58a03ffaa41abd09537786bcf72086e99bd5166b5c7164d5fff9c6d2e145641f"

    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
-62627c721732525a06da4292ca151e8e529911c6%22%0A    LLVM_SHA256 = %2258a03ffaa41abd09537786bcf72086e99bd5166b5c7164d5fff9c6d2e145641f
+d24e721debb074c68795c2b019cb51da690ab5f8%22%0A    LLVM_SHA256 = %22c11b563bd5f4cce5fdbdbe1c2ac0b3c8fc0dac39ff76f073247cbe23ed2bec6b
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@d24e721debb0