WORKSPACE 1.0 KB

1234567891011121314151617181920212223242526
  1. local_repository(
  2. name = "org_tensorflow",
  3. path = "tensorflow",
  4. )
  5. # We need to pull in @io_bazel_rules_closure for TensorFlow. Bazel design
  6. # documentation states that this verbosity is intentional, to prevent
  7. # TensorFlow/SyntaxNet from depending on different versions of
  8. # @io_bazel_rules_closure.
  9. http_archive(
  10. name = "io_bazel_rules_closure",
  11. sha256 = "60fc6977908f999b23ca65698c2bb70213403824a84f7904310b6000d78be9ce",
  12. strip_prefix = "rules_closure-5ca1dab6df9ad02050f7ba4e816407f88690cf7d",
  13. urls = [
  14. "http://bazel-mirror.storage.googleapis.com/github.com/bazelbuild/rules_closure/archive/5ca1dab6df9ad02050f7ba4e816407f88690cf7d.tar.gz", # 2017-02-03
  15. "https://github.com/bazelbuild/rules_closure/archive/5ca1dab6df9ad02050f7ba4e816407f88690cf7d.tar.gz",
  16. ],
  17. )
  18. load("@org_tensorflow//tensorflow:workspace.bzl", "tf_workspace")
  19. tf_workspace(path_prefix="", tf_repo_name="org_tensorflow")
  20. # Test that Bazel is up-to-date.
  21. load("@org_tensorflow//tensorflow:workspace.bzl", "check_version")
  22. check_version("0.4.2")