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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "46cc04de341bceef319144fa11b0d421d29c5451"
    LLVM_SHA256 = "a3b86199f4676e85b3fca73f1a7bb7667403ebd2491a3e065eedac3e79657581"

    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
-46cc04de341bceef319144fa11b0d421d29c5451%22%0A    LLVM_SHA256 = %22a3b86199f4676e85b3fca73f1a7bb7667403ebd2491a3e065eedac3e79657581
+b540ee540266f42b238e683c775c32a10c184ab5%22%0A    LLVM_SHA256 = %222caa79550b0456ab710f822258ab5f41c0f91fb4c04428bbf049aefbc2aa69e0
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@b540ee540266