Commit Graph

28 Commits (fbd65fc5f3858acdef94071fc3dd5ab8f94fc15a)

Author SHA1 Message Date
Xùdōng Yáng ef00de2317
update rules_boost to latest version (#1898)
Signed-off-by: Xùdōng Yáng <wyverald@gmail.com>
2022-09-06 21:44:43 +02:00
Yannic f2035b0877
Upgrade Protobuf to v3.13.0 (#1746)
This makes cartographer compatible with
`--incompatible_blacklisted_protos_requires_proto_info`.
See https://github.com/bazelbuild/bazel/issues/11694

Signed-off-by: Yannic Bonenberger <contact@yannic-bonenberger.com>
2020-09-14 11:42:59 +02:00
Wolfgang Hess 1659f0dc8b
Fix build status on front page. (#1693)
Changes "googlecartographer" to "cartographer-project"
for references to CI and GitHub.
2020-06-02 14:08:16 +02:00
Julius Kammerl bcd5486025 Fix missing bazel dependency to absl/str_format.h in cartographer/common/histogram.cc (#1576)
Also updates com_github_jupp0r_prometheus_cpp and bazel_skylib to fix
compatibility issues with bazel 0.25
2019-05-08 17:21:22 +02:00
Christoph Schütte b1edbea84f
Update bazel dependencies (#1553)
* Update dependencies

Update protobuf grpc and bazel-rules and added bazel-skylib (required by
protobuf 3.7.1).

Closes #1519
2019-03-30 22:13:12 +01:00
Andre Gaschler b038e07fff Bump protobuf for Bazel 0.21 (#1493)
Protobuf 3.5 would require a Bazel flag
bazel build --incompatible_package_name_is_a_function=false
for Bazel 0.21 because its bazel syntax is old.
Rather than building with this flag, let's just update
the protobuf version.

Also, fix lint.
2019-01-03 08:35:32 +01:00
Christoph Schütte f73758e3a5
Upgrade all dependencies to new Starlark syntax. (#1483)
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 (#1482)
* 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. (#1439) 2018-10-08 10:47:28 +02:00
Rodrigo Queiro 05f2c6caed Various Bazel improvements (#1390)
- `--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. (#1386) 2018-08-11 21:05:00 +02:00
Alexander Belyaev dcf63d6684
Use sourceforge mirrors for boost. (#1378) 2018-08-10 20:03:26 +02:00
gaschler 3877f97b23
Bump async_grpc (#1380)
Specify timeouts where RetryStrategy is used.
2018-08-10 09:30:54 +02:00
Alexander Belyaev e3a7f39889
Add absl to CMake and Bazel builds. (#1301) 2018-07-26 06:49:37 +02:00
Christoph Schütte 2b80767b57 Upgrade async_grpc (#1272) 2018-07-13 08:48:48 +02:00
Christoph Schütte bad8c96bc6
Add token_file_path parameter and enable auth (#1235) 2018-07-05 13:14:11 +02:00
Rodrigo Queiro 9b3606b7c0 Fix glog warning (#1082)
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 (#1070) 2018-04-18 14:02:43 +02:00
Christoph Schütte 2be3c1f636 Add sparse Eigen support to Bazel build. (#1074) 2018-04-17 09:46:51 +02:00
Rodrigo Queiro c20f22e986 Suppress warnings for Bazel third_party deps (#1054)
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 (#1058)
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 (#1013)
Use async_grpc
2018-03-23 10:52:48 +01:00
Rodrigo Queiro b51bf3dd6d Fix warning about incorrect workspace name (#951)
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 (#908)
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 (#843)
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 (#840)
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 (#841)
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 (#834)
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