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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "cb76c4d71c41bbbae47852d7980e74b57c5a28df"
    LLVM_SHA256 = "4b0a6a4eb6267db77e3af2681a15284510a462a9589190a3084a5ebb859b891f"

    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
-cb76c4d71c41bbbae47852d7980e74b57c5a28df%22%0A    LLVM_SHA256 = %224b0a6a4eb6267db77e3af2681a15284510a462a9589190a3084a5ebb859b891f
+274ec425dcc3e3f637dd006c5e9ae33bd0e2e917%22%0A    LLVM_SHA256 = %221817a3c2e8347bfb932981127e86f9dc00179f00bad98bca731243b47c0f7d86
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@274ec425dcc3