forked from tensorflow/tensorboard-plugin-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
115 lines (98 loc) · 4.96 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
workspace(name = "io_github_tensorflow_tensorboard_plugin_example")
################################################################################
# CLOSURE RULES - Build rules and libraries for JavaScript development
#
# NOTE: SHA should match what's in TensorBoard's WORKSPACE file.
# NOTE: All the projects dependeded upon in this file use highly
# available redundant URLs. They are strongly recommended because
# they hedge against GitHub outages and allow Bazel's downloader
# to guarantee high performance and 99.9% reliability. That means
# practically zero build flakes on CI systems, without needing to
# configure an HTTP_PROXY.
http_archive(
name = "io_bazel_rules_closure",
sha256 = "6691c58a2cd30a86776dd9bb34898b041e37136f2dc7e24cadaeaf599c95c657",
strip_prefix = "rules_closure-08039ba8ca59f64248bb3b6ae016460fe9c9914f",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/08039ba8ca59f64248bb3b6ae016460fe9c9914f.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/08039ba8ca59f64248bb3b6ae016460fe9c9914f.tar.gz", # 2018-01-16
],
)
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
# Inherit external repositories defined by Closure Rules.
closure_repositories()
################################################################################
# GO RULES - Build rules and libraries for Go development
#
# NOTE: TensorBoard does not require Go rules; they are a transitive
# dependency of rules_webtesting.
# NOTE: SHA should match what's in TensorBoard's WORKSPACE file.
http_archive(
name = "io_bazel_rules_go",
sha256 = "8c333df68fb0096221e2127eda2807384e00cc211ee7e7ea4ed08d212e6a69c1",
strip_prefix = "rules_go-0.5.4",
urls = [
"http://mirror.bazel.build/github.com/bazelbuild/rules_go/archive/0.5.4.tar.gz",
"https://github.com/bazelbuild/rules_go/archive/0.5.4.tar.gz",
],
)
load("@io_bazel_rules_go//go:def.bzl", "go_repositories")
# Inherit external repositories defined by Go Rules.
go_repositories()
# Needed as a transitive dependency of rules_webtesting below.
http_archive(
name = "bazel_skylib",
sha256 = "bbccf674aa441c266df9894182d80de104cabd19be98be002f6d478aaa31574d",
strip_prefix = "bazel-skylib-2169ae1c374aab4a09aa90e65efe1a3aad4e279b",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz", # 2018-01-12
],
)
################################################################################
# WEBTESTING RULES - Build rules and libraries for Go development
#
# NOTE: SHA should match what's in TensorBoard's WORKSPACE file.
# NOTE: Some external repositories are omitted because they were already
# defined by closure_repositories().
http_archive(
name = "io_bazel_rules_webtesting",
sha256 = "a1264301424f2d920fca04f2d3c5ef5ca1be4f2bbf8c84ef38006e54aaf22753",
strip_prefix = "rules_webtesting-9f597bb7d1b40a63dc443d9ef7e931cfad4fb098",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_webtesting/archive/9f597bb7d1b40a63dc443d9ef7e931cfad4fb098.tar.gz", # 2017-01-29
"https://github.com/bazelbuild/rules_webtesting/archive/9f597bb7d1b40a63dc443d9ef7e931cfad4fb098.tar.gz",
],
)
load("@io_bazel_rules_webtesting//web:repositories.bzl", "browser_repositories", "web_test_repositories")
web_test_repositories(
omit_com_google_code_findbugs_jsr305 = True,
omit_com_google_code_gson = True,
omit_com_google_errorprone_error_prone_annotations = True,
omit_com_google_guava = True,
omit_junit = True,
omit_org_hamcrest_core = True,
)
################################################################################
# TENSORBOARD - Framework for visualizing machines learning
#
# NOTE: If the need should arise to patch TensorBoard's codebase, then
# git clone it to local disk and use local_repository() instead of
# http_archive(). This should be a temporary measure until a pull
# request can be merged upstream. It is an anti-pattern to
# check-in a WORKSPACE file that uses local_repository() since,
# unlike http_archive(), it isn't automated. If upstreaming a
# change takes too long, then consider checking in a change where
# http_archive() points to the forked repository.
http_archive(
name = "org_tensorflow_tensorboard",
sha256 = "087242325ef3b91f1909e3fd3a873ad15e3c7703990ad8caab64736d9009bf62",
strip_prefix = "tensorboard-1.6.0",
urls = [
"http://mirror.bazel.build/github.com/tensorflow/tensorboard/archive/1.6.0.tar.gz",
"https://github.com/tensorflow/tensorboard/archive/1.6.0.tar.gz",
],
)
load("@org_tensorflow_tensorboard//third_party:workspace.bzl", "tensorboard_workspace")
# Inherit external repositories defined by Closure Rules.
tensorboard_workspace()