forked from improbable-eng/phtree-cpp
-
Notifications
You must be signed in to change notification settings - Fork 9
/
WORKSPACE
66 lines (54 loc) · 2.28 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
# Bazel bootstrapping
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
# NOTE: We make third_party/ its own bazel workspace because it allows to run `bazel build ...` without
# having all targets defined in third-party BUILD files in that directory buildable.
local_repository(
name = "third_party",
path = "third_party",
)
# External PH-Tree dependencies
http_archive(
name = "spdlog",
build_file = "@third_party//spdlog:BUILD",
sha256 = "b38e0bbef7faac2b82fed550a0c19b0d4e7f6737d5321d4fd8f216b80f8aee8a",
strip_prefix = "spdlog-1.5.0",
url = "https://github.com/gabime/spdlog/archive/v1.5.0.tar.gz",
)
http_archive(
name = "gbenchmark",
sha256 = "6132883bc8c9b0df5375b16ab520fac1a85dc9e4cf5be59480448ece74b278d4",
strip_prefix = "benchmark-1.6.1",
url = "https://github.com/google/benchmark/archive/v1.6.1.tar.gz",
)
http_archive(
name = "gtest",
sha256 = "ad7fdba11ea011c1d925b3289cf4af2c66a352e18d4c7264392fead75e919363",
strip_prefix = "googletest-1.13.0",
url = "https://github.com/google/googletest/archive/v1.13.0.tar.gz",
)
# Development environment tooling
BUILDIFIER_VERSION = "0.29.0"
http_file(
name = "buildifier_linux",
executable = True,
sha256 = "4c985c883eafdde9c0e8cf3c8595b8bfdf32e77571c369bf8ddae83b042028d6",
urls = ["https://github.com/bazelbuild/buildtools/releases/download/{version}/buildifier".format(version = BUILDIFIER_VERSION)],
)
http_file(
name = "buildifier_macos",
executable = True,
sha256 = "9b108decaa9a624fbac65285e529994088c5d15fecc1a30866afc03a48619245",
urls = ["https://github.com/bazelbuild/buildtools/releases/download/{version}/buildifier.mac".format(version = BUILDIFIER_VERSION)],
)
http_file(
name = "buildifier_windows",
executable = True,
sha256 = "dc5d6ed5e3e0dbe9955f7606939c627af5a2be7f9bdd8814e77a22109164394f",
urls = ["https://github.com/bazelbuild/buildtools/releases/download/{version}/buildifier.exe".format(version = BUILDIFIER_VERSION)],
)
http_archive(
name = "bazel_compilation_database",
sha256 = "bb1b812396e2ee36a50a13b03ae6833173ce643e8a4bd50731067d0b4e5c6e86",
strip_prefix = "bazel-compilation-database-0.3.5",
url = "https://github.com/grailbio/bazel-compilation-database/archive/0.3.5.tar.gz",
)