forked from tensorflow/decision-forests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
86 lines (60 loc) · 2.38 KB
/
WORKSPACE
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# ==========================================
# Start of TensorFlow and its dependencies
# ==========================================
# This version of TensorFlow is injected only to make sure we use the same dependencies as TensorFlow (protobuffer, grpc, absl).
# TensorFlow is not compiled.
# Note: The OPs dynamic library depends on symbols specific to the version of
# absl used by tensorflow.
http_archive(
name = "org_tensorflow",
sha256 = "d2948c066a0bc3f45cb8072def03c85f50af8a75606bbdff91715ef8c5f2a28c",
strip_prefix = "tensorflow-2.8.0",
urls = ["https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.8.0.zip"],
#urls = ["https://github.com/tensorflow/tensorflow/archive/master.zip"],
#strip_prefix = "tensorflow-master",
)
# Inject tensorflow dependencies.
# TensorFlow cannot anymore be injected from a sub-module.
# Note: The other is important.
load("@org_tensorflow//tensorflow:workspace3.bzl", tf1 = "workspace")
tf1()
load("@org_tensorflow//tensorflow:workspace2.bzl", tf2 = "workspace")
tf2()
load("@org_tensorflow//tensorflow:workspace1.bzl", tf3 = "workspace")
tf3()
load("@org_tensorflow//tensorflow:workspace0.bzl", tf4 = "workspace")
tf4()
# Inject TensorFlow from the Pypi package.
load("//third_party/tensorflow_pypi:tf_configure.bzl", "tf_configure")
tf_configure(name = "tensorflow_pypi")
# ========================================
# End of TensorFlow and its dependencies
# ========================================
# Third party libraries
load("//third_party/absl_py:workspace.bzl", absl_py = "deps")
load("//third_party/absl:workspace.bzl", absl = "deps")
load("//third_party/benchmark:workspace.bzl", benchmark = "deps")
load("//third_party/gtest:workspace.bzl", gtest = "deps")
load("//third_party/protobuf:workspace.bzl", protobuf = "deps")
load("//third_party/rapidjson:workspace.bzl", rapidjson = "deps")
absl()
absl_py()
benchmark()
gtest()
protobuf()
rapidjson()
# Yggdrasil Decision Forests
load("//third_party/yggdrasil_decision_forests:workspace.bzl", yggdrasil_decision_forests = "deps")
yggdrasil_decision_forests()
load("@ydf//yggdrasil_decision_forests:library.bzl", ydf_load_deps = "load_dependencies")
ydf_load_deps(
exclude_repo = [
"absl",
"protobuf",
"zlib",
"farmhash",
"grpc",
],
repo_name = "@ydf",
)