-
Notifications
You must be signed in to change notification settings - Fork 2
/
workspace.bzl.tpl
70 lines (59 loc) · 2.19 KB
/
workspace.bzl.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Build tf_adapter workspace(Calling by tf_adapter)
def extend_base():
return "../"
def tf_adapter_workspace():
native.new_local_repository(
name = "tf_adapter_cloud_host_libs",
path = extend_base() + "out/cloud/host/obj/lib",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "tf_adapter_mini_host_libs",
path = extend_base() + "out/mini/host/obj/lib",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "tf_adapter_onetrack_host_libs",
path = extend_base() + "out/onetrack/host/obj/lib",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "tf_adapter_extend_hdrs",
path = extend_base() + "inc",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "graphengine_extend_hdrs",
path = extend_base() + "graphengine/inc",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "metadef_extend_hdrs",
path = extend_base() + "metadef/inc",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name="installed_tensorflow",
path=extend_base() + "third_party/tensorflow/compile_deps/tf-1.15.0",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name="installed_tensorflow_libs",
path="{TF_INSTALL_LIB_PATH}",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "local_nlohmann_json_lib",
path = extend_base() + "third_party/json/include/",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "sec_lib",
path = extend_base() + "libc_sec/include/",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)
native.new_local_repository(
name = "python_include",
path = "{PYTHON_INCLUDE_PATH}",
build_file = "@tf_adapter//tf_adapter:module.BUILD",
)