-
Notifications
You must be signed in to change notification settings - Fork 54
/
WORKSPACE
33 lines (26 loc) · 1.21 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
# Bazel workspace configuration for Yggdrasil Decision Forest C++ and JS.
# For Yggdrasil Decision Forest Python, see port/python/WORKSPACE.
workspace(name = "yggdrasil_decision_forests")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Load the dependencies of YDF
# ============================
load("//yggdrasil_decision_forests:library.bzl", ydf_load_deps = "load_dependencies")
ydf_load_deps()
# Initialize dependencies that need manual initialization
# ========================================================
# gRPC; needed for any distributed computation capability (e.g., distributed training).
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()
load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
grpc_extra_deps()
# Emscripten; needed for the Web build.
http_archive(
name = "emsdk",
strip_prefix = "emsdk-3.1.15/bazel",
url = "https://github.com/emscripten-core/emsdk/archive/refs/tags/3.1.15.zip",
sha256 = "bc06feb66e376f0184929e603d7c02dcd07646ed6f89281bf1478bb8947fbb0f",
)
load("@emsdk//:deps.bzl", emsdk_deps = "deps")
emsdk_deps()
load("@emsdk//:emscripten_deps.bzl", emsdk_emscripten_deps = "emscripten_deps")
emsdk_emscripten_deps()