mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Get ready for 1.11.0RC1
Update version numbers. Drop CERES_VERSION_ABI macro. Change-Id: Ib3eadabb318afe206bb196a5221b195d26cbeaa0
This commit is contained in:
+1
-5
@@ -78,15 +78,11 @@ set(CMAKE_DEBUG_POSTFIX "-debug")
|
||||
# release that changes the ABI. The ABI changes for almost any modification to
|
||||
# include/ceres (e.g. the public API). If you are unsure about whether
|
||||
# something is an ABI change, please ask on the list.
|
||||
#
|
||||
# For versions without ABI changes, bump the smallest number in CERES_VERSION,
|
||||
# but leave the CERES_ABI_VERSION unchanged.
|
||||
set(CERES_VERSION_MAJOR 1)
|
||||
set(CERES_VERSION_MINOR 10)
|
||||
set(CERES_VERSION_MINOR 11)
|
||||
set(CERES_VERSION_PATCH 0)
|
||||
set(CERES_VERSION
|
||||
${CERES_VERSION_MAJOR}.${CERES_VERSION_MINOR}.${CERES_VERSION_PATCH})
|
||||
set(CERES_ABI_VERSION 1.10.0)
|
||||
|
||||
enable_testing()
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ Getting the source code
|
||||
.. _section-source:
|
||||
|
||||
You can start with the `latest stable release
|
||||
<http://ceres-solver.org/ceres-solver-1.10.0.tar.gz>`_ . Or if you want
|
||||
<http://ceres-solver.org/ceres-solver-1.11.0.tar.gz>`_ . Or if you want
|
||||
the latest version, you can clone the git repository
|
||||
|
||||
.. code-block:: bash
|
||||
@@ -143,10 +143,10 @@ We are now ready to build, test, and install Ceres.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
tar zxf ceres-solver-1.10.0.tar.gz
|
||||
tar zxf ceres-solver-1.11.0.tar.gz
|
||||
mkdir ceres-bin
|
||||
cd ceres-bin
|
||||
cmake ../ceres-solver-1.10.0
|
||||
cmake ../ceres-solver-1.11.0
|
||||
make -j3
|
||||
make test
|
||||
# Optionally install Ceres, it can also be exported using CMake which
|
||||
@@ -160,7 +160,7 @@ dataset [Agarwal]_.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
bin/simple_bundle_adjuster ../ceres-solver-1.10.0/data/problem-16-22106-pre.txt
|
||||
bin/simple_bundle_adjuster ../ceres-solver-1.11.0/data/problem-16-22106-pre.txt
|
||||
|
||||
This runs Ceres for a maximum of 10 iterations using the
|
||||
``DENSE_SCHUR`` linear solver. The output should look something like
|
||||
@@ -177,7 +177,7 @@ this.
|
||||
5 1.803399e+04 5.33e+01 1.48e+04 1.23e+01 9.99e-01 8.33e+05 1 1.45e-01 1.08e+00
|
||||
6 1.803390e+04 9.02e-02 6.35e+01 8.00e-01 1.00e+00 2.50e+06 1 1.50e-01 1.23e+00
|
||||
|
||||
Ceres Solver v1.10.0 Solve Report
|
||||
Ceres Solver v1.11.0 Solve Report
|
||||
----------------------------------
|
||||
Original Reduced
|
||||
Parameter blocks 22122 22122
|
||||
@@ -278,10 +278,10 @@ We are now ready to build, test, and install Ceres.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
tar zxf ceres-solver-1.10.0.tar.gz
|
||||
tar zxf ceres-solver-1.11.0.tar.gz
|
||||
mkdir ceres-bin
|
||||
cd ceres-bin
|
||||
cmake ../ceres-solver-1.10.0
|
||||
cmake ../ceres-solver-1.11.0
|
||||
make -j3
|
||||
make test
|
||||
# Optionally install Ceres, it can also be exported using CMake which
|
||||
|
||||
+2
-2
@@ -48,9 +48,9 @@ copyright = u'2014 Google Inc'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = '1.10'
|
||||
version = '1.11'
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '1.10.0'
|
||||
release = '1.11.0'
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
||||
@@ -215,7 +215,7 @@ Solving
|
||||
4 1.803857e+04 5.58e+02 2.69e+04 8.66e+01 9.93e-01 3.69e+05 1 1.61e-01 1.03e+00
|
||||
5 1.803391e+04 4.66e+00 3.11e+02 1.02e+01 1.00e+00 1.11e+06 1 1.49e-01 1.18e+00
|
||||
|
||||
Ceres Solver v1.10.0 Solve Report
|
||||
Ceres Solver v1.11.0 Solve Report
|
||||
----------------------------------
|
||||
Original Reduced
|
||||
Parameter blocks 22122 22122
|
||||
|
||||
@@ -110,7 +110,7 @@ algorithm.
|
||||
33: f: 4.835994e-17 d: 1.00e-12 g: 1.05e-07 h: 1.13e-06 s: 1.00e+00 e: 1 it: 4.05e-06 tt: 9.81e-04
|
||||
34: f: 1.885250e-22 d: 4.84e-17 g: 2.69e-10 h: 1.45e-08 s: 1.00e+00 e: 1 it: 4.05e-06 tt: 1.00e-03
|
||||
|
||||
Solver Summary (v 1.10.0-lapack-suitesparse-cxsparse-no_openmp)
|
||||
Solver Summary (v 1.11.0-lapack-suitesparse-cxsparse-no_openmp)
|
||||
|
||||
Parameters 2
|
||||
Line search direction LBFGS (20)
|
||||
|
||||
@@ -36,7 +36,7 @@ Getting started
|
||||
===============
|
||||
|
||||
* Download the `latest stable release
|
||||
<http://ceres-solver.org/ceres-solver-1.10.0.tar.gz>`_ or clone the
|
||||
<http://ceres-solver.org/ceres-solver-1.11.0.tar.gz>`_ or clone the
|
||||
Git repository for the latest development version.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
@@ -392,7 +392,7 @@ gives us:
|
||||
12 2.865573e-13 4.30e-12 2.33e-09 6.02e-04 9.37e-01 5.31e+09 1 5.96e-06 2.67e-03
|
||||
13 1.791438e-14 2.69e-13 2.91e-10 3.01e-04 9.37e-01 1.59e+10 1 7.15e-06 2.69e-03
|
||||
|
||||
Ceres Solver v1.10.0 Solve Report
|
||||
Ceres Solver v1.11.0 Solve Report
|
||||
----------------------------------
|
||||
Original Reduced
|
||||
Parameter blocks 4 4
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
Version History
|
||||
===============
|
||||
|
||||
HEAD
|
||||
====
|
||||
1.11.0
|
||||
======
|
||||
|
||||
New Features
|
||||
------------
|
||||
|
||||
@@ -32,9 +32,8 @@
|
||||
#define CERES_PUBLIC_VERSION_H_
|
||||
|
||||
#define CERES_VERSION_MAJOR 1
|
||||
#define CERES_VERSION_MINOR 10
|
||||
#define CERES_VERSION_MINOR 11
|
||||
#define CERES_VERSION_REVISION 0
|
||||
#define CERES_VERSION_ABI 1
|
||||
|
||||
// Classic CPP stringifcation; the extra level of indirection allows the
|
||||
// preprocessor to expand the macro before being converted to a string.
|
||||
|
||||
+1
-22
@@ -40,14 +40,9 @@ fi
|
||||
|
||||
TMP="/tmp/ceres-solver-$1"
|
||||
DOCS_TMP="/tmp/ceres-solver-docs-$1"
|
||||
VERSION=$(grep 'SET(CERES_VERSION_' CMakeLists.txt | \
|
||||
VERSION=$(grep 'set(CERES_VERSION_' CMakeLists.txt | \
|
||||
sed -e 's/\(.*\) \(.*\))/\2/' | \
|
||||
tr '\n' '.' | sed -e 's/.$//')
|
||||
ABI_VERSION=$(grep 'SET(CERES_ABI_VERSION' CMakeLists.txt | \
|
||||
sed -e 's/SET(CERES_ABI_VERSION //' | \
|
||||
sed -e 's/)//')
|
||||
VERSION_IN_SPEC=$(grep '^Version:' scripts/ceres-solver.spec | \
|
||||
sed -e 's/Version: *//')
|
||||
GIT_COMMIT=$(git log -1 HEAD |grep commit)
|
||||
|
||||
if [[ $1 != $VERSION ]] ; then
|
||||
@@ -57,22 +52,12 @@ if [[ $1 != $VERSION ]] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $VERSION_IN_SPEC != $VERSION ]] ; then
|
||||
echo "ERROR: Version string from scripts/ceres-solver.spec, which is"
|
||||
echo " $VERSION_IN_SPEC, does not match the version"
|
||||
echo " from the toplevel CMakeLists.txt, which is $ABI_VERSION."
|
||||
echo " You may not be in the toplevel source directory, or the"
|
||||
echo " versions are out of sync."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Export repository.
|
||||
git checkout-index -f -a --prefix=$TMP/
|
||||
|
||||
# Build the VERSION file.
|
||||
VERSIONFILE=$TMP/VERSION
|
||||
echo "version $VERSION" >> $VERSIONFILE
|
||||
echo "abi_version $VERSION" >> $VERSIONFILE
|
||||
echo "$GIT_COMMIT" >> $VERSIONFILE
|
||||
|
||||
# Build the documentation.
|
||||
@@ -92,10 +77,4 @@ cat <<EOF
|
||||
|
||||
TODO:
|
||||
- Upload /tmp/ceres-solver-$1.tar.gz
|
||||
|
||||
- Update the release string in scripts/ceres-solver.spec if this is a RC
|
||||
release or the first release after a RC release.
|
||||
|
||||
- Build and upload RPM package.
|
||||
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user