1
0
forked from pool/armadillo

Accepting request 113058 from devel:libraries:c_c++

Major feature update to version 3.0.0. (forwarded request 113041 from badshah400)

OBS-URL: https://build.opensuse.org/request/show/113058
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/armadillo?expand=0&rev=18
This commit is contained in:
Stephan Kulow 2012-04-12 07:18:44 +00:00 committed by Git OBS Bridge
commit 1f8663f6d5
5 changed files with 48 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:490cc3768099c6ce4bd16b1a039cd9149b4ccca28a4a188f293721264194fa04
size 2899138

3
armadillo-3.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73f81a5c4f8710fb5c92a5ea94cdacdd859f81ad6efef6f50da793a90d4ef5f8
size 2919039

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Mon Apr 9 20:16:36 UTC 2012 - badshah400@gmail.com
- Update to version 3.0.0:
+ Added non-contiguous submatrix views
+ Added shorthand for inverse: .i()
+ Added hist() and histc()
+ Faster repmat()
+ Faster handling of submatrix views with one row or column
+ Faster generation of random numbers
+ Faster element access in fixed size matrices
+ Better detection of vector expressions by various functions
+ Expressions X=A.i()*B and X=inv(A)*B are automatically
converted to X=solve(A,B)
- Rename shared library package to libarmadillo3 in keeping with
.so file number change
- Update baselibs.conf in keeping with changes to the shared
library package name.
-------------------------------------------------------------------
Wed Apr 4 06:37:58 UTC 2012 - badshah400@gmail.com
- Update to version 2.4.4:
+ Fixes for qr() and syl()
+ More portable wall_clock class
+ Faster relational operators on submatrices.
- Update lapack dependencies in keeping with lapack changes in
devel project to fix builds on openSUSE 12.1 and 11.4.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 7 23:23:50 UTC 2012 - badshah400@gmail.com Tue Feb 7 23:23:50 UTC 2012 - badshah400@gmail.com

View File

@ -16,21 +16,20 @@
# #
Name: armadillo Name: armadillo
Version: 2.4.3 Version: 3.0.0
Release: 1 Release: 0
License: LGPL-3.0+
Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS
Url: http://arma.sourceforge.net/ License: LGPL-3.0+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://arma.sourceforge.net/
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.gz Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.gz
Source2: baselibs.conf Source2: baselibs.conf
BuildRequires: blas BuildRequires: blas-devel
BuildRequires: boost-devel BuildRequires: boost-devel
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: lapack BuildRequires: lapack-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -48,11 +47,11 @@ This library is useful if C++ has been decided as the language
of choice (due to speed and/or integration capabilities), rather of choice (due to speed and/or integration capabilities), rather
than another language like Matlab or Octave. than another language like Matlab or Octave.
%package -n libarmadillo2 %package -n libarmadillo3
Summary: Shared libraries for armadillo Summary: Shared libraries for armadillo
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
%description -n libarmadillo2 %description -n libarmadillo3
Armadillo is a C++ linear algebra library (matrix maths) Armadillo is a C++ linear algebra library (matrix maths)
aiming towards a good balance between speed and ease of use. aiming towards a good balance between speed and ease of use.
Integer, floating point and complex numbers are supported, Integer, floating point and complex numbers are supported,
@ -72,10 +71,10 @@ This package provides the shared libraries for armadillo.
%package devel %package devel
Summary: Development headers and documentation for the Armadillo C++ library Summary: Development headers and documentation for the Armadillo C++ library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: blas Requires: blas-devel
Requires: boost-devel Requires: boost-devel
Requires: lapack Requires: lapack-devel
Requires: libarmadillo2 = %{version} Requires: libarmadillo3 = %{version}
Requires: libstdc++-devel Requires: libstdc++-devel
%description devel %description devel
@ -116,11 +115,11 @@ rm -rf examples/example1_win32
rm -rf examples/example2_win32 rm -rf examples/example2_win32
rm -rf examples/lib_win32 rm -rf examples/lib_win32
%post -n libarmadillo2 -p /sbin/ldconfig %post -n libarmadillo3 -p /sbin/ldconfig
%postun -n libarmadillo2 -p /sbin/ldconfig %postun -n libarmadillo3 -p /sbin/ldconfig
%files -n libarmadillo2 %files -n libarmadillo3
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/*.so.*
%doc LICENSE.txt licenses %doc LICENSE.txt licenses
@ -130,7 +129,6 @@ rm -rf examples/lib_win32
%{_libdir}/*.so %{_libdir}/*.so
%{_includedir}/armadillo %{_includedir}/armadillo
%{_includedir}/armadillo_bits/ %{_includedir}/armadillo_bits/
%{_includedir}/armadillo_itpp
%{_datadir}/Armadillo/ %{_datadir}/Armadillo/
%doc README.txt index.html examples/ docs/ %doc README.txt index.html examples/ docs/

View File

@ -1,4 +1,4 @@
libarmadillo2 libarmadillo3
armadillo-devel armadillo-devel
requires -armadillo-<targettype> requires -armadillo-<targettype>
requires "libarmadillo2-<targettype> = <version>" requires "libarmadillo3-<targettype> = <version>"