-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMODULE.bazel
47 lines (41 loc) · 2.02 KB
/
MODULE.bazel
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
module(name = "koladata")
bazel_dep(name = "abseil-cpp", version = "20240722.0", repo_name = "com_google_absl")
bazel_dep(name = "abseil-py", version = "2.1.0", repo_name = "com_google_absl_py")
bazel_dep(name = "arolla", version = "empty", repo_name = "com_google_arolla")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "google_benchmark", version = "1.8.5", repo_name = "com_google_benchmark")
bazel_dep(name = "googletest", version = "1.15.2", repo_name = "com_google_googletest")
bazel_dep(name = "nlohmann_json", version = "3.11.3.bcr.1", repo_name = "com_github_nlohmann_json")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "protobuf", version = "29.1", repo_name = "com_google_protobuf")
bazel_dep(name = "pybind11_bazel", version = "2.13.6")
bazel_dep(name = "pybind11_protobuf", version = "0.0.0-20240524-1d7a729")
bazel_dep(name = "rules_cc", version = "0.0.15")
bazel_dep(name = "rules_python", version = "1.0.0")
# Note: We would like to use the latest version of Arolla during development.
archive_override(
module_name = "arolla",
strip_prefix = "arolla-main",
urls = [
"https://github.com/google/arolla/archive/refs/heads/main.tar.gz",
],
)
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
ignore_root_user_error = True, # Required for our containerized CI environments.
python_version = "3.11",
)
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip", dev_dependency = True)
pip.parse(
hub_name = "koladata_pip_deps",
python_version = "3.11",
requirements_lock = "//:requirements_lock.txt",
)
use_repo(pip, pip_deps = "koladata_pip_deps")
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_google_double_conversion",
integrity = "sha256-BOxERhhQq78zgk2oSXgEOyJVSJa1UsX9EanFrktNKW4=",
strip_prefix = "double-conversion-3.3.0",
url = "https://github.com/google/double-conversion/archive/refs/tags/v3.3.0.tar.gz",
)