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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "a21c557955c6ea5cd02b9a145ad6469c608446c7"
    LLVM_SHA256 = "52271917ba42a51ffe166be9f0fbd67a74abf4d33394b550ec2002c2a76c23c5"

    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
-a21c557955c6ea5cd02b9a145ad6469c608446c7%22%0A    LLVM_SHA256 = %2252271917ba42a51ffe166be9f0fbd67a74abf4d33394b550ec2002c2a76c23c5
+685f1bfd0af3d5ee6023056d2f656f73990ef2c9%22%0A    LLVM_SHA256 = %22b3374c19f1f73b898d706442280a7cb1471d2ef3307cce8219190acaea1cb0b4
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@685f1bfd0af3