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

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

def repo(name):
    """Imports Eigen."""

    # Attention: tools parse and update these lines.
    EIGEN_COMMIT = "a30ecb7221a46824b85cad5f9016efe6e5871d69"
    EIGEN_SHA256 = "4553df1eb1287c53d11a661bec282d37fd028864a3a324cf9b085c9d99b6cf55"

    tfrt_http_archive(
        name = name,
        build_file = "//third_party/eigen:BUILD",
        sha256 = EIGEN_SHA256,
        strip_prefix = "eigen-{commit}".format(commit = EIGEN_COMMIT),
        urls = [
            "https://storage.googleapis.com/mirror.tensorflow.org/gitlab.com/libeigen/eigen/-/archive/{commit}/eigen-{commit}.tar.gz".format(commit = EIGEN_COMMIT),
            "https://gitlab.com/libeigen/eigen/-/archive/{commit}/eigen-{commit}.tar.gz".format(commit = EIGEN_COMMIT),
        ],
    )

@@ -219,134 +219,134 @@
  = %22
-a30ecb7221a46824b85cad5f9016efe6e5871d69%22%0A    EIGEN_SHA256 = %224553df1eb1287c53d11a661bec282d37fd028864a3a324cf9b085c9d99b6cf55
+7db0ac977acf276fb0817cfb89e490cdbae0ab56%22%0A    EIGEN_SHA256 = %22f4697dcc5f0545cf9ab70be8f6b313bdc31c0405f0ed30f8967bc02e7d7aa12a
 %22%0A%0A 

Update Eigen to commit:8f2c6f0aa6a59e24df245ef36abfb45ea190766b