Use the downloaded clang when building for armhf-debian
This makes it work on a barebones Stretch installation.
Also add building for this CPU to the CI script so we know it keeps
working, which means marking everything that's supposed to work
appropriately.
Change-Id: Ic050ce20eae45c6b23e0e42dddb24db3ebc70b84
diff --git a/aos/vision/math/BUILD b/aos/vision/math/BUILD
index fe4927b..1de8436 100644
--- a/aos/vision/math/BUILD
+++ b/aos/vision/math/BUILD
@@ -1,29 +1,38 @@
-package(default_visibility = ['//visibility:public'])
+package(default_visibility = ["//visibility:public"])
cc_library(
- name = 'segment',
- hdrs = ['segment.h'],
- deps = [':vector'],
+ name = "segment",
+ hdrs = ["segment.h"],
+ compatible_with = [
+ "//tools:armhf-debian",
+ ],
+ deps = [":vector"],
)
cc_library(
- name = 'vector',
- hdrs = [
- 'vector.h',
- ],
- deps = [
- '//third_party/eigen',
- ],
+ name = "vector",
+ hdrs = [
+ "vector.h",
+ ],
+ compatible_with = [
+ "//tools:armhf-debian",
+ ],
+ deps = [
+ "//third_party/eigen",
+ ],
)
cc_test(
- name = 'vector_test',
- srcs = [
- 'vector_test.cc',
- ],
- deps = [
- ':vector',
- '//aos/testing:googletest',
- ],
- size = 'small',
+ name = "vector_test",
+ size = "small",
+ srcs = [
+ "vector_test.cc",
+ ],
+ compatible_with = [
+ "//tools:armhf-debian",
+ ],
+ deps = [
+ ":vector",
+ "//aos/testing:googletest",
+ ],
)