Commit Graph

8 Commits

Author SHA1 Message Date
Sameer Agarwal 5a30cae583 Preparing for 2.2.0rc1
1. Add a version history
2. Update copyright years across the code base
3. Run format_all.sh
4. Update version strings from 2.1.0 to 2.2.0 in the docs and
   elsewhere.

Change-Id: I46d8d479d54bd6002d532785e67342106e73c9ac
2023-09-21 11:23:38 -07:00
Sameer Agarwal bf47e1a368 Fix the Bazel build.
1. Fix the path to eigen, now that it uses gitlab instead of bitbucket.
2. Remove an unrecognized compiler option.
3. Remove an obsolete benchmark.

This CL only unbreaks the build, it is likely that it is still not
at par with the cmake build.

https://github.com/ceres-solver/ceres-solver/issues/628

Change-Id: I470209cbb48b6a4f499564a86b52436e0c8d98ef
2020-10-13 10:01:57 -07:00
Keir Mierle 0f57fa82db Update Bazel WORKSPACE for newest Bazel
The latest Bazel releases have deprecated Bazel-native
"http_archive()" directive in favor of a Skylark version.
This updates the WORKSPACE to use the new format, as well
as removing the Eigen BUILD in favor of a string in the
WORKSPACE.

Fixes: https://github.com/ceres-solver/ceres-solver/issues/463

Change-Id: I2f7051316dbe0c1f283423c56b7672ab83a30860
2019-04-16 01:04:59 -07:00
Keir Mierle 22fa21c6f8 Build benchmarks with Bazel
Change-Id: I559cc1aa17d5be01dcff931e05b22e0dd9e248b6
2018-02-25 15:18:26 -08:00
Rodrigo Queiro c12aae5860 Fix macOS build by updating glog
This includes https://github.com/google/glog/pull/285.

Change-Id: I4844d24ae7fc3187d4f4983e34d3a8066422a9c9
2018-01-16 17:09:06 +01:00
Rodrigo Queiro ac22a97492 Run buildifier on BUILD/WORKSPACE
Change-Id: I80bf7025811128c0795bff3e3f5b61a355d848ba
2018-01-15 15:26:19 +01:00
Keir Mierle 3f826ef30e Switch Eigen Bazel to a separate file
Change-Id: I547037460e8ec1fa14438d655c10b261daa39d96
2018-01-12 14:09:02 -08:00
Keir Mierle 07f1405300 Add initial Bazel build, including tests.
This allows building and running the Ceres tests, without
needing any external dependencies; they are downloaded and
compiled automatically thanks to the magic of Bazel.

It also opens the door for other projects that use Ceres
easily thanks to Bazel's external dependency support.

Remaining work:
- Skylark macros to allow different Ceres configurations
- Checking to make sure external projects can use this
- Parallelizing bundle_adjustment_test execution

Sample output:

  INFO: Analysed target //:ceres (6 packages loaded).
  INFO: Found 1 target...
  Target //:ceres up-to-date:
    bazel-bin/libceres.a
    bazel-bin/libceres.so
  INFO: Elapsed time: 103.756s, Critical Path: 13.97s
  INFO: Build completed successfully, 131 total actions

Change-Id: I400d3ce43f35b7e7a770da346337e3ffdb500dc2
2018-01-12 21:36:14 +00:00