Update Ceres to latest upstream version
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 1 May 2014 23:52:56 +0000 (05:52 +0600)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Jun 2014 08:08:27 +0000 (14:08 +0600)
commit72ac596e19ddb37636e107635b52ee78888460e7
tree5b94775ba0528366a07114c8d47859f485c725e0
parent0a0e4e0e698eb496c4fb18c79b532104581ce0af
Update Ceres to latest upstream version

Brings new bounds limiting and also prepares build system
for the changes in the upstream.

Namely shared_ptr header and namespace is now being detected
by a build system rather than by hacks in the code.

This commit includes some changes to auto-detection flags
in SCons, presumably adding more consistency there. This
is main changes which are suppoed to be reviewed here.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D581
134 files changed:
SConstruct
build_files/cmake/macros.cmake
build_files/scons/Modules/FindPython.py [moved from build_files/scons/config/Modules/FindPython.py with 100% similarity]
build_files/scons/Modules/FindSharedPtr.py [new file with mode: 0644]
build_files/scons/Modules/FindUnorderedMap.py [moved from build_files/scons/tools/unordered_map.py with 73% similarity]
build_files/scons/Modules/__init__.py [moved from build_files/scons/config/Modules/__init__.py with 100% similarity]
build_files/scons/config/linux-config.py
extern/libmv/CMakeLists.txt
extern/libmv/SConscript
extern/libmv/bundle.sh
extern/libmv/third_party/ceres/CMakeLists.txt
extern/libmv/third_party/ceres/ChangeLog
extern/libmv/third_party/ceres/SConscript
extern/libmv/third_party/ceres/bundle.sh
extern/libmv/third_party/ceres/config/ceres/internal/config.h [new file with mode: 0644]
extern/libmv/third_party/ceres/files.txt
extern/libmv/third_party/ceres/include/ceres/autodiff_local_parameterization.h
extern/libmv/third_party/ceres/include/ceres/c_api.h
extern/libmv/third_party/ceres/include/ceres/ceres.h
extern/libmv/third_party/ceres/include/ceres/conditioned_cost_function.h
extern/libmv/third_party/ceres/include/ceres/cost_function.h
extern/libmv/third_party/ceres/include/ceres/covariance.h
extern/libmv/third_party/ceres/include/ceres/crs_matrix.h
extern/libmv/third_party/ceres/include/ceres/fpclassify.h
extern/libmv/third_party/ceres/include/ceres/internal/port.h
extern/libmv/third_party/ceres/include/ceres/iteration_callback.h
extern/libmv/third_party/ceres/include/ceres/jet.h
extern/libmv/third_party/ceres/include/ceres/local_parameterization.h
extern/libmv/third_party/ceres/include/ceres/loss_function.h
extern/libmv/third_party/ceres/include/ceres/normal_prior.h
extern/libmv/third_party/ceres/include/ceres/problem.h
extern/libmv/third_party/ceres/include/ceres/solver.h
extern/libmv/third_party/ceres/include/ceres/types.h
extern/libmv/third_party/ceres/internal/ceres/CMakeLists.txt [new file with mode: 0644]
extern/libmv/third_party/ceres/internal/ceres/array_utils.cc
extern/libmv/third_party/ceres/internal/ceres/array_utils.h
extern/libmv/third_party/ceres/internal/ceres/blas.cc
extern/libmv/third_party/ceres/internal/ceres/block_random_access_crs_matrix.cc [deleted file]
extern/libmv/third_party/ceres/internal/ceres/block_random_access_crs_matrix.h [deleted file]
extern/libmv/third_party/ceres/internal/ceres/block_structure.cc
extern/libmv/third_party/ceres/internal/ceres/block_structure.h
extern/libmv/third_party/ceres/internal/ceres/canonical_views_clustering.cc
extern/libmv/third_party/ceres/internal/ceres/canonical_views_clustering.h
extern/libmv/third_party/ceres/internal/ceres/collections_port.h
extern/libmv/third_party/ceres/internal/ceres/compressed_row_jacobian_writer.cc
extern/libmv/third_party/ceres/internal/ceres/compressed_row_jacobian_writer.h
extern/libmv/third_party/ceres/internal/ceres/compressed_row_sparse_matrix.cc
extern/libmv/third_party/ceres/internal/ceres/compressed_row_sparse_matrix.h
extern/libmv/third_party/ceres/internal/ceres/cxsparse.cc
extern/libmv/third_party/ceres/internal/ceres/cxsparse.h
extern/libmv/third_party/ceres/internal/ceres/dynamic_compressed_row_finalizer.h [new file with mode: 0644]
extern/libmv/third_party/ceres/internal/ceres/dynamic_compressed_row_jacobian_writer.cc [new file with mode: 0644]
extern/libmv/third_party/ceres/internal/ceres/dynamic_compressed_row_jacobian_writer.h [new file with mode: 0644]
extern/libmv/third_party/ceres/internal/ceres/dynamic_compressed_row_sparse_matrix.cc [new file with mode: 0644]
extern/libmv/third_party/ceres/internal/ceres/dynamic_compressed_row_sparse_matrix.h [new file with mode: 0644]
extern/libmv/third_party/ceres/internal/ceres/evaluator.cc
extern/libmv/third_party/ceres/internal/ceres/evaluator.h
extern/libmv/third_party/ceres/internal/ceres/generate_eliminator_specialization.py
extern/libmv/third_party/ceres/internal/ceres/generate_partitioned_matrix_view_specializations.py
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_2_2.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_2_3.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_2_4.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_2_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_3_3.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_3_4.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_3_9.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_3_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_4_3.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_4_4.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_4_8.cc [new file with mode: 0644]
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_4_9.cc [new file with mode: 0644]
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_4_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_2_d_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_4_4_2.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_4_4_3.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_4_4_4.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_4_4_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/partitioned_matrix_view_d_d_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_2_2.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_2_3.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_2_4.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_2_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_3_3.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_3_4.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_3_9.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_3_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_4_3.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_4_4.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_4_8.cc [new file with mode: 0644]
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_4_9.cc [new file with mode: 0644]
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_4_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_2_d_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_4_4_2.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_4_4_3.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_4_4_4.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_4_4_d.cc
extern/libmv/third_party/ceres/internal/ceres/generated/schur_eliminator_d_d_d.cc
extern/libmv/third_party/ceres/internal/ceres/integral_types.h
extern/libmv/third_party/ceres/internal/ceres/line_search.cc
extern/libmv/third_party/ceres/internal/ceres/line_search.h
extern/libmv/third_party/ceres/internal/ceres/line_search_direction.cc
extern/libmv/third_party/ceres/internal/ceres/line_search_direction.h
extern/libmv/third_party/ceres/internal/ceres/line_search_minimizer.cc
extern/libmv/third_party/ceres/internal/ceres/line_search_minimizer.h
extern/libmv/third_party/ceres/internal/ceres/linear_solver.h
extern/libmv/third_party/ceres/internal/ceres/minimizer.cc
extern/libmv/third_party/ceres/internal/ceres/minimizer.h
extern/libmv/third_party/ceres/internal/ceres/mutex.h
extern/libmv/third_party/ceres/internal/ceres/parameter_block.h
extern/libmv/third_party/ceres/internal/ceres/partitioned_matrix_view.cc
extern/libmv/third_party/ceres/internal/ceres/problem.cc
extern/libmv/third_party/ceres/internal/ceres/problem_impl.cc
extern/libmv/third_party/ceres/internal/ceres/problem_impl.h
extern/libmv/third_party/ceres/internal/ceres/program_evaluator.h
extern/libmv/third_party/ceres/internal/ceres/residual_block_utils.cc
extern/libmv/third_party/ceres/internal/ceres/schur_complement_solver.cc
extern/libmv/third_party/ceres/internal/ceres/schur_eliminator.cc
extern/libmv/third_party/ceres/internal/ceres/schur_eliminator_impl.h
extern/libmv/third_party/ceres/internal/ceres/single_linkage_clustering.cc
extern/libmv/third_party/ceres/internal/ceres/single_linkage_clustering.h
extern/libmv/third_party/ceres/internal/ceres/small_blas.h
extern/libmv/third_party/ceres/internal/ceres/solver.cc
extern/libmv/third_party/ceres/internal/ceres/solver_impl.cc
extern/libmv/third_party/ceres/internal/ceres/solver_impl.h
extern/libmv/third_party/ceres/internal/ceres/sparse_normal_cholesky_solver.cc
extern/libmv/third_party/ceres/internal/ceres/sparse_normal_cholesky_solver.h
extern/libmv/third_party/ceres/internal/ceres/stringprintf.cc
extern/libmv/third_party/ceres/internal/ceres/suitesparse.cc
extern/libmv/third_party/ceres/internal/ceres/suitesparse.h
extern/libmv/third_party/ceres/internal/ceres/trust_region_minimizer.cc
extern/libmv/third_party/ceres/internal/ceres/visibility.cc
extern/libmv/third_party/ceres/internal/ceres/visibility.h
extern/libmv/third_party/ceres/internal/ceres/visibility_based_preconditioner.cc
extern/libmv/third_party/ceres/mkfiles.sh