This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
WORKSPACE
56 lines (44 loc) · 1.86 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
workspace(name = "asylo_examples")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Download and use the Asylo SDK.
http_archive(
name = "com_google_asylo",
urls = ["https://github.com/google/asylo/archive/v0.3.4.2.tar.gz"],
strip_prefix = "asylo-0.3.4.2",
sha256 = "82226be212b9f3e2fb14fdf9223e4f376df89424874ac45faff215fa1027797e",
)
load("@com_google_asylo//asylo/bazel:asylo_deps.bzl", "asylo_go_deps")
asylo_go_deps()
# this must be the same version that tensorflow uses
http_archive(
name = "io_bazel_rules_closure",
sha256 = "a38539c5b5c358548e75b44141b4ab637bba7c4dc02b46b1f62a96d6433f56ae",
strip_prefix = "rules_closure-dbb96841cc0a5fb2664c37822803b06dab20c7d1",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz", # 2018-04-13
],
patches = ["closure.patch"],
patch_args = ["-p1"]
)
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
closure_repositories(omit_com_google_protobuf=True)
load("@com_google_asylo//asylo/bazel:asylo_deps.bzl", "asylo_deps",
"asylo_backend_deps", "asylo_testonly_deps")
asylo_deps()
asylo_backend_deps()
asylo_testonly_deps()
http_archive(
name = "org_tensorflow",
urls = ["https://github.com/tensorflow/tensorflow/archive/v1.13.1.tar.gz"],
strip_prefix = "tensorflow-1.13.1",
sha256 = "7cd19978e6bc7edc2c847bce19f95515a742b34ea5e28e4389dade35348f58ed",
patches = ["lite.patch"],
patch_args = ["-p1"]
)
load("@org_tensorflow//tensorflow:workspace.bzl", "tf_workspace")
tf_workspace()
load("@com_google_asylo//asylo/bazel:sgx_deps.bzl", "sgx_deps")
sgx_deps()
load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
grpc_deps()