forked from tf-encrypted/tf-encrypted
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
29 lines (22 loc) · 829 Bytes
/
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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
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([])
load("//external/tf:tf_configure.bzl", "tf_configure")
tf_configure(name = "local_config_tf")
http_archive(
name = "sodium",
build_file = "sodium/BUILD",
patch_cmds = ["./autogen.sh"],
url = "https://github.com/jedisct1/libsodium/archive/1.0.17.tar.gz",
strip_prefix = "libsodium-1.0.17",
sha256 = "602e07029c780e154347fb95495b13ce48709ae705c6cff927ecb0c485b95672",
)
local_repository(
name = "primitives",
path = "primitives/",
)