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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "1ecfc12b0c67de24c160dd126b873efa8e51c7c7"
    LLVM_SHA256 = "0ccb19b092e6635906903c40b66dc32065a8a4e04c6040ab4bbc79806b52705b"

    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
-1ecfc12b0c67de24c160dd126b873efa8e51c7c7%22%0A    LLVM_SHA256 = %220ccb19b092e6635906903c40b66dc32065a8a4e04c6040ab4bbc79806b52705b
+f7819ce166bcc472108cf7c05f86edcf4ee9e6cf%22%0A    LLVM_SHA256 = %2246c1a4d23cc7a32cba19dbf2cd13b3f60c7382e9782c0ed12e2177d96620aeb6
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@f7819ce166bc