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 = "a43c514365f981e82b7ade56dd404177cac5449e3117a7cfc9a73197f96227e2", strip_prefix = "tensorflow-50bf694f9b917c67e389aaf8e270cc377db4c5d9", urls = [ "https://github.com/tensorflow/tensorflow/archive/50bf694f9b917c67e389aaf8e270cc377db4c5d9.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()