SHA256
1
0
forked from pool/ceres-solver

Accepting request 863726 from home:andythe_great:branches:science

I have no clue why build fail for others, why cc1plus was killed.
- Update to version 2.0.0.
  * C++ threading based multi-threading support.
  * Problem::AddResidualBlock(), SizedFunction, AutoDiffCostFunction,
    NumericDiffCostFunction support an arbitrary number of parameter 
    blocks using variadic templates 
  * Significantly faster AutoDiff 
  * Mixed precision solves when using SPARSE_NORMAL_CHOLESKY. 
  * LocalParameterization objects can have a zero sized tangent 
    size, which effectively makes the parameter block constant. 
    In particular, this allows for a SubsetParameterization that 
    holds all the coordinates of a parameter block constant.
  * Visibility based preconditioning now works with Eigen and CXSparse. 
  * Added Problem::EvaluateResidualBlock() and 
    Problem::EvaluateResidualBlockAssumingParametersUnchanged(). 
  * GradientChecker now uses RIDDERS method for more accurate 
    numerical derivatives.
  * Covariance computation uses a faster SVD algorithm 
  * A new local parameterization for lines
  * A new (SUBSET) preconditioner for problems with general sparsity. 
  * Faster Schur elimination using faster custom BLAS routines for 
    small matrices.
  * Automatic differentiation for FirstOrderFunction in the form of
    AutoDiffFirstOrderFunction. 
  * TinySolverAutoDiffFunction now supports dynamic number of 
    residuals just like AutoDiffCostFunction.
  * Backward Incompatible API Changes
    * EvaluationCallback has been moved from Solver::Options to 
      Problem::Options for a more correct API.
    * Removed Android.mk based build.
    * Solver::Options::num_linear_solver_threads is no more.
  * Several other moinor fixes and changes

OBS-URL: https://build.opensuse.org/request/show/863726
OBS-URL: https://build.opensuse.org/package/show/science/ceres-solver?expand=0&rev=8
This commit is contained in:
Dirk Stoecker 2021-01-21 15:17:33 +00:00 committed by Git OBS Bridge
parent 8ff9f5b75f
commit 3b24beecca
4 changed files with 44 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4744005fc3b902fed886ea418df70690caa8e2ff6b5a90f3dd88a3d291ef8e8e
size 5450130

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10298a1d75ca884aa0507d1abb0e0f04800a92871cd400d4c361b56a777a7603
size 11225245

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Sat Jan 16 18:24:07 UTC 2021 - andy great <andythe_great@pm.me>
- Update to version 2.0.0.
* C++ threading based multi-threading support.
* Problem::AddResidualBlock(), SizedFunction, AutoDiffCostFunction,
NumericDiffCostFunction support an arbitrary number of parameter
blocks using variadic templates
* Significantly faster AutoDiff
* Mixed precision solves when using SPARSE_NORMAL_CHOLESKY.
* LocalParameterization objects can have a zero sized tangent
size, which effectively makes the parameter block constant.
In particular, this allows for a SubsetParameterization that
holds all the coordinates of a parameter block constant.
* Visibility based preconditioning now works with Eigen and CXSparse.
* Added Problem::EvaluateResidualBlock() and
Problem::EvaluateResidualBlockAssumingParametersUnchanged().
* GradientChecker now uses RIDDERS method for more accurate
numerical derivatives.
* Covariance computation uses a faster SVD algorithm
* A new local parameterization for lines
* A new (SUBSET) preconditioner for problems with general sparsity.
* Faster Schur elimination using faster custom BLAS routines for
small matrices.
* Automatic differentiation for FirstOrderFunction in the form of
AutoDiffFirstOrderFunction.
* TinySolverAutoDiffFunction now supports dynamic number of
residuals just like AutoDiffCostFunction.
* Backward Incompatible API Changes
* EvaluationCallback has been moved from Solver::Options to
Problem::Options for a more correct API.
* Removed Android.mk based build.
* Solver::Options::num_linear_solver_threads is no more.
* Several other moinor fixes and changes
-------------------------------------------------------------------
Thu Sep 17 11:07:48 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package ceres-solver
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,23 +16,21 @@
#
%define sover 1
%define sover 2
Name: ceres-solver
Version: 1.14.0
Version: 2.0.0
Release: 0
Summary: C++ library for modeling and solving optimization problems
License: BSD-3-Clause
Group: Development/Libraries/C and C++
URL: http://ceres-solver.org/
Source: http://ceres-solver.org/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 2.8.0
BuildRequires: cmake >= 3.5.0
BuildRequires: gcc-c++
BuildRequires: glog-devel >= 0.3.1
BuildRequires: libcxsparse3
BuildRequires: suitesparse-devel
BuildRequires: pkgconfig(eigen3) >= 3.1.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig(eigen3) >= 3.3.0
%description
Ceres Solver is a C++ library for modeling and solving large,
@ -77,7 +75,7 @@ This package is built with Eigen only.
%build
%cmake -DCXSPARSE=ON -DSUITESPARSE=ON -DEIGENSPARSE=ON -DOPENMP=ON -DCXX11=ON -DCMAKE_INSTALL_PREFIX=/usr -DEIGEN_INCLUDE_DIR_HINTS=/usr/include/eigen3 -DGFLAGS=OFF -DMINIGLOG=OFF -DBUILD_SHARED_LIBS=ON
make
%cmake_build
%install
%cmake_install