| """Provides the repository macro to import TFRT.""" |
| |
| load("//third_party:repo.bzl", "tf_http_archive") |
| |
| def repo(): |
| """Imports TFRT.""" |
| |
| # Attention: tools parse and update these lines. |
| TFRT_COMMIT = "58afb1a9ccf422f145494dbefa690fe8119d346e" |
| TFRT_SHA256 = "af712934301aeff7bbd4b86fb87fdd69a9e0512cd9f84293aa9faf6d35ae4847" |
| |
| tf_http_archive( |
| name = "tf_runtime", |
| sha256 = TFRT_SHA256, |
| strip_prefix = "runtime-{commit}".format(commit = TFRT_COMMIT), |
| urls = [ |
| "http://mirror.tensorflow.org/github.com/tensorflow/runtime/archive/{commit}.tar.gz".format(commit = TFRT_COMMIT), |
| "https://github.com/tensorflow/runtime/archive/{commit}.tar.gz".format(commit = TFRT_COMMIT), |
| ], |
| ) |