Update to the 2019 wpilib
Lots of gratuitious incompatibilities to deal with. Started sanifying a
few classes rather than figuring out how to update them too. Has not yet
been tested on a robot, but everything still builds so it should be
fine.
Also ported over our FPGA timestamp fixes, which were previously only in
allwpilib_2018.
Also upgraded to the new roborio compiler, which has to happen at the
same time due to incompatible pre-compiled libraries.
Change-Id: Ib9b6ad8fc0112d90a9855afe1b706588ef4ebde9
diff --git a/third_party/ceres/BUILD b/third_party/ceres/BUILD
index 216b1b5..8bc1dde 100644
--- a/third_party/ceres/BUILD
+++ b/third_party/ceres/BUILD
@@ -32,6 +32,7 @@
# not support parameterization around threading choice or sparse backends.
load("//:bazel/ceres.bzl", "ceres_library")
+load("@//tools/build_rules:select.bzl", "cpu_select")
ceres_library(
name = "ceres",
@@ -170,7 +171,10 @@
"-Wno-format-nonliteral",
"-Wno-missing-braces",
"-Wno-missing-field-initializers",
-]
+] + cpu_select({
+ "roborio": ["-Wno-nonnull-compare"],
+ "else": [],
+})
TEST_DEPS = [
"//:ceres",