-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathWORKSPACE
121 lines (97 loc) · 2.95 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
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "new_git_repository")
load("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure")
cc_configure()
local_repository(
name = "parlaylib",
path = "external/parlaylib/include",
)
local_repository(
name = "PAM",
path = "external/PAM/include",
)
local_repository(
name = "CPAM",
path = "external/CPAM/include",
)
local_repository(
name = "absl",
path = "external/abseil-cpp/",
)
local_repository(
name = "reducer",
path = "external/reducer",
)
local_repository(
name = "semisort",
path = "external/semisort",
)
local_repository(
name = "soa",
path = "external/StructOfArrays/include",
)
local_repository(
name = "ParallelTools",
path = "external/ParallelTools/",
)
local_repository(
name = "SSTGraph",
path = "external/SSTGraph/include/",
)
local_repository(
name = "Terrace",
path = "external/terrace/include/",
)
local_repository(
name = "dhb",
path = "external/dhb/include/",
)
new_local_repository(
name = "aspen",
path = "external/aspen/code/",
build_file = "BUILD.aspen",
)
local_repository(
name = "cpma",
path = "external/Packed-Memory-Array/include/",
)
new_local_repository(
name = "pcsr_orig",
path = "external/pcsr_orig/",
build_file = "BUILD.pcsr_orig",
)
http_archive(
name = "googletest",
sha256 = "b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5",
strip_prefix = "googletest-release-1.11.0",
urls = ["https://github.com/google/googletest/archive/release-1.11.0.tar.gz"],
)
# pybind bazel bindings
PYBIND11_BAZEL_COMMIT = "656fd69e83e80ccef8a3e3935d1ff4f604332e81"
http_archive(
name = "pybind11_bazel",
sha256 = "b17dbbb648001996d06cce7e058174687c933bb16d87b74b340565d5311bb286",
strip_prefix = "pybind11_bazel-%s" % PYBIND11_BAZEL_COMMIT,
urls = ["https://github.com/ldhulipala/pybind11_bazel/archive/%s.zip" % PYBIND11_BAZEL_COMMIT],
)
# pybind.
PYBIND11_COMMIT = "fe755dce12766820a99eefbde32d6ceb0a828ca8"
http_archive(
name = "pybind11",
build_file = "@pybind11_bazel//:pybind11.BUILD",
sha256 = "5702350060e965043609a5115576c598ef3262a7367f063aebfeaa7961f2cbfd",
strip_prefix = "pybind11-%s" % PYBIND11_COMMIT,
urls = ["https://github.com/pybind/pybind11/archive/%s.tar.gz" % PYBIND11_COMMIT],
)
load("@pybind11_bazel//:python_configure.bzl", "python_configure")
python_configure(name = "local_config_python")
http_archive(
name = "bazel_skylib",
sha256 = "f24ab666394232f834f74d19e2ff142b0af17466ea0c69a3f4c276ee75f6efce",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.0/bazel-skylib-1.4.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.0/bazel-skylib-1.4.0.tar.gz",
],
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()