-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathWORKSPACE
More file actions
52 lines (41 loc) · 1.19 KB
/
WORKSPACE
File metadata and controls
52 lines (41 loc) · 1.19 KB
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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_google_googletest",
url = "https://github.com/google/googletest/archive/release-1.8.1.zip",
strip_prefix = "googletest-release-1.8.1",
sha256 = "927827c183d01734cc5cfef85e0ff3f5a92ffe6188e0d18e909c5efebf28a0c7",
)
#
# CMake rules
#
http_archive(
name = "rules_foreign_cc",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/master.zip",
strip_prefix = "rules_foreign_cc-master",
)
load("@rules_foreign_cc//:workspace_definitions.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies([
# "//:built_cmake_toolchain",
])
#
# TensorFlow
#
load("//external/tf:tf_configure.bzl", "tf_configure")
tf_configure(name = "local_config_tf")
#
# SEAL
#
# compile SEAL with Bazel
http_archive(
name = "seal",
build_file = "seal/BUILD",
url = "https://github.com/microsoft/SEAL/archive/3.3.1.zip",
sha256 = "83b8748f2f342b0e90eb81c73cfe162a86cc5ca6f7facfa75fa84b9f82a2b74d",
strip_prefix = "SEAL-3.3.1",
)
# compile SEAL manually
# new_local_repository(
# name = "seal",
# path = "/usr/local/",
# build_file = "third_party/seal/BUILD",
# )