Accepting request 592344 from home:badshah400:branches:science

- Update to version 3.8.0:
  * Symmetric-indefinite Factorization: Aasen’s tridiagonalization
    2 stage.
  * LAPACKE interfaces.
- Static -pic libraries are no longer built.

- Package lapack_testing.py from lapack 3.8.0 with adjusted interpreter
  and adjust BuildRequires to python3.  [bnc#1075766]

- Update to version 3.8.0:
  * Symmetric-indefinite Factorization: Aasen’s tridiagonalization
    2 stage.
  * LAPACKE interfaces.
- Static -pic libraries are no longer built.

OBS-URL: https://build.opensuse.org/request/show/592344
OBS-URL: https://build.opensuse.org/package/show/science/lapack?expand=0&rev=10
This commit is contained in:
Ismail Dönmez 2018-04-03 12:44:18 +00:00 committed by Git OBS Bridge
parent 0ce8a54fd5
commit 55b424619c
5 changed files with 45 additions and 20 deletions

View File

@ -1,11 +1,13 @@
--- BLAS/SRC/Makefile.orig 2010-01-13 13:06:19.000000000 +0100
+++ BLAS/SRC/Makefile 2010-01-13 13:07:13.000000000 +0100
@@ -167,5 +167,8 @@
clean:
rm -f *.o
Index: BLAS/SRC/Makefile
===================================================================
--- BLAS/SRC/Makefile.orig
+++ BLAS/SRC/Makefile
@@ -166,5 +166,8 @@ cleanobj:
cleanlib:
#rm -f $(BLASLIB) # May point to a system lib, e.g. -lblas
+dcabs1.o: dcabs1.f
+ $(FORTRAN) $(NOOPT) -c $< -o $@
+
.f.o:
$(FORTRAN) $(OPTS) -c $< -o $@
.f.o:
$(FORTRAN) $(OPTS) -c -o $@ $<

3
lapack-3.8.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Thu Mar 29 13:11:32 UTC 2018 - badshah400@gmail.com
- Update to version 3.8.0:
* Symmetric-indefinite Factorization: Aasens tridiagonalization
2 stage.
* LAPACKE interfaces.
- Static -pic libraries are no longer built.
-------------------------------------------------------------------
Fri Jan 12 14:29:36 UTC 2018 - rguenther@suse.com
- Package lapack_testing.py from lapack 3.8.0 with adjusted interpreter
and adjust BuildRequires to python3. [bnc#1075766]
-------------------------------------------------------------------
Wed May 31 21:39:51 UTC 2017 - jengelh@inai.de

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 29 13:11:32 UTC 2018 - badshah400@gmail.com
- Update to version 3.8.0:
* Symmetric-indefinite Factorization: Aasens tridiagonalization
2 stage.
* LAPACKE interfaces.
- Static -pic libraries are no longer built.
-------------------------------------------------------------------
Fri Jan 12 14:29:36 UTC 2018 - rguenther@suse.com

View File

@ -17,13 +17,13 @@
Name: lapack
Version: 3.5.0
Version: 3.8.0
Release: 0
Summary: Linear Algebra Package
License: BSD-3-Clause
Group: Development/Libraries/Parallel
Url: http://www.netlib.org/lapack/
Source0: http://www.netlib.org/lapack/%{name}-%{version}.tgz
Source0: http://www.netlib.org/lapack/%{name}-%{version}.tar.gz
Source1: lapack_testing.py
Source99: baselibs.conf
Patch1: lapack-3.2.2.patch
@ -222,7 +222,7 @@ make %{?_smp_mflags} lapacklib \
OPTS="%{optflags}" \
NOOPT="%{optflags} -O0"
ln -s libblas.a librefblas.a
cd lapacke
cd LAPACKE
make %{?_smp_mflags} lapacke \
CFLAGS="%{optflags} -fPIC -DADD_ -DHAVE_LAPACK_CONFIG_H -DLAPACK_COMPLEX_STRUCTURE" \
LINKER=gfortran
@ -258,7 +258,6 @@ install -d %{buildroot}/%{_sysconfdir}/alternatives
## BLAS
install -d %{buildroot}/%{_libdir}/blas
install -m 644 libblas.a %{buildroot}/%{_libdir}
install -m 644 libblas_pic.a %{buildroot}/%{_libdir}
install -m 755 libblas.so.%{version} %{buildroot}/%{_libdir}/blas
ln -s libblas.so.%{version} %{buildroot}/%{_libdir}/blas/libblas.so.3
ln -s blas/libblas.so.%{version} %{buildroot}/%{_libdir}/libblas.so
@ -268,7 +267,6 @@ ln -s libblas.so.%{version} %{buildroot}/%{_sysconfdir}/alternatives/libblas.so.
## LAPACK
install -d %{buildroot}/%{_libdir}/lapack
install -m 644 liblapack.a %{buildroot}/%{_libdir}
install -m 644 liblapack_pic.a %{buildroot}/%{_libdir}
install -m 755 liblapack.so.%{version} %{buildroot}/%{_libdir}/lapack
ln -s liblapack.so.%{version} %{buildroot}/%{_libdir}/lapack/liblapack.so.3
ln -s lapack/liblapack.so.%{version} %{buildroot}/%{_libdir}/liblapack.so
@ -277,10 +275,9 @@ ln -s lapack/liblapack.so.%{version} %{buildroot}/%{_libdir}/liblapack.so.3
ln -s liblapack.so.%{version} %{buildroot}/%{_sysconfdir}/alternatives/liblapack.so.3
## LAPACKE
install -d %{buildroot}/%{_includedir}
cd lapacke
cd LAPACKE
install -m 644 include/*.h %{buildroot}/%{_includedir}
install -m 644 liblapacke.a %{buildroot}/%{_libdir}
install -m 644 liblapacke_pic.a %{buildroot}/%{_libdir}
install -m 755 liblapacke.so.%{version} %{buildroot}/%{_libdir}
ln -s liblapacke.so.%{version} %{buildroot}/%{_libdir}/liblapacke.so.3
ln -s liblapacke.so.%{version} %{buildroot}/%{_libdir}/liblapacke.so
@ -330,7 +327,8 @@ fi
%files -n liblapack3
%defattr(-,root,root)
%doc LICENSE README
%doc README.md
%license LICENSE
%dir %{_libdir}/lapack
%{_libdir}/lapack/liblapack.so.%{version}
%{_libdir}/lapack/liblapack.so.3
@ -344,7 +342,8 @@ fi
%files -n libblas3
%defattr(-,root,root)
%doc LICENSE README
%doc README.md
%license LICENSE
%dir %{_libdir}/blas
%{_libdir}/blas/libblas.so.%{version}
%{_libdir}/blas/libblas.so.3
@ -363,7 +362,6 @@ fi
%files devel-static
%defattr(-,root,root)
%{_libdir}/liblapack.a
%{_libdir}/liblapack_pic.a
%files -n blas-devel
%defattr(-,root,root)
@ -372,7 +370,6 @@ fi
%files -n blas-devel-static
%defattr(-,root,root)
%{_libdir}/libblas.a
%{_libdir}/libblas_pic.a
%files -n liblapacke3
%defattr(-,root,root,-)
@ -381,13 +378,12 @@ fi
%files -n lapacke-devel
%defattr(-,root,root,-)
%doc lapacke/LICENSE lapacke/README
%doc LAPACKE/LICENSE LAPACKE/README
%{_libdir}/liblapacke.so
%{_includedir}/*.h
%files -n lapacke-devel-static
%defattr(-,root,root,-)
%{_libdir}/liblapacke.a
%{_libdir}/liblapacke_pic.a
%changelog