Use boost from our source tree
Hopefully this will make master build on robotics.mvla.net again.
Change-Id: Ia7d9dce1aa49dcb909a5dedd5e6bcb673ff66c11
diff --git a/third_party/ct/BUILD b/third_party/ct/BUILD
index 6455466..97e8111 100644
--- a/third_party/ct/BUILD
+++ b/third_party/ct/BUILD
@@ -2,11 +2,6 @@
cc_library(
name = "ct",
- includes = [
- "ct_optcon/include",
- "ct_core/include",
- "ct_core/include/external",
- ],
hdrs = [
"ct_optcon/include/ct/optcon/optcon.h",
"ct_core/include/ct/core/core.h",
@@ -260,10 +255,6 @@
"ct_optcon/include/ct/optcon/mpc/policyhandler/PolicyHandler-impl.h",
"ct_optcon/include/ct/optcon/mpc/policyhandler/default/StateFeedbackPolicyHandler-impl.h",
] + glob(["ct_core/include/external/cppad/**/*.hpp"]),
- deps = [
- "//third_party/hpipm",
- "//third_party/eigen",
- ],
copts = [
"-Wno-pointer-arith",
"-Wno-unused-variable",
@@ -272,6 +263,19 @@
defines = [
"HPIPM=1",
],
- visibility = ["//visibility:public"],
+ includes = [
+ "ct_core/include",
+ "ct_core/include/external",
+ "ct_optcon/include",
+ ],
restricted_to = ["//tools:k8"],
+ visibility = ["//visibility:public"],
+ deps = [
+ "//third_party/boostorg/algorithm",
+ "//third_party/boostorg/config",
+ "//third_party/boostorg/odeint",
+ "//third_party/boostorg/property_tree",
+ "//third_party/eigen",
+ "//third_party/hpipm",
+ ],
)