Download the Windows compiler
We use this for building code to run on the driver's station.
Change-Id: I03cb907f67419e45a3a7204fa61ba2dd73b6687c
diff --git a/debian/BUILD b/debian/BUILD
index f1f38f4..957df39 100644
--- a/debian/BUILD
+++ b/debian/BUILD
@@ -20,6 +20,10 @@
":libusb.bzl",
libusb_debs = "files",
)
+load(
+ ":mingw_compiler.bzl",
+ mingw_compiler_debs = "files",
+)
load("//debian:packages.bzl", "download_packages", "generate_deb_tarball")
py_binary(
@@ -87,6 +91,13 @@
],
)
+download_packages(
+ name = "download_mingw_compiler_deps",
+ packages = [
+ "g++-mingw-w64-x86-64",
+ ],
+)
+
generate_deb_tarball(
name = "python",
files = python_debs,
@@ -111,3 +122,8 @@
name = "libusb",
files = libusb_debs,
)
+
+generate_deb_tarball(
+ name = "mingw_compiler",
+ files = mingw_compiler_debs,
+)