Commit Graph

22 Commits (f73758e3a54fbb0821be4e40d5815116416a76af)

Author SHA1 Message Date
Christoph Schütte f73758e3a5
Upgrade all dependencies to new Starlark syntax. ()
The update of the prometheus library requires some fixes in the test.
2018-12-18 14:19:29 +01:00
Christoph Schütte 9c92616567 Switch to new Starlark http_archive rule ()
* Switch to new bazel workspace rules

* Add another override
2018-12-15 22:31:25 +01:00
Alexander Belyaev bdb6f2db4a
[ABSL] Use flat_hash_map instead of unordered_map. () 2018-10-08 10:47:28 +02:00
Rodrigo Queiro 05f2c6caed Various Bazel improvements ()
- `--force_pic` speeds up the build ~1.5x on my machine.
- Marking internal_client_server_test as flaky avoids misleading
  failures in some environments.
- Updating rules_boost avoids spamming stdout with configure script
  messages.
2018-08-14 12:14:06 +02:00
Alexander Belyaev fe59278286
Fix indentation in repositories.bzl and header in point_batch.h. () 2018-08-11 21:05:00 +02:00
Alexander Belyaev dcf63d6684
Use sourceforge mirrors for boost. () 2018-08-10 20:03:26 +02:00
gaschler 3877f97b23
Bump async_grpc ()
Specify timeouts where RetryStrategy is used.
2018-08-10 09:30:54 +02:00
Alexander Belyaev e3a7f39889
Add absl to CMake and Bazel builds. () 2018-07-26 06:49:37 +02:00
Christoph Schütte 2b80767b57 Upgrade async_grpc () 2018-07-13 08:48:48 +02:00
Christoph Schütte bad8c96bc6
Add token_file_path parameter and enable auth () 2018-07-05 13:14:11 +02:00
Rodrigo Queiro 9b3606b7c0 Fix glog warning ()
by updating to a version that properly enables __attribute__. This is
the last warning in the Bazel build.
2018-04-18 21:04:11 +02:00
Christoph Schütte 214606457c Switch to batch uploading for cloud based mapping and add retries () 2018-04-18 14:02:43 +02:00
Christoph Schütte 2be3c1f636 Add sparse Eigen support to Bazel build. () 2018-04-17 09:46:51 +02:00
Rodrigo Queiro c20f22e986 Suppress warnings for Bazel third_party deps ()
These warnings occur when building with gcc 7.3.0.
2018-04-16 17:48:18 +02:00
Rodrigo Queiro 911c9ab920 Update Prometheus to avoid warning ()
This pulls in https://github.com/jupp0r/prometheus-cpp/pull/103 (fix
warning) and https://github.com/jupp0r/prometheus-cpp/pull/98 (add
missing header).
2018-04-16 17:15:10 +02:00
Christoph Schütte 915ebb19a6
Use async_grpc ()
Use async_grpc
2018-03-23 10:52:48 +01:00
Rodrigo Queiro b51bf3dd6d Fix warning about incorrect workspace name ()
The workspace name for prometheus-cpp has been updated to the correct
canonical name.
2018-03-02 13:32:58 +01:00
gaschler 8e27db0f0e Link prometheus client for bazel grpc build ()
RFC=[0014](https://github.com/googlecartographer/rfcs/blob/master/text/0014-monitoring.md)
2018-02-19 11:44:23 +01:00
Rodrigo Queiro 52527ec6d4 Add licenses() declarations to BUILD files ()
These were in some, but not all, of the existing BUILD files. They make
it easier to vendor cartographer, as Bazel complains if a BUILD file in
//third_party is missing a licenses() declaration.
2018-01-24 13:16:25 +01:00
Rodrigo Queiro 1ff4c00d70 Fix the Bazel build when used as an external repo ()
Specifically, the cartographer_repositories() macro must refer to the
BUILD files contained in the cartographer workspace.
2018-01-23 22:00:12 +01:00
Rodrigo Queiro 8e2a017612 Build cartographer_grpc with Bazel ()
This doesn't work when cartographer is an external workspace, due to a
limitation in cc_grpc_library. However, the //cartographer target will
still work it is external, and cartographer_grpc users can vendor the
repository.
2018-01-23 21:29:41 +01:00
Rodrigo Queiro 0c227097e7 Add a Bazel build for cartographer ()
This does not include cartographer_grpc, nor any of the binaries
(*_main.cc). It has been tested with Bazel 0.9.0 on Ubuntu 14.04 with
the latest (at time of writing) dazel/dazel container, by running:

```
bazel build //...
bazel test //...
```

While this is a large CL, the files under third_party are not new - they have been through internal review, and this is their open-source release. The other files come to 212 lines of code.
2018-01-22 16:47:07 +01:00