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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "b3645353041818f61e2580635409ddb81ff5a272"
    LLVM_SHA256 = "5f5647e449e72ecf4cf8ddeb21de29bcb6ceb89708e8420f2b12b891f1bb13a8"

    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
-b3645353041818f61e2580635409ddb81ff5a272%22%0A    LLVM_SHA256 = %225f5647e449e72ecf4cf8ddeb21de29bcb6ceb89708e8420f2b12b891f1bb13a
+039fb3e5a12fccacd6ee5272e461e7e186397636%22%0A    LLVM_SHA256 = %22a38a43f50185ae84830a4091f076bc87268d977574d5dfc69944a08613eafd7
 8%22%0A%0A

Integrate LLVM at llvm/llvm-project@039fb3e5a12f