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 Index: BLAS/SRC/Makefile
+++ BLAS/SRC/Makefile 2010-01-13 13:07:13.000000000 +0100 ===================================================================
@@ -167,5 +167,8 @@ --- BLAS/SRC/Makefile.orig
clean: +++ BLAS/SRC/Makefile
rm -f *.o @@ -166,5 +166,8 @@ cleanobj:
cleanlib:
#rm -f $(BLASLIB) # May point to a system lib, e.g. -lblas
+dcabs1.o: dcabs1.f +dcabs1.o: dcabs1.f
+ $(FORTRAN) $(NOOPT) -c $< -o $@ + $(FORTRAN) $(NOOPT) -c $< -o $@
+ +
.f.o: .f.o:
$(FORTRAN) $(OPTS) -c $< -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 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 Fri Jan 12 14:29:36 UTC 2018 - rguenther@suse.com

View File

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