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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "a2639dcbe613bb2e219a50171f322d7ac1dc8de1"
    LLVM_SHA256 = "6b8eee6dadd8d02bad73fba8ec12d55ccf567b0b44b5be8a674c16c95bfc4b40"

    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
-a2639dcbe613bb2e219a50171f322d7ac1dc8de1%22%0A    LLVM_SHA256 = %226b8eee6dadd8d02bad73fba8ec12d55ccf567b0b44b5be8a674c16c95bfc4b40
+7d323dc7738e3152c4bd54a23ac27554bfbbf583%22%0A    LLVM_SHA256 = %22ccf278bc5be783f2802eed0a9d0729e7ba136dcd6bdb97d9d51adcd0163002d6
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@7d323dc7738e