| # Copyright 2021 The IREE Authors | |
| # | |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. | |
| # See https://llvm.org/LICENSE.txt for license information. | |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| """Adds a local dependency on tensorflow.""" | |
| load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") | |
| TENSORFLOW_COMMIT = "50827afeedaeeeaa1a83137e0fe753498c720fa7" | |
| git_repository( | |
| name = "org_tensorflow", | |
| commit = TENSORFLOW_COMMIT, | |
| remote = "https://github.com/iree-org/iree-tf-fork.git", | |
| ) | |
| # Import all of the tensorflow dependencies. | |
| load("@org_tensorflow//tensorflow:workspace3.bzl", "tf_workspace3") | |
| tf_workspace3() | |
| load("@org_tensorflow//tensorflow:workspace2.bzl", "tf_workspace2") | |
| tf_workspace2() | |
| load("@org_tensorflow//tensorflow:workspace1.bzl", "tf_workspace1") | |
| tf_workspace1() | |
| load("@org_tensorflow//tensorflow:workspace0.bzl", "tf_workspace0") | |
| tf_workspace0() |