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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "93f54fae9dda7d5d89711eb97f1ee44de6ce1ff7"
    LLVM_SHA256 = "02e569a27548632ba083addbc9223bc5246e433c9eda72746c947dc17a5b0117"

    tfrt_http_archive(
        name = name,
        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),
        ],
        link_files = {
            "//third_party/llvm:llvm.autogenerated.BUILD": "llvm/BUILD",
            "//third_party/mlir:BUILD": "mlir/BUILD",
            "//third_party/mlir:test.BUILD": "mlir/test/BUILD",
        },
    )

@@ -162,133 +162,133 @@
  = %22
-93f54fae9dda7d5d89711eb97f1ee44de6ce1ff7%22%0A    LLVM_SHA256 = %2202e569a27548632ba083addbc9223bc5246e433c9eda72746c947dc17a5b0117
+f28cb01be071a52e817c8ba84a5ef503a614b86e%22%0A    LLVM_SHA256 = %2262d54c8105464b926176368d7b25023eb1b6d2e45a124f14d6e50f1deca7bcdc
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@f28cb01be071