Accepting request 232281 from devel:libraries:c_c++
Rename libeigen3-devel package to eigen3 (based on original package name), Also update to version 3.2.1. A delete request for libeigen3-devel will follow OBS-URL: https://build.opensuse.org/request/show/232281 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/eigen3?expand=0&rev=1
This commit is contained in:
commit
7df35ccace
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
eigen-3.2.1.tar.bz2
Normal file
3
eigen-3.2.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:66e6f2ede78d0ef650ae95aa570f548c095690b011000f9163c32618736c928a
|
||||
size 1138080
|
172
eigen3.changes
Normal file
172
eigen3.changes
Normal file
@ -0,0 +1,172 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 21:05:43 UTC 2014 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to version 3.2.1:
|
||||
* Eigen2 support is now deprecated and will be removed in version 3.3.
|
||||
Core:
|
||||
* Bug fix for Ref object containing a temporary matrix.
|
||||
* Bug 654: Allow construction of row vector from 1D array.
|
||||
* Bug 679: Support cwiseMin() and cwiseMax() on maps.
|
||||
* Support conservativeResize() on vectors.
|
||||
* Improve performance of vectorwise and replicate expressions.
|
||||
* Bug 642: Add vectorization of sqrt for doubles, and make sqrt really safe
|
||||
if EIGEN_FAST_MATH is disabled.
|
||||
* Bug 616: Try harder to align columns when printing matrices and arrays.
|
||||
* Bug 579: Add optional run-time parameter to fixed-size block methods.
|
||||
* Implement .all() and .any() for zero-sized objects
|
||||
* Bug 708: Add placement new and delete for arrays.
|
||||
* Bug 503: Better C++11 support.
|
||||
Dense linear algebra:
|
||||
* Bug 689: Speed up some matrix-vector products by using aligned loads if
|
||||
possible.
|
||||
* Make solve in FullPivHouseholderQR return least-square solution if there
|
||||
is no exact solution.
|
||||
* Bug 678: Fix fullPivHouseholderQR for rectangular matrices.
|
||||
* Fix a 0/0 issue in JacobiSVD.
|
||||
* Bug 736: Wrong result in LDLT::isPositiveDefinite() for semi-definite
|
||||
matrices.
|
||||
* Bug 740: Fix overflow issue in stableNorm().
|
||||
* Make pivoting HouseholderQR compatible with custom scalar types.
|
||||
Geometry:
|
||||
* Fix compilation of Transform * UniformScaling
|
||||
Sparse matrices:
|
||||
* Fix elimination tree and SparseQR for fat rectangular matrices.
|
||||
* Bug 635: add isCompressed to MappedSparseMatrix for compatibility.
|
||||
* Bug 664: Support iterators without operator< in setFromTriplets().
|
||||
* Fixes in SparseLU: infinite loop, aliasing issue when solving, overflow in
|
||||
memory allocation, use exceptions only if enabled (bug 672).
|
||||
* Fixes in SparseQR: reduce explicit zero, assigning result to map, assert
|
||||
catching non-conforming sizes, memory leak.
|
||||
* Bug 681: Uninitialized value in CholmodSupport which may lead to incorrect
|
||||
results.
|
||||
* Fix some issues when using a non-standard index type (bug 665 and more)
|
||||
* Update constrained CG (unsupported module) to Eigen3.
|
||||
OS and build system:
|
||||
* MacOS put OpenGL header files somewhere else from where we expected it.
|
||||
* Do not assume that alloca() is 16-byte aligned on Windows.
|
||||
* Compilation fixes when using ICC with Visual Studio.
|
||||
* Fix Fortran compiler detection in CMake files.
|
||||
* Fix some of our tests (bugs 744 and 748 and more).
|
||||
* Fix a few compiler warnings (bug 317 and more).
|
||||
* Documentation fixes (bugs 609, 638 and 739 and more).
|
||||
- Renamed the package from libeigen3-devel to eigen3. Added eigen3-devel
|
||||
subpackage with the necessary Provides/Obsoletes entries for libeigen3-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 12 21:23:59 UTC 2013 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to version 3.2.0:
|
||||
* See http://eigen.tuxfamily.org/index.php?title=ChangeLog#Eigen_3.2.0 for
|
||||
changes.
|
||||
- Removed eigen-3.1.2-remove-include-of-removed-header-file.patch (fixed
|
||||
upstream).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 19 17:53:45 UTC 2013 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to version 3.1.3:
|
||||
* Bug 526 - Fix linear vectorized transversal in linspace.
|
||||
* Bug 551 - Fix compilation issue when using EIGEN_DEFAULT_DENSE_INDEX_TYPE.
|
||||
* Bug 533 - Fix some missing const qualifiers in Transpose
|
||||
* Fix a compilation with CGAL::Gmpq by adding explicit internal:: namespace
|
||||
when calling abs().
|
||||
* Fix computation of outer-stride when calling .real() or .imag().
|
||||
* Fix handmade_aligned_realloc (affected conservativeResize()).
|
||||
* Fix sparse vector assignment from a sparse matrix.
|
||||
* Fix log(0) with SSE.
|
||||
* Fix bug in aligned_free with windows CE.
|
||||
* Fix traits of Map<Quaternion.
|
||||
* Fix a few warnings (507, 535, 581).
|
||||
* Enable SSE with ICC even when it mimics a gcc version lower than 4.2
|
||||
* Workaround gcc-4.7 bug #53900 (too aggressive optimization in our alignment
|
||||
check).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 12 17:34:58 UTC 2013 - spencerandrewjackson@yahoo.com
|
||||
|
||||
- Add eigen-3.1.2-remove-include-of-removed-header-file.patch
|
||||
* Backport 6f233061d009cdb9e79a5201e02599a72ec249c1 from upstream
|
||||
* Allow SparseCore to be included without compiler error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 25 17:11:45 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to version 3.1.2:
|
||||
* Bug 524 - Pardiso's parameter array does not have to be aligned!
|
||||
* Bug 521 - Disable __cpuidex on architectures different that x86 or x86-64
|
||||
with MSVC.
|
||||
* Bug 519 - AlignedBox::dim() was wrong for dynamic dimensions.
|
||||
* Bug 515 - Fix missing explicit scalar conversion.
|
||||
* Bug 511 - Fix pretty printers on windows.
|
||||
* Bug 509 - Fix warnings with gcc 4.7
|
||||
* Bug 501 - Remove aggressive mat/scalar optimization (was replaced by
|
||||
mat*(1/scalar) for non integer types).
|
||||
* Bug 479 - Use EISPACK's strategy re max number of iters in Schur
|
||||
decomposition.
|
||||
* Add support for scalar multiple of diagonal matrices.
|
||||
* Forward resize() function from Array/Matrix wrappers to the nested
|
||||
expression such that mat.array().resize(a,b) is now allowed.
|
||||
* Windows CE: fix the lack of the aligned_malloc function on this platform.
|
||||
* Fix comma initializer when inserting empty matrices.
|
||||
* Fix dense=sparse*diagonal products.
|
||||
* Fix compilation with m.array().min(scalar) and m.array().max(scalar).
|
||||
* Fix out-of-range memory access in GEMV (the memory was not used for the
|
||||
computation, only to assemble unaligned packets from aligned packet loads).
|
||||
* Fix various regressions with MKL support.
|
||||
* Fix aliasing issue in sparse matrix assignment.
|
||||
* Remove stupid assert in blue norm.
|
||||
* Workaround a weird compilation error with MSVC.
|
||||
- Added sparsehash-devel as build requirement for openSUSE > 12.2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 5 19:13:06 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to version 3.1.1:
|
||||
* Relicense to MPL2
|
||||
* Add a EIGEN_MPL2_ONLY build option to generate compiler errors when
|
||||
including non-MPL2 modules
|
||||
* Remove dynamic allocation for triangular matrix-matrix products of fixed
|
||||
size objects
|
||||
* Fix possible underflow issues in SelfAdjointEigenSolver
|
||||
* Fix issues with fixed-size Diagonal (sub/super diagonal size computation
|
||||
was wrong)
|
||||
* Bug 487 - Geometry module: isometry * scaling compilation error
|
||||
* Bug 486 - MKL support: fixed multiple-references linker errors with various
|
||||
decompositions
|
||||
* Bug 480 - work around compilation error on Android NDK due to isfinite
|
||||
being defined as a macro
|
||||
* Bug 485 - IterativeLinearSolvers: conflict between a typedef and template
|
||||
type parameter
|
||||
* Bug 479 - Eigenvalues/Schur: Adjust max iterations count to matrix size
|
||||
* Fixed Geometry module compilation under MSVC
|
||||
* Fixed Sparse module compilation under MSVC 2005
|
||||
- Updated the package license to "MPL-2.0 and LGPL-2.1+ and BSD-3-Clause".
|
||||
- Use pkgconfig(gl) instead of Mesa-libGL-devel as build requirement.
|
||||
- Added texlive-amsfonts build requirement for openSUSE > 12.2 to fix some
|
||||
errors during documentation building.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 22 12:42:03 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to version 3.1.0:
|
||||
* See http://eigen.tuxfamily.org/index.php?title=ChangeLog#Eigen_3.1.0 for
|
||||
changes.
|
||||
- Added new build requirements freeglut-devel, glew-devel and for
|
||||
openSUSE > 12.1 suitesparse-devel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 20 16:43:44 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Added gnu-free-fonts as build requirement in order to fix compilation of the
|
||||
development documentation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 1 14:54:02 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Don't build development documentation for openSUSE 11.4 (fails to build).
|
||||
- Fix rpmlint warning "zero-length".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 27 20:21:10 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
- Initial release (version 3.0.5).
|
117
eigen3.spec
Normal file
117
eigen3.spec
Normal file
@ -0,0 +1,117 @@
|
||||
#
|
||||
# spec file for package eigen3
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: eigen3
|
||||
Version: 3.2.1
|
||||
Release: 0
|
||||
Summary: C++ Template Library for Linear Algebra
|
||||
License: MPL-2.0 and LGPL-2.1+ and BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://eigen.tuxfamily.org/
|
||||
#DL-URL: http://bitbucket.org/eigen/eigen/get/%{version}.tar.bz2
|
||||
Source0: eigen-%{version}.tar.bz2
|
||||
BuildRequires: adolc-devel
|
||||
BuildRequires: cmake
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: fftw3-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc-fortran
|
||||
BuildRequires: gmp-devel
|
||||
%if 0%{?suse_version} > 1210
|
||||
BuildRequires: gnu-free-fonts
|
||||
%else
|
||||
BuildRequires: freefont
|
||||
%endif
|
||||
BuildRequires: freeglut-devel
|
||||
BuildRequires: glew-devel
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: graphviz-gd
|
||||
BuildRequires: gsl-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: mpfr-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig(gl)
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: sparsehash-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1210
|
||||
BuildRequires: suitesparse-devel
|
||||
%endif
|
||||
BuildRequires: superlu
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: texlive-amsfonts
|
||||
%endif
|
||||
BuildRequires: texlive-latex
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Eigen is a C++ template library for linear algebra: matrices, vectors,
|
||||
numerical solvers, and related algorithms.
|
||||
|
||||
%package devel
|
||||
Summary: C++ Template Library for Linear Algebra
|
||||
Group: Development/Libraries/C and C++
|
||||
# libeigen3-devel was last used at openSUSE 13.1 (version 3.2.0)
|
||||
Provides: libeigen3-devel = %{version}
|
||||
Obsoletes: libeigen3-devel < %{version}
|
||||
|
||||
%description devel
|
||||
Eigen is a C++ template library for linear algebra: matrices, vectors,
|
||||
numerical solvers, and related algorithms.
|
||||
|
||||
%prep
|
||||
%setup -q -n eigen-eigen-6b38706d90a9
|
||||
|
||||
# Fix rpmlint warning "wrong-file-end-of-line-encoding"
|
||||
sed -i 's/\r$//' COPYING.MINPACK
|
||||
|
||||
# Remove build time references so build-compare can do its work
|
||||
echo "HTML_TIMESTAMP = NO" >> doc/Doxyfile.in
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake \
|
||||
-DCMAKE_INSTALL_PREFIX=%{_prefix} ..
|
||||
make %{?_smp_mflags} VERBOSE=1
|
||||
%if 0%{?suse_version} > 1140
|
||||
make doc %{?_smp_mflags} VERBOSE=1
|
||||
%endif
|
||||
cd ..
|
||||
|
||||
%install
|
||||
%make_install -C build
|
||||
|
||||
# Manually install documentation in order to fix rpmlint error "files-duplicated-waste" and warning "files-duplicate" with fdupes macro
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}-devel
|
||||
%if 0%{?suse_version} > 1140
|
||||
cp -a build/doc/html/ %{buildroot}%{_docdir}/%{name}-devel/
|
||||
%endif
|
||||
cp -a COPYING.* %{buildroot}%{_docdir}/%{name}-devel/
|
||||
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{_docdir}/%{name}-devel/
|
||||
%{_includedir}/eigen3/
|
||||
%{_datadir}/pkgconfig/eigen3.pc
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user