-
Notifications
You must be signed in to change notification settings - Fork 5
/
WORKSPACE
123 lines (106 loc) · 3.8 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
116
117
118
119
120
121
122
# This file is distributed under the BSD 3-Clause License. See LICENSE for details.
workspace(name = "desesc")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")
http_archive(
name = "rules_foreign_cc",
sha256 = "c905d5ba97d102153b7b8cacc8fa1f1c29623a710264c992cd2cddcb9d616527",
strip_prefix = "rules_foreign_cc-0.10.1",
url = "https://github.com/bazelbuild/rules_foreign_cc/archive/0.10.1.zip",
)
load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies")
rules_foreign_cc_dependencies()
# google benchmark
http_archive(
name = "com_google_benchmark",
sha256 = "abfc22e33e3594d0edf8eaddaf4d84a2ffc491ad74b6a7edc6e7a608f690e691",
strip_prefix = "benchmark-1.8.3",
urls = ["https://github.com/google/benchmark/archive/refs/tags/v1.8.3.zip"],
)
# google tests
http_archive(
name = "com_google_googletest",
sha256 = "ffa17fbc5953900994e2deec164bb8949879ea09b411e07f215bfbb1f87f4632",
urls = ["https://github.com/google/googletest/archive/refs/tags/v1.13.0.zip"],
strip_prefix = "googletest-1.13.0",
)
# fmt
http_archive(
name = "fmt",
build_file = "fmt.BUILD",
sha256 = "d368f9c39a33a3aef800f5be372ec1df1c12ad57ada1f60adc62f24c0e348469",
strip_prefix = "fmt-10.2.1",
urls = [
"https://github.com/fmtlib/fmt/archive/refs/tags/10.2.1.zip",
],
)
# iassert
http_archive(
name = "iassert",
sha256 = "c6bf66a76d5a1de57c45dba137c9b51ab3b4f3a31e5de9e3c3496d7d36a128f8",
strip_prefix = "iassert-5c18eb082262532f621a23023f092f4119a44968",
urls = [
"https://github.com/masc-ucsc/iassert/archive/5c18eb082262532f621a23023f092f4119a44968.zip",
],
)
# abseil
http_archive(
name = "com_google_absl",
strip_prefix = "abseil-cpp-20240116.2",
urls = ["https://github.com/abseil/abseil-cpp/archive/refs/tags/20240116.2.zip"],
sha256 = "69909dd729932cbbabb9eeaff56179e8d124515f5d3ac906663d573d700b4c7d",
)
# Perfetto
http_archive(
name = "com_google_perfetto",
build_file = "perfetto.BUILD",
sha256 = "db4162ee6495b1fcc13ba7aca77d67f9fd1766d184743137a04af8b1e3906b9d",
strip_prefix = "perfetto-44.0/sdk",
urls = ["https://github.com/google/perfetto/archive/refs/tags/v44.0.tar.gz"],
)
# toml11
http_archive(
name = "toml11",
build_file = "toml11.BUILD",
sha256 = "72e956f42002dd1566c5551a693ec0f6fa3bea3a0e7bcea29bcdace98738da74",
strip_prefix = "toml11-3.8.1",
urls = [
"https://github.com/ToruNiina/toml11/archive/v3.8.1.zip",
],
)
# Dromajo
http_archive(
name = "dromajo",
build_file = "dromajo.BUILD",
patches = ["//external:dromajo.patch"],
sha256 = "07fcabaf6be0a1c2d1f62ccb6ad08c1d86c49887d08967bfcde8028fb206c506",
strip_prefix = "dromajo-34598190447d8339b79069277e0f9f1ce59483d7",
urls = [
"https://github.com/masc-ucsc/dromajo/archive/34598190447d8339b79069277e0f9f1ce59483d7.zip",
],
)
# superbp
new_git_repository(
name = "superbp",
remote = "https://github.com/masc-ucsc/superbp.git",
branch = "main", # or the branch you want to track
)
# libelf (needed by dromajo in OSX)
http_archive(
name = "libelf",
build_file = "libelf.BUILD",
sha256 = "c0627b45c29a151e4e1105988ad7ce9bf83b52cbbca0a1db06c7fcad69b85c4b",
strip_prefix = "libelf-ba3c81450b91d1935fff01bae191a59d7653d2a5",
urls = [
"https://github.com/masc-ucsc/libelf/archive/ba3c81450b91d1935fff01bae191a59d7653d2a5.zip",
],
)
# clang-tidy
http_archive(
name = "bazel_clang_tidy",
sha256 = "f0e2871f32652b2dbc54739b55b4c2ece88eb8189133f20e7c4327eb893994b2",
strip_prefix = "bazel_clang_tidy-bff5c59c843221b05ef0e37cef089ecc9d24e7da",
urls = [
"https://github.com/erenon/bazel_clang_tidy/archive/bff5c59c843221b05ef0e37cef089ecc9d24e7da.zip"
],
)