Skip to content

Commit

Permalink
[DeepRec] Redirect org_tensorflow to DeepRec repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
liutongxuan committed Apr 8, 2022
1 parent 748217e commit d2f8071
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ build:nativeopt --copt=-march=native
build:nativeopt --host_copt=-march=native
build:nativeopt --copt=-O3

build --action_env PYTHON_BIN_PATH="/usr/bin/python"
build --define PYTHON_BIN_PATH=/usr/bin/python
build --action_env PYTHON_BIN_PATH="/home/pai/bin/python"
build --define PYTHON_BIN_PATH=/home/pai/bin/python

build --spawn_strategy=standalone
build --genrule_strategy=standalone
Expand Down
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ load("//tensorflow_serving:repo.bzl", "tensorflow_http_archive")

tensorflow_http_archive(
name = "org_tensorflow",
sha256 = "750186951a699cb73d6b440c7cd06f4b2b80fd3ebb00cbe00f655c7da4ae243e",
git_commit = "590d6eef7e91a6a7392c8ffffb7b58f2e0c8bc6b",
sha256 = "7962748ba58b834a4ba2a00ef586b21c638db5659fab89071dcc7b1eaa349ad1",
git_commit = "31f83623dde1a1d3792d7f41ba310b29e40abaa7",
)

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
Expand Down
2 changes: 1 addition & 1 deletion tensorflow_serving/apis/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ filegroup(
load("//tensorflow_serving:serving.bzl", "serving_proto_library")
load("//tensorflow_serving:serving.bzl", "serving_proto_library_py")
load("//tensorflow_serving:serving.bzl", "serving_go_grpc_library")
load("@org_tensorflow//tensorflow/core:platform/default/build_config.bzl", "tf_jspb_proto_library", "tf_pyclif_proto_library")
load("@org_tensorflow//tensorflow/core/platform:default/build_config.bzl", "tf_jspb_proto_library", "tf_pyclif_proto_library")

serving_proto_library(
name = "get_model_metadata_proto",
Expand Down
6 changes: 3 additions & 3 deletions tensorflow_serving/repo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ def _tensorflow_http_archive(ctx):
sha256 = ""
git_commit = override_git_commit

strip_prefix = "tensorflow-%s" % git_commit
strip_prefix = "DeepRec-%s" % git_commit
urls = [
"https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/%s.tar.gz" % git_commit,
"https://github.com/tensorflow/tensorflow/archive/%s.tar.gz" % git_commit,
"https://mirror.bazel.build/github.com/alibaba/deeprec/archive/%s.tar.gz" % git_commit,
"https://github.com/alibaba/deeprec/archive/%s.tar.gz" % git_commit,
]
ctx.download_and_extract(
urls,
Expand Down

0 comments on commit d2f8071

Please sign in to comment.