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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "d36dd1f842c1ce1e6d07575ff71957f40eecd725"
    LLVM_SHA256 = "db8d009ad1badb51a2a83c40b7d93c820adba16b3f5b1009492549597dd71a4d"

    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,132 +162,132 @@
  = %22
-d36dd1f842c1ce1e6d07575ff71957f40eecd725%22%0A    LLVM_SHA256 = %22db8d009ad1badb51a2a83c40b7d93c820adba16b3f5b1009492549597dd71a4
+7277d2e1c86bf4d75321efc1195d88ade4bedfa1%22%0A    LLVM_SHA256 = %222d7a728d92af3faaee879417662779b3f09a743609ce546ca451544d8ff10dc
 d%22%0A%0A

Integrate LLVM at llvm/llvm-project@7277d2e1c86b