blob: de5144d3c9f96bdb178f264105c533db4b8bf2bc [file] [log] [blame]
Philipp Schrader0e19c602018-03-07 21:07:22 -08001load(
2 "//debian:python.bzl",
3 python_debs = "files",
4)
Philipp Schraderaedfc5c2018-03-10 19:32:30 -08005load(
Philipp Schraderd0e33a42022-01-22 21:55:15 -08006 ":apache2.bzl",
7 apache2_debs = "files",
8)
9load(
Philipp Schrader41011a12022-03-13 12:49:32 -070010 ":postgresql_amd64.bzl",
11 postgresql_amd64_debs = "files",
12)
13load(
Brian Silverman7bda6212018-08-05 11:42:11 -070014 ":patch.bzl",
15 patch_debs = "files",
16)
Brian Silverman7297c0c2018-08-05 13:43:00 -070017load(
Austin Schuh71f6fa72019-08-31 18:23:02 -070018 ":rsync.bzl",
19 rsync_debs = "files",
20)
21load(
22 ":ssh.bzl",
23 ssh_debs = "files",
24)
25load(
Brian Silverman7297c0c2018-08-05 13:43:00 -070026 ":pandoc.bzl",
27 pandoc_debs = "files",
28)
Brian Silverman4f6ba442018-08-05 14:34:58 -070029load(
30 ":libusb.bzl",
31 libusb_debs = "files",
32)
Brian Silvermanb80dc9f2018-08-05 14:59:24 -070033load(
34 ":mingw_compiler.bzl",
35 mingw_compiler_debs = "files",
36)
Brian Silverman6470f442018-08-05 12:08:16 -070037load(
38 ":patchelf.bzl",
39 patchelf_debs = "files",
40)
41load(
42 ":matplotlib.bzl",
43 matplotlib_debs = "files",
44)
Brian Silverman50b9ac02018-08-12 13:24:10 -070045load(
46 ":arm_frc_gnueabi_deps.bzl",
47 arm_frc_gnueabi_deps_debs = "files",
48)
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -070049load(
50 ":python_gtk.bzl",
51 python_gtk_debs = "files",
52)
Brian Silvermand4260c72020-01-14 00:08:02 -080053load(
Philipp Schraderf1bbf342022-02-05 14:30:15 -080054 ":opencv_arm64.bzl",
55 opencv_arm64_debs = "files",
56)
57load(
Brian Silvermand4260c72020-01-14 00:08:02 -080058 ":opencv_armhf.bzl",
59 opencv_armhf_debs = "files",
60)
Brian Silvermand97a47c2020-01-16 00:47:53 -080061load(
62 ":opencv_amd64.bzl",
63 opencv_amd64_debs = "files",
64)
Tyler Chatow60671d32020-02-26 19:49:30 -080065load(
66 ":gstreamer_amd64.bzl",
67 gstreamer_amd64_debs = "files",
68)
69load(
70 ":gstreamer_armhf.bzl",
71 gstreamer_armhf_debs = "files",
72)
Austin Schuh023e7f52020-08-18 21:24:37 -070073load(
Tyler Chatow6eda82c2022-03-27 22:37:38 -070074 ":gstreamer_arm64.bzl",
75 gstreamer_arm64_debs = "files",
76)
77load(
Brian Silvermanf59fe3f2020-09-22 21:04:09 -070078 ":lzma_amd64.bzl",
79 lzma_amd64_debs = "files",
80)
81load(
82 ":lzma_arm64.bzl",
83 lzma_arm64_debs = "files",
84)
Tyler Chatow8a51ac62022-03-15 13:23:12 -070085load(
86 ":libtinfo5_amd64.bzl",
87 libtinfo5_amd64_debs = "files",
88)
Tyler Chatowec100e22022-03-22 16:23:04 -070089load(
90 ":libtinfo5_arm64.bzl",
91 libtinfo5_arm64_debs = "files",
92)
Brian Silvermanf59fe3f2020-09-22 21:04:09 -070093load(":packages.bzl", "download_packages", "generate_deb_tarball")
Philipp Schrader0e19c602018-03-07 21:07:22 -080094
Philipp Schradercc016b32021-12-30 08:59:58 -080095package(default_visibility = ["//visibility:public"])
96
Brian Silverman6470f442018-08-05 12:08:16 -070097filegroup(
98 name = "matplotlib_patches",
99 srcs = [
100 "matplotlib_init.patch",
101 ],
James Kuszmaul910f92b2020-01-01 15:30:38 -0800102 visibility = ["@matplotlib_repo//:__pkg__"],
Brian Silverman6470f442018-08-05 12:08:16 -0700103)
104
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700105filegroup(
106 name = "python_shapely_patches",
107 srcs = [
108 "python_shapely_init.patch",
109 ],
110 visibility = ["@python_gtk//:__pkg__"],
111)
112
113filegroup(
114 name = "python_gi_patches",
115 srcs = [
116 "python_gi_init.patch",
117 ],
118 visibility = ["@python_gtk//:__pkg__"],
119)
120
121filegroup(
122 name = "python_geos_patches",
123 srcs = [
124 "python_geos.patch",
125 ],
126 visibility = ["@python_gtk//:__pkg__"],
127)
128
Philipp Schrader0e19c602018-03-07 21:07:22 -0800129py_binary(
130 name = "download_packages",
131 srcs = [
132 "download_packages.py",
133 ],
Philipp Schrader0e19c602018-03-07 21:07:22 -0800134 main = "download_packages.py",
Philipp Schraderdada1072020-11-24 11:34:46 -0800135 target_compatible_with = ["@platforms//os:linux"],
Philipp Schrader0e19c602018-03-07 21:07:22 -0800136)
137
138download_packages(
Philipp Schraderd0e33a42022-01-22 21:55:15 -0800139 name = "download_apache2_packages",
140 excludes = [
141 "libaprutil1-dbd-mysql",
142 "libaprutil1-dbd-odbc",
143 "libaprutil1-dbd-pgsql",
144 "libaprutil1-dbd-freetds",
145 "libstdc++6",
146 "lsb-base",
147 "debconf",
148 "libc6-dev",
149 ],
150 force_includes = [
151 "libaprutil1",
152 ],
153 packages = [
154 "apache2",
155 ],
156)
157
158download_packages(
Philipp Schrader0e19c602018-03-07 21:07:22 -0800159 name = "download_python_deps",
160 excludes = [
161 "libblas.so.3",
162 "liblapack.so.3",
163 ],
164 packages = [
Philipp Schrader0e19c602018-03-07 21:07:22 -0800165 "python3-dev",
166 "python3-numpy",
Brian Silverman6470f442018-08-05 12:08:16 -0700167 "python3-scipy",
Philipp Schrader0e19c602018-03-07 21:07:22 -0800168 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800169 target_compatible_with = ["@platforms//os:linux"],
Philipp Schrader0e19c602018-03-07 21:07:22 -0800170)
171
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800172download_packages(
173 name = "download_clang_deps",
174 excludes = [
James Kuszmaul3ae42262019-11-08 12:33:41 -0800175 "lib32stdc++6",
176 "libstdc++6",
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800177 ],
178 force_includes = [
179 "libc6",
180 "libc6-dev",
181 ],
182 packages = [
James Kuszmaul3ae42262019-11-08 12:33:41 -0800183 "clang-6.0",
184 "clang-format-6.0",
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800185 "gcc",
186 "gfortran",
187 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800188 target_compatible_with = ["@platforms//os:linux"],
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800189)
190
Brian Silverman7bda6212018-08-05 11:42:11 -0700191download_packages(
Philipp Schrader41011a12022-03-13 12:49:32 -0700192 name = "download_postgresql_deps",
193 excludes = [
194 "adduser",
195 "debconf",
196 "debconf-2.0",
197 "libsystemd0",
198 "lsb-base",
199 "libstdc++6",
200 "libc-bin",
201 "libc-l10n",
202 "netbase",
203 "ucf",
204 "locales",
205 "locales-all",
206 ],
207 packages = [
208 "postgresql",
209 ],
210 target_compatible_with = ["@platforms//os:linux"],
211)
212
213download_packages(
Brian Silverman7bda6212018-08-05 11:42:11 -0700214 name = "download_patch_deps",
215 packages = [
216 "patch",
217 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800218 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7bda6212018-08-05 11:42:11 -0700219)
220
Brian Silverman7297c0c2018-08-05 13:43:00 -0700221download_packages(
222 name = "download_pandoc_deps",
223 packages = [
224 "pandoc",
225 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800226 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7297c0c2018-08-05 13:43:00 -0700227)
228
Brian Silverman4f6ba442018-08-05 14:34:58 -0700229download_packages(
230 name = "download_libusb_deps",
231 packages = [
232 "libusb-0.1-4",
233 "libusb-1.0-0",
234 "libusb-1.0-0-dev",
235 "libusb-dev",
236 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800237 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman4f6ba442018-08-05 14:34:58 -0700238)
239
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700240download_packages(
241 name = "download_mingw_compiler_deps",
242 packages = [
243 "g++-mingw-w64-x86-64",
244 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800245 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700246)
247
Brian Silverman6470f442018-08-05 12:08:16 -0700248download_packages(
249 name = "download_patchelf_deps",
250 packages = [
251 "patchelf",
252 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800253 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700254)
255
256download_packages(
257 name = "download_matplotlib_deps",
258 excludes = [
Brian Silverman6470f442018-08-05 12:08:16 -0700259 "python3-dev",
260 "python3-numpy",
261 "python3-scipy",
262 "x11-common",
263 "fonts-freefont",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800264 "python3",
Brian Silverman6470f442018-08-05 12:08:16 -0700265 "libcups2",
266 ],
267 packages = [
Brian Silverman6470f442018-08-05 12:08:16 -0700268 "python3-matplotlib",
James Kuszmaul910f92b2020-01-01 15:30:38 -0800269 "python3-tk",
Brian Silverman6470f442018-08-05 12:08:16 -0700270 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800271 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700272)
273
Brian Silverman50b9ac02018-08-12 13:24:10 -0700274# This list was obtained by manually looking at the output from:
275# find bazel-out/../../../external/arm_frc_linux_gnueabi_repo/ -executable -type f -exec ldd {} + | sed 's/=>.*//g' | sort -u
276download_packages(
277 name = "download_arm_frc_gnueabi_deps",
278 packages = [
279 "libexpat1",
280 "libgmp10",
281 "libisl10",
282 "liblzma5",
283 "libmpc3",
284 "libmpfr4",
285 "libncurses5",
286 "libtinfo5",
287 "zlib1g",
288 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800289 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman50b9ac02018-08-12 13:24:10 -0700290)
291
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700292download_packages(
293 name = "download_python_gtk_deps",
294 excludes = [
295 "fonts-freefont",
296 "gsettings-backend",
297 "libpng-dev",
298 "libz-dev",
299 "python3-dev",
300 "python3",
James Kuszmaulf89cfab2020-01-17 19:48:25 -0800301 "libblas.so.3",
302 "liblapack.so.3",
303 "libstdc++-dev",
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700304 ],
305 packages = [
306 "libgtk-3-dev",
307 "python3-cairo",
308 "python3-gi",
309 "python3-gi-cairo",
310 "python3-shapely",
311 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800312 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700313)
314
Philipp Schrader0e19c602018-03-07 21:07:22 -0800315generate_deb_tarball(
316 name = "python",
317 files = python_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800318 target_compatible_with = ["@platforms//os:linux"],
Philipp Schrader0e19c602018-03-07 21:07:22 -0800319)
Philipp Schraderaedfc5c2018-03-10 19:32:30 -0800320
321generate_deb_tarball(
Philipp Schraderd0e33a42022-01-22 21:55:15 -0800322 name = "apache2",
323 files = apache2_debs,
324 target_compatible_with = ["@platforms//os:linux"],
325)
326
327generate_deb_tarball(
Philipp Schrader41011a12022-03-13 12:49:32 -0700328 name = "postgresql_amd64",
329 files = postgresql_amd64_debs,
330 target_compatible_with = ["@platforms//os:linux"],
331)
332
333generate_deb_tarball(
Brian Silverman7bda6212018-08-05 11:42:11 -0700334 name = "patch",
335 files = patch_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800336 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7bda6212018-08-05 11:42:11 -0700337)
Brian Silverman7297c0c2018-08-05 13:43:00 -0700338
339generate_deb_tarball(
Austin Schuh71f6fa72019-08-31 18:23:02 -0700340 name = "rsync",
341 files = rsync_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800342 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh71f6fa72019-08-31 18:23:02 -0700343)
344
345generate_deb_tarball(
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800346 name = "ssh_v3",
Austin Schuh71f6fa72019-08-31 18:23:02 -0700347 files = ssh_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800348 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh71f6fa72019-08-31 18:23:02 -0700349)
350
351generate_deb_tarball(
Brian Silverman7297c0c2018-08-05 13:43:00 -0700352 name = "pandoc",
353 files = pandoc_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800354 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman7297c0c2018-08-05 13:43:00 -0700355)
Brian Silverman4f6ba442018-08-05 14:34:58 -0700356
357generate_deb_tarball(
358 name = "libusb",
359 files = libusb_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800360 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman4f6ba442018-08-05 14:34:58 -0700361)
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700362
363generate_deb_tarball(
364 name = "mingw_compiler",
365 files = mingw_compiler_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800366 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb80dc9f2018-08-05 14:59:24 -0700367)
Brian Silverman6470f442018-08-05 12:08:16 -0700368
369generate_deb_tarball(
370 name = "patchelf",
371 files = patchelf_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800372 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700373)
374
375generate_deb_tarball(
376 name = "matplotlib",
377 files = matplotlib_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800378 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -0700379)
Brian Silverman50b9ac02018-08-12 13:24:10 -0700380
381generate_deb_tarball(
382 name = "arm_frc_gnueabi_deps",
383 files = arm_frc_gnueabi_deps_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800384 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman50b9ac02018-08-12 13:24:10 -0700385)
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700386
387generate_deb_tarball(
388 name = "python_gtk",
389 files = python_gtk_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800390 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanb0ebf1d2018-10-17 23:36:40 -0700391)
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800392
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800393download_packages(
394 name = "download_opencv",
395 packages = [
396 "libopencv-calib3d-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800397 "libopencv-calib3d4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800398 "libopencv-contrib-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800399 "libopencv-contrib4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800400 "libopencv-core-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800401 "libopencv-core4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800402 "libopencv-dev",
403 "libopencv-features2d-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800404 "libopencv-features2d4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800405 "libopencv-flann-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800406 "libopencv-flann4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800407 "libopencv-highgui-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800408 "libopencv-highgui4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800409 "libopencv-imgcodecs-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800410 "libopencv-imgcodecs4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800411 "libopencv-imgproc-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800412 "libopencv-imgproc4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800413 "libopencv-ml-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800414 "libopencv-ml4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800415 "libopencv-objdetect-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800416 "libopencv-objdetect4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800417 "libopencv-photo-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800418 "libopencv-photo4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800419 "libopencv-shape-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800420 "libopencv-shape4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800421 "libopencv-stitching-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800422 "libopencv-stitching4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800423 "libopencv-superres-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800424 "libopencv-superres4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800425 "libopencv-video-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800426 "libopencv-video4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800427 "libopencv-videoio-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800428 "libopencv-videoio4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800429 "libopencv-videostab-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800430 "libopencv-videostab4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800431 "libopencv-viz-dev",
Brian Silverman4c7235a2021-11-17 19:04:37 -0800432 "libopencv-viz4.5",
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800433 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800434 target_compatible_with = ["@platforms//os:linux"],
Austin Schuh5e7bbd72020-11-04 21:43:21 -0800435)
436
Brian Silvermand4260c72020-01-14 00:08:02 -0800437generate_deb_tarball(
Philipp Schraderf1bbf342022-02-05 14:30:15 -0800438 name = "opencv_arm64",
439 files = opencv_arm64_debs,
440 target_compatible_with = ["@platforms//os:linux"],
441)
442
443generate_deb_tarball(
Brian Silverman4c7235a2021-11-17 19:04:37 -0800444 name = "opencv_armhf_v4",
Brian Silvermand4260c72020-01-14 00:08:02 -0800445 files = opencv_armhf_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800446 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermand4260c72020-01-14 00:08:02 -0800447)
448
Brian Silvermand97a47c2020-01-16 00:47:53 -0800449generate_deb_tarball(
450 name = "opencv_amd64",
451 files = opencv_amd64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800452 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermand97a47c2020-01-16 00:47:53 -0800453)
454
Tyler Chatow60671d32020-02-26 19:49:30 -0800455generate_deb_tarball(
456 name = "gstreamer_amd64",
457 files = gstreamer_amd64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800458 target_compatible_with = ["@platforms//os:linux"],
Tyler Chatow60671d32020-02-26 19:49:30 -0800459)
460
461generate_deb_tarball(
462 name = "gstreamer_armhf",
463 files = gstreamer_armhf_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800464 target_compatible_with = ["@platforms//os:linux"],
Tyler Chatow60671d32020-02-26 19:49:30 -0800465)
466
Tyler Chatow6eda82c2022-03-27 22:37:38 -0700467generate_deb_tarball(
468 name = "gstreamer_arm64",
469 files = gstreamer_arm64_debs,
470 target_compatible_with = ["@platforms//os:linux"],
471)
472
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700473download_packages(
474 name = "download_lzma",
475 packages = [
476 "liblzma-dev",
477 ],
Philipp Schraderdada1072020-11-24 11:34:46 -0800478 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700479)
480
481generate_deb_tarball(
482 name = "lzma_amd64",
483 files = lzma_amd64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800484 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700485)
486
487generate_deb_tarball(
488 name = "lzma_arm64",
489 files = lzma_arm64_debs,
Philipp Schraderdada1072020-11-24 11:34:46 -0800490 target_compatible_with = ["@platforms//os:linux"],
Brian Silvermanf59fe3f2020-09-22 21:04:09 -0700491)
492
Tyler Chatow8a51ac62022-03-15 13:23:12 -0700493generate_deb_tarball(
494 name = "libtinfo5_amd64",
495 files = libtinfo5_amd64_debs,
496 target_compatible_with = ["@platforms//os:linux"],
497)
498
Tyler Chatowec100e22022-03-22 16:23:04 -0700499generate_deb_tarball(
500 name = "libtinfo5_arm64",
501 files = libtinfo5_arm64_debs,
502 target_compatible_with = ["@platforms//os:linux"],
503)
504
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800505exports_files([
506 "ssh_wrapper.sh",
Austin Schuh86110712022-09-16 15:40:54 -0700507 "curl.BUILD",
508 "BUILD.zlib.bazel",
Brian Silvermanbd7860e2020-01-05 17:52:40 -0800509])