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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "81b51b61f849fa91bdf5d0695918578abae846e3"
    LLVM_SHA256 = "4efa8c26189f4b9d1d137d04f48895bae716320246108cf05885293be5d5b6bc"

    tf_http_archive(
        name = name,
        sha256 = LLVM_SHA256,
        strip_prefix = "llvm-project-{commit}".format(commit = 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),
        ],
        build_file = "//third_party/llvm:llvm.BUILD",
        patch_file = ["//third_party/llvm:macos_build_fix.patch", "//third_party/llvm:fix_ppc64le.patch", "//third_party/llvm:disable_typeid_check.patch"],
        link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"},
    )

@@ -160,133 +160,133 @@
  = %22
-81b51b61f849fa91bdf5d0695918578abae846e3%22%0A    LLVM_SHA256 = %224efa8c26189f4b9d1d137d04f48895bae716320246108cf05885293be5d5b6bc
+bf60a5af0a21323f257719a08d57b28a3389b283%22%0A    LLVM_SHA256 = %2288a9441686bc19d9b559b4342af76c4757878197940a6dafa85b5022be384105
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@bf60a5af0a21