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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "8353403f0833716098c71bebe74b619723cefb3f"
    LLVM_SHA256 = "2c0de277485d55e7d0af8aac76c6949905c5152b49f61e888469190fca10ea13"

    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
-8353403f0833716098c71bebe74b619723cefb3f%22%0A    LLVM_SHA256 = %222c0de277485d55e7d0af8aac76c6949905c5152b49f61e888469190fca10ea13
+439668871ac992159f00309d3bd837db287bdea6%22%0A    LLVM_SHA256 = %222e813c6303764188ed0a599a170d022041dc9f54afac5a043973ac8fd5821991
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@439668871ac9