forked from tensorflow/decision-forests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
63 lines (53 loc) · 2.02 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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# ==========================================
# Start of TensorFlow and its dependencies
# ==========================================
# Note: The OPs dynamic library depends on symbols specific to the version of
# absl used by tensorflow.
http_archive(
name = "org_tensorflow",
sha256 = "e3d0ee227cc19bd0fa34a4539c8a540b40f937e561b4580d4bbb7f0e31c6a713",
strip_prefix = "tensorflow-2.5.0",
urls = ["https://github.com/tensorflow/tensorflow/archive/refs/tags/v2.5.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()
# ========================================
# 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",
],
repo_name = "@ydf",
)