-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMODULE.bazel
More file actions
73 lines (62 loc) · 2.65 KB
/
Copy pathMODULE.bazel
File metadata and controls
73 lines (62 loc) · 2.65 KB
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
"""bzlmod wrapper around the SimpleTIFF library.
Consumers reference targets as `@simpletiff//:simpletiff_lib`,
`@simpletiff//:simpletiff`, etc. Wired into the aiforoncology monorepo via
local_path_override.
"""
module(
name = "simpletiff",
version = "0.0.1",
)
bazel_dep(name = "rules_cc", version = "0.2.17")
bazel_dep(name = "platforms", version = "1.1.0")
bazel_dep(name = "googletest", version = "1.17.0")
bazel_dep(name = "google_benchmark", version = "1.9.2")
bazel_dep(name = "zlib", version = "1.3.1.bcr.5")
bazel_dep(name = "zstd", version = "1.5.7")
bazel_dep(name = "libpng", version = "1.6.47.bcr.1")
bazel_dep(name = "libjpeg_turbo", version = "2.1.91")
bazel_dep(name = "xz", version = "5.4.5.bcr.5")
bazel_dep(name = "aifocore-cpp", version = "0.0.1")
# aifocore-cpp is not on the Bazel Central Registry. In the monorepo this
# bazel_dep is satisfied by the root module's local_path_override; the
# git_override below is silently ignored in that context (Bazel only honors
# *_override directives in the root module). When this MODULE.bazel is the
# root (i.e. the standalone NKI-AI/aifocore checkout), the git_override
# resolves the dep from GitHub instead.
git_override(
module_name = "aifocore-cpp",
commit = "a1046b325dd8f7a89a4411fa1b45bc9faeb80ff8",
remote = "https://github.com/NKI-AI/aifocore.git",
)
bazel_dep(name = "jpeg-compressor", version = "0.0.1")
git_override(
module_name = "jpeg-compressor",
commit = "927f759d349b7ce2588d50465d719c42011ccb4b",
remote = "https://github.com/NKI-AI/jpeg-compressor.git",
)
bazel_dep(name = "pybind11_bazel", version = "3.0.0")
bazel_dep(name = "rules_python", version = "2.0.0")
bazel_dep(name = "emsdk", version = "5.0.4")
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "openjp2",
build_file = "//third_party:openjp2.BUILD",
sha256 = "8702ba68b442657f11aaeb2b338443ca8d5fb95b0d845757968a7be31ef7f16d",
strip_prefix = "openjpeg-2.4.0",
urls = ["https://github.com/uclouvain/openjpeg/archive/v2.4.0.tar.gz"],
)
bazel_dep(name = "libwebp", version = "1.5.0")
http_archive(
name = "libtiff",
build_file = "//third_party:libtiff.BUILD",
sha256 = "273a0a73b1f0bed640afee4a5df0337357ced5b53d3d5d1c405b936501f71017",
strip_prefix = "tiff-4.7.0",
urls = ["https://download.osgeo.org/libtiff/tiff-4.7.0.tar.xz"],
)
http_archive(
name = "pybind11",
build_file = "//third_party:pybind11.BUILD",
sha256 = "e08cb87f4773da97fa7b5f035de8763abc656d87d5773e62f6da0587d1f0ec20",
strip_prefix = "pybind11-2.13.6",
urls = ["https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6.tar.gz"],
)