-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup_deps.bzl
26 lines (21 loc) · 1.09 KB
/
setup_deps.bzl
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
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
load("@com_github_nelhage_rules_boost//:boost/boost.bzl", "boost_deps")
load("@com_grail_bazel_compdb//:deps.bzl", "bazel_compdb_deps")
load("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure")
load("@llvm-raw//utils/bazel:terminfo.bzl", "llvm_terminfo_disable")
load("@llvm-raw//utils/bazel:zlib.bzl", "llvm_zlib_external")
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
load("@python_3_10//:defs.bzl", "interpreter")
load("@rules_python//python:pip.bzl", "pip_parse")
load("@python_deps//:requirements.bzl", install_python_deps = "install_deps")
def setup_dependencies():
bazel_skylib_workspace()
boost_deps()
bazel_compdb_deps()
llvm_terminfo_disable(name = "llvm_terminfo")
llvm_zlib_external(name = "llvm_zlib", external_zlib = "@zlib//:zlib")
# FIXME: Should we allow all targets in a release build?
# Limit the number of backends here to save on compile time for now.
llvm_configure(name = "llvm-project", targets = ["AArch64", "X86"])
protobuf_deps()
install_python_deps()