Skip to content

Commit c6b7fe4

Browse files
fuhailinliutongxuan
authored andcommitted
[BUILD] Fix missing BUILD files when build TFServing. (#309)
1 parent 9e3e76d commit c6b7fe4

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

tensorflow/workspace.bzl

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
682682
# Note: snappy is placed earlier as tensorflow's snappy does not include snappy-c
683683
http_archive(
684684
name = "snappy",
685-
build_file = "//third_party:snappy.BUILD",
685+
build_file = clean_dep("//third_party:snappy.BUILD"),
686686
sha256 = "16b677f07832a612b0836178db7f374e414f94657c138e6993cbfc5dcc58651f",
687687
strip_prefix = "snappy-1.1.8",
688688
urls = [
@@ -1079,7 +1079,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
10791079

10801080
http_archive(
10811081
name = "arrow",
1082-
build_file = "//third_party:arrow.BUILD",
1082+
build_file = clean_dep("//third_party:arrow.BUILD"),
10831083
patch_cmds = [
10841084
# TODO: Remove the fowllowing once arrow issue is resolved.
10851085
"""sed -i.bak 's/type_traits/std::max<int16_t>(sizeof(int16_t), type_traits/g' cpp/src/parquet/column_reader.cc""",
@@ -1095,7 +1095,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
10951095

10961096
http_archive(
10971097
name = "brotli",
1098-
build_file = "//third_party:brotli.BUILD",
1098+
build_file = clean_dep("//third_party:brotli.BUILD"),
10991099
sha256 = "4c61bfb0faca87219ea587326c467b95acb25555b53d1a421ffa3c8a9296ee2c",
11001100
strip_prefix = "brotli-1.0.7",
11011101
urls = [
@@ -1106,7 +1106,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
11061106

11071107
http_archive(
11081108
name = "bzip2",
1109-
build_file = "//third_party:bzip2.BUILD",
1109+
build_file = clean_dep("//third_party:bzip2.BUILD"),
11101110
sha256 = "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269",
11111111
strip_prefix = "bzip2-1.0.8",
11121112
urls = [
@@ -1117,7 +1117,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
11171117

11181118
http_archive(
11191119
name = "thrift",
1120-
build_file = "//third_party:thrift.BUILD",
1120+
build_file = clean_dep("//third_party:thrift.BUILD"),
11211121
sha256 = "5da60088e60984f4f0801deeea628d193c33cec621e78c8a43a5d8c4055f7ad9",
11221122
strip_prefix = "thrift-0.13.0",
11231123
urls = [
@@ -1128,7 +1128,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
11281128

11291129
http_archive(
11301130
name = "xsimd",
1131-
build_file = "//third_party:xsimd.BUILD",
1131+
build_file = clean_dep("//third_party:xsimd.BUILD"),
11321132
sha256 = "45337317c7f238fe0d64bb5d5418d264a427efc53400ddf8e6a964b6bcb31ce9",
11331133
strip_prefix = "xsimd-7.5.0",
11341134
urls = [
@@ -1138,7 +1138,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
11381138

11391139
http_archive(
11401140
name = "zstd",
1141-
build_file = "//third_party:zstd.BUILD",
1141+
build_file = clean_dep("//third_party:zstd.BUILD"),
11421142
sha256 = "a364f5162c7d1a455cc915e8e3cf5f4bd8b75d09bc0f53965b0c9ca1383c52c8",
11431143
strip_prefix = "zstd-1.4.4",
11441144
urls = [
@@ -1149,7 +1149,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
11491149

11501150
http_archive(
11511151
name = "rapidjson",
1152-
build_file = "//third_party:rapidjson.BUILD",
1152+
build_file = clean_dep("//third_party:rapidjson.BUILD"),
11531153
sha256 = "30bd2c428216e50400d493b38ca33a25efb1dd65f79dfc614ab0c957a3ac2c28",
11541154
strip_prefix = "rapidjson-418331e99f859f00bdc8306f69eba67e8693c55e",
11551155
urls = [
@@ -1160,7 +1160,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
11601160

11611161
http_archive(
11621162
name = "aws_c_common",
1163-
build_file = "//third_party/aws_util:aws_c_common.BUILD",
1163+
build_file = clean_dep("//third_party/aws_util:aws_c_common.BUILD"),
11641164
sha256 = "e9462a141b5db30006704f537d19b92357a59be38d590272e6118976b0356ccd",
11651165
strip_prefix = "aws-c-common-0.7.4",
11661166
urls = [
@@ -1171,7 +1171,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
11711171

11721172
http_archive(
11731173
name = "aws_c_io",
1174-
build_file = "//third_party/aws_util:aws_c_io.BUILD",
1174+
build_file = clean_dep("//third_party/aws_util:aws_c_io.BUILD"),
11751175
sha256 = "b60270d23b6e2f4a5d80e64ca6538ba114cd6044b53752964c940f87e59bf0d9",
11761176
strip_prefix = "aws-c-io-0.11.2",
11771177
urls = [
@@ -1182,7 +1182,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
11821182

11831183
http_archive(
11841184
name = "aws_c_event_stream",
1185-
build_file = "//third_party/aws_util:aws_c_event_stream.BUILD",
1185+
build_file = clean_dep("//third_party/aws_util:aws_c_event_stream.BUILD"),
11861186
sha256 = "bae0c762b6a4b779a0db0f4730512da6cb500e76681ffdcb9f7286d8e26e547a",
11871187
strip_prefix = "aws-c-event-stream-0.2.6",
11881188
urls = [
@@ -1193,7 +1193,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
11931193

11941194
http_archive(
11951195
name = "aws_checksums",
1196-
build_file = "//third_party/aws_util:aws_checksums.BUILD",
1196+
build_file = clean_dep("//third_party/aws_util:aws_checksums.BUILD"),
11971197
sha256 = "394723034b81cc7cd528401775bc7aca2b12c7471c92350c80a0e2fb9d2909fe",
11981198
strip_prefix = "aws-checksums-0.1.12",
11991199
urls = [
@@ -1204,7 +1204,7 @@ def tf_repositories(path_prefix = "", tf_repo_name = ""):
12041204

12051205
http_archive(
12061206
name = "aws_c_cal",
1207-
build_file = "//third_party/aws_util:aws_c_cal.BUILD",
1207+
build_file = clean_dep("//third_party/aws_util:aws_c_cal.BUILD"),
12081208
sha256 = "40297da04443d4ee2988d1c5fb0dc4a156d0e4cfaf80e6a1df1867452566d540",
12091209
strip_prefix = "aws-c-cal-0.5.17",
12101210
urls = [

0 commit comments

Comments
 (0)