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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "b048b1b769aaf93abe22c01ac2ecad7d68762811"
    LLVM_SHA256 = "d37c7ebf52aa7bd3e2291afa5609213e75618055119933875100b4c37168b943"

    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
-b048b1b769aaf93abe22c01ac2ecad7d68762811%22%0A    LLVM_SHA256 = %22d37c7ebf52aa7bd3e2291afa5609213e75618055119933875100b4c37168b943
+1984f01acf5d5d62147b5dfd9871168f69a4858d%22%0A    LLVM_SHA256 = %22cde34549d93a121f22f005013f4a3997c203a6f6e4d5820291f89e1d415e4837
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@1984f01acf5d