2018-12-12 09:16:03 -05:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
|
|
|
|
# To update TensorFlow to a new revision,
|
|
|
|
# a) update URL and strip_prefix to the new git commit hash
|
|
|
|
# b) get the sha256 hash of the commit by running:
|
|
|
|
# curl -L https://github.com/tensorflow/tensorflow/archive/<git hash>.tar.gz | sha256sum
|
|
|
|
# and update the sha256 with the result.
|
|
|
|
http_archive(
|
2019-02-28 20:25:09 -08:00
|
|
|
name = "org_tensorflow",
|
2023-03-09 10:44:58 -08:00
|
|
|
sha256 = "08fd0ab0b672510229ad2fff276a3634f205fc539fa16a5bdeeaaccd881ece27",
|
|
|
|
strip_prefix = "tensorflow-2aaeef25361311b21b9e81e992edff94bcb6bae3",
|
2019-02-28 20:25:09 -08:00
|
|
|
urls = [
|
2023-03-09 10:44:58 -08:00
|
|
|
"https://github.com/tensorflow/tensorflow/archive/2aaeef25361311b21b9e81e992edff94bcb6bae3.tar.gz",
|
2019-02-28 20:25:09 -08:00
|
|
|
],
|
2018-12-12 09:16:03 -05:00
|
|
|
)
|
|
|
|
|
2022-06-14 22:25:39 -04:00
|
|
|
# For development, one often wants to make changes to the TF repository as well
|
|
|
|
# as the JAX repository. You can override the pinned repository above with a
|
|
|
|
# local checkout by either:
|
|
|
|
# a) overriding the TF repository on the build.py command line by passing a flag
|
|
|
|
# like:
|
|
|
|
# python build/build.py --bazel_options=--override_repository=org_tensorflow=/path/to/tensorflow
|
|
|
|
# or
|
|
|
|
# b) by commenting out the http_archive above and uncommenting the following:
|
2018-12-12 09:16:03 -05:00
|
|
|
# local_repository(
|
|
|
|
# name = "org_tensorflow",
|
2022-06-14 22:25:39 -04:00
|
|
|
# path = "/path/to/tensorflow",
|
2018-12-12 09:16:03 -05:00
|
|
|
# )
|
|
|
|
|
2022-08-26 13:40:51 +00:00
|
|
|
load("//third_party/ducc:workspace.bzl", ducc = "repo")
|
|
|
|
ducc()
|
2020-10-23 14:20:06 -07:00
|
|
|
|
2021-01-15 16:22:48 -05:00
|
|
|
# Initialize TensorFlow's external dependencies.
|
2021-08-01 08:53:12 -07:00
|
|
|
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()
|