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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "1d7fdbbc183aee2f1168425ae21e961164495466"
    LLVM_SHA256 = "7a1e031a82626ca8461367c8e18b9091d867723141191a721e0f6173cf61973d"

    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
-1d7fdbbc183aee2f1168425ae21e961164495466%22%0A    LLVM_SHA256 = %227a1e031a82626ca8461367c8e18b9091d867723141191a721e0f6173cf61973d
+f46f93b4786377dd7ee704ef2beedadfe4f05adf%22%0A    LLVM_SHA256 = %227235b032f2dd06cfaeae625eaed1a75bee5a368859198a04c4f53daa176b851f
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@f46f93b47863