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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "ea460b7ddb8adc9c9c48a968f1155d8757849d76"
    LLVM_SHA256 = "b29beb305bd507908f96053ebb3c000c234e35a7ff58b9390c30edc69350cf55"

    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
-ea460b7ddb8adc9c9c48a968f1155d8757849d76%22%0A    LLVM_SHA256 = %22b29beb305bd507908f96053ebb3c000c234e35a7ff58b9390c30edc69350cf55
+955cc56af448301e2d353df90ca1f0c6a74118f2%22%0A    LLVM_SHA256 = %22e4566371654993c5520e9c31e0bb468e2baa629747857a41976c6047aa37ceaf
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@955cc56af448