WORKSPACE 898 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. local_repository(
  2. name = "tf",
  3. path = __workspace_dir__ + "/tensorflow",
  4. )
  5. load('//tensorflow/tensorflow:workspace.bzl', 'tf_workspace')
  6. tf_workspace("tensorflow/", "@tf")
  7. # Specify the minimum required Bazel version.
  8. load("@tf//tensorflow:tensorflow.bzl", "check_version")
  9. check_version("0.2.0")
  10. # ===== gRPC dependencies =====
  11. bind(
  12. name = "libssl",
  13. actual = "@boringssl_git//:ssl",
  14. )
  15. git_repository(
  16. name = "boringssl_git",
  17. commit = "436432d849b83ab90f18773e4ae1c7a8f148f48d",
  18. init_submodules = True,
  19. remote = "https://github.com/mdsteele/boringssl-bazel.git",
  20. )
  21. bind(
  22. name = "zlib",
  23. actual = "@zlib_archive//:zlib",
  24. )
  25. new_http_archive(
  26. name = "zlib_archive",
  27. build_file = "zlib.BUILD",
  28. sha256 = "879d73d8cd4d155f31c1f04838ecd567d34bebda780156f0e82a20721b3973d5",
  29. strip_prefix = "zlib-1.2.8",
  30. url = "http://zlib.net/zlib128.zip",
  31. )