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/.tar.gz | sha256sum # and update the sha256 with the result. http_archive( name = "org_tensorflow", sha256 = "bc2db06633feff5c66e6e6ecb2ad6337d2ac00f36da3b8bbecbe50a76a2e584e", strip_prefix = "tensorflow-0a601eb3ac8c5accca11e4c34951b63d1b9fe9cf", urls = [ "https://github.com/tensorflow/tensorflow/archive/0a601eb3ac8c5accca11e4c34951b63d1b9fe9cf.tar.gz", ], ) # For development, one can use a local TF repository instead. # local_repository( # name = "org_tensorflow", # path = "tensorflow", # ) load("//third_party/pocketfft:workspace.bzl", pocketfft = "repo") pocketfft() # Initialize TensorFlow's external dependencies. load("@org_tensorflow//tensorflow:workspace3.bzl", "workspace") workspace() load("@org_tensorflow//tensorflow:workspace2.bzl", "workspace") workspace() load("@org_tensorflow//tensorflow:workspace1.bzl", "workspace") workspace() load("@org_tensorflow//tensorflow:workspace0.bzl", "workspace") workspace()