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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "7d323dc7738e3152c4bd54a23ac27554bfbbf583"
    LLVM_SHA256 = "ccf278bc5be783f2802eed0a9d0729e7ba136dcd6bdb97d9d51adcd0163002d6"

    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:BUILD.bazel",
        patch_file = "//third_party/llvm:macos_build_fix.patch",
        link_files = {"//third_party/llvm:run_lit.sh": "mlir/run_lit.sh"},
    )

@@ -160,133 +160,133 @@
  = %22
-7d323dc7738e3152c4bd54a23ac27554bfbbf583%22%0A    LLVM_SHA256 = %22ccf278bc5be783f2802eed0a9d0729e7ba136dcd6bdb97d9d51adcd0163002d6
+a7b1872593db1688c4e651f1ed8be578898d7c43%22%0A    LLVM_SHA256 = %22890328aedc137145ed51d9894104e98354518180e9bd6039c5dc89009570609a
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@a7b1872593db