Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/ceres-solver.git#6d67471905a73b96a4d0417b81585a37f0a0e434
This commit is contained in:
parent
eb5912a89b
commit
c8283ba3d6
@ -1,17 +1,15 @@
|
||||
Name: ceres-solver
|
||||
Version: 1.14.0
|
||||
Version: 2.0.0
|
||||
# Release candidate versions are messy. Give them a release of
|
||||
# e.g. "0.1.0%{?dist}" for RC1 (and remember to adjust the Source0
|
||||
# URL). Non-RC releases go back to incrementing integers starting at 1.
|
||||
Release: 7.1%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: A non-linear least squares minimizer
|
||||
|
||||
License: BSD
|
||||
|
||||
URL: http://ceres-solver.org/
|
||||
Source0: http://%{name}.org/%{name}-%{version}.tar.gz
|
||||
# Partial backport of bbe790e0f3ba9e9565862067198d2760ab669ec8: fix possible out of bounds array access
|
||||
Patch2: ceres-solver_bounds.patch
|
||||
|
||||
%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
|
||||
%global blaslib flexiblas
|
||||
@ -110,7 +108,12 @@ developing applications that use %{name}.
|
||||
|
||||
|
||||
%check
|
||||
CTEST_OUTPUT_ON_FAILURE=1 %ctest
|
||||
# FIXME: Some tests fail on these arches
|
||||
%ifarch aarch64 ppc64le
|
||||
%ctest || :
|
||||
%else
|
||||
%ctest
|
||||
%endif
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
@ -132,8 +135,14 @@ CTEST_OUTPUT_ON_FAILURE=1 %ctest
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 17 2020 Petr Šabata <contyk@redhat.com> - 1.14.0-7.1
|
||||
- Bump for gcc11
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Dec 17 15:13:12 CET 2020 Sandro Mani <manisandro@gmail.com> - 2.0.0-2
|
||||
- Rebuild (eigen3)
|
||||
|
||||
* Tue Nov 03 2020 Sandro Mani <manisandro@gmail.com> - 2.0.0-1
|
||||
- Update to 2.0.0
|
||||
|
||||
* Mon Oct 5 16:11:58 CEST 2020 Sandro Mani <manisandro@gmail.com> - 1.14.0-7
|
||||
- Rebuild (eigen3)
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff -rupN --no-dereference ceres-solver-1.14.0/internal/ceres/compressed_row_sparse_matrix.cc ceres-solver-1.14.0-new/internal/ceres/compressed_row_sparse_matrix.cc
|
||||
--- ceres-solver-1.14.0/internal/ceres/compressed_row_sparse_matrix.cc 2018-03-23 15:44:36.000000000 +0100
|
||||
+++ ceres-solver-1.14.0-new/internal/ceres/compressed_row_sparse_matrix.cc 2019-11-13 12:18:47.049980244 +0100
|
||||
@@ -196,6 +196,11 @@ CompressedRowSparseMatrix* CompressedRow
|
||||
CompressedRowSparseMatrix* output =
|
||||
new CompressedRowSparseMatrix(num_rows, num_cols, input.num_nonzeros());
|
||||
|
||||
+ if (num_rows == 0) {
|
||||
+ // No data to copy.
|
||||
+ return output;
|
||||
+ }
|
||||
+
|
||||
// Copy the contents of the cols and values array in the order given
|
||||
// by index and count the number of entries in each row.
|
||||
int* output_rows = output->mutable_rows();
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (ceres-solver-1.14.0.tar.gz) = a2af9918d2730709361ec971431a2b22e6ca3ca440081be87fa52729ec43702020b021837bfe5a42a58db1ab89ea6aada11f2d1888da66bef614ec1f27ab30c6
|
||||
SHA512 (ceres-solver-2.0.0.tar.gz) = 843b19389f4d628b2b8b8538655cb330e092ffcc960c6896c6e3065b3a34e330c81e993b7abcd754e575742e2104087efde3526945c92f7df3f6b700984e49f9
|
||||
|
Loading…
Reference in New Issue
Block a user