-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMODULE.bazel
26 lines (22 loc) · 893 Bytes
/
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
bazel_dep(name = "buildifier_prebuilt", version = "7.1.2", dev_dependency = True)
bazel_dep(name = "rules_foreign_cc", version = "0.10.1")
bazel_dep(name = "rules_cc", version = "0.0.16")
bazel_dep(name = "googletest", version = "1.15.2")
bazel_dep(name = "abseil-cpp", version = "20240722.0", repo_name = "absl")
bazel_dep(name = "gflags", version = "2.2.2")
bazel_dep(name = "glog", version = "0.7.1")
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
all_content = """\
filegroup(
name = "all",
srcs = glob(["**"]),
visibility = ["//visibility:public"],
)
"""
http_archive(
name = "opencv",
build_file_content = all_content,
sha256 = "cbf47ecc336d2bff36b0dcd7d6c179a9bb59e805136af6b9670ca944aef889bd",
strip_prefix = "opencv-4.8.0",
urls = ["https://github.com/opencv/opencv/archive/refs/tags/4.8.0.tar.gz"],
)