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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "3f97c66b00400f5e7f0cd260107f53c11b1cc33b"
    LLVM_SHA256 = "21b7d20e289327434eb3a25f940d3a78a686ccd8384f51ec960c2a9e56d05a9d"

    tfrt_http_archive(
        name = name,
        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),
        ],
        link_files = {
            "//third_party/llvm:llvm.autogenerated.BUILD": "llvm/BUILD",
            "//third_party/mlir:BUILD": "mlir/BUILD",
            "//third_party/mlir:test.BUILD": "mlir/test/BUILD",
        },
    )

@@ -163,132 +163,132 @@
 = %223
-f97c66b00400f5e7f0cd260107f53c11b1cc33b%22%0A    LLVM_SHA256 = %2221b7d20e289327434eb3a25f940d3a78a686ccd8384f51ec960c2a9e56d05a9d
+bc88eb3924f6491457a787db3a8cf5ab45c92c1%22%0A    LLVM_SHA256 = %2209c430c0c254758a4939790791563842dac040c2c1e2c31fbe21ec8dcafa0ce1
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@3bc88eb3924f