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

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

def repo(name):
    """Imports LLVM."""
    LLVM_COMMIT = "6eb0f8e28598658b4f5df27b35a5ea98bad68049"
    LLVM_SHA256 = "0af7ac8ca2be4d22336aef7da18e54e648fd0bbea42167a1864e8604b84d258a"

    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
-6eb0f8e28598658b4f5df27b35a5ea98bad68049%22%0A    LLVM_SHA256 = %220af7ac8ca2be4d22336aef7da18e54e648fd0bbea42167a1864e8604b84d258a
+49ed5bf51958aaeb209804da794c85d06207c3ed%22%0A    LLVM_SHA256 = %226855a19cdebeec8fef41237eb6bb0cce8bdc5f636aab60c59296b0efa049b3c2
 %22%0A%0A 

Integrate LLVM at llvm/llvm-project@49ed5bf51958