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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "143f3bf8f422af962761b1bb1f2875a6d30b25eb"
    LLVM_SHA256 = "8fe85e2fcd27d538a3d47dcf87a8d82d600d96e907cd0d263661ee24db517906"

    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
-143f3bf8f422af962761b1bb1f2875a6d30b25eb%22%0A    LLVM_SHA256 = %228fe85e2fcd27d538a3d47dcf87a8d82d600d96e907cd0d263661ee24db517906
+8c46881a5386ebbe273d15d6a9d369885c2460a9%22%0A    LLVM_SHA256 = %22109b8a2407a46ccbaadcd6f11d1873ad900a4289d37d69ab76b309d805da8c63
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@8c46881a5386