1
0
forked from pool/armadillo

Accepting request 816576 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/816576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/armadillo?expand=0&rev=136
This commit is contained in:
Dominique Leuenberger 2020-06-23 19:06:47 +00:00 committed by Git OBS Bridge
commit eefa902061
4 changed files with 18 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:900f3e8d35d8b722217bed979fa618faf6f3e4f56964c887a1fce44c3d4c4b9f
size 4721356

3
armadillo-9.900.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53d7ad6124d06fdede8d839c091c649c794dae204666f1be0d30d7931737d635
size 4724420

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Jun 9 22:00:18 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 9.900.1:
* Faster solve() for under/over-determined systems.
* Faster eig_gen() and eig_pair() for large matrices.
* Expanded eig_gen() and eig_pair() to optionally provide left
and right eigenvectors.
- Use cmake macros for configuring, building, and installing.
- Run spec-cleaner for minor cleanups.
-------------------------------------------------------------------
Sun May 17 18:10:12 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -18,7 +18,7 @@
%define soname libarmadillo9
Name: armadillo
Version: 9.880.1
Version: 9.900.1
Release: 0
Summary: C++ matrix library with interfaces to LAPACK and ATLAS
License: Apache-2.0
@ -33,7 +33,6 @@ BuildRequires: gcc-c++
BuildRequires: lapack-devel
BuildRequires: pkgconfig
BuildRequires: superlu-devel >= 5.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Armadillo is a C++ linear algebra library (matrix maths).
@ -100,24 +99,20 @@ sed -i 's/\r$//' NOTICE.txt
for i in `ls examples/*.cpp`; do sed -i 's/\r$//' $i; done
%build
cmake . \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix}\
-DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir}
make %{?_smp_mflags}
%cmake
%cmake_build
%install
make DESTDIR=%{buildroot} install
%cmake_install
rm -f examples/Makefile.cmake
rm -rf examples/example1_win64.*
rm -rf examples/example2_win64.*
rm -rf examples/lib_win64
%post -n %{soname} -p /sbin/ldconfig
%postun -n %{soname} -p /sbin/ldconfig
%files -n %{soname}
%defattr(-,root,root)
%{_libdir}/*.so.*
%files doc