!9 【mainline】lapack版本升级

Merge pull request !9 from xinghe/master
This commit is contained in:
openeuler-ci-bot 2020-08-08 22:20:51 +08:00 committed by Gitee
commit 73d4004128
4 changed files with 10 additions and 28 deletions

View File

@ -1,19 +0,0 @@
diff -up lapack-3.8.0/LAPACKE/src/Makefile.missing-aawork lapack-3.8.0/LAPACKE/src/Makefile
--- lapack-3.8.0/LAPACKE/src/Makefile.missing-aawork 2018-02-26 15:44:06.754611865 -0500
+++ lapack-3.8.0/LAPACKE/src/Makefile 2018-02-26 15:44:39.925820302 -0500
@@ -1101,6 +1101,7 @@ lapacke_dsytrf_work.o \
lapacke_dsytrf_rook.o \
lapacke_dsytrf_rook_work.o \
lapacke_dsytrf_aa.o \
+lapacke_dsytrf_aa_work.o \
lapacke_dsytrf_aa_2stage.o \
lapacke_dsytrf_aa_2stage_work.o \
lapacke_dsytrf_rk.o \
@@ -1661,6 +1662,7 @@ lapacke_ssytrf_work.o \
lapacke_ssytrf_rook.o \
lapacke_ssytrf_rook_work.o \
lapacke_ssytrf_aa.o \
+lapacke_ssytrf_aa_work.o \
lapacke_ssytrf_aa_2stage.o \
lapacke_ssytrf_aa_2stage_work.o \
lapacke_ssytrf_rk.o \

Binary file not shown.

BIN
lapack-3.9.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,19 +1,17 @@
%global debug_package %{nil} %global debug_package %{nil}
%global shortver 3 %global shortver 3
%global mediumver %{shortver}.8 %global mediumver %{shortver}.9
Name: lapack Name: lapack
Version: %{mediumver}.0 Version: %{mediumver}.0
Release: 17 Release: 1
Summary: The LAPACK libraries for numerical linear algebra. Summary: The LAPACK libraries for numerical linear algebra.
License: BSD License: BSD
URL: http://www.netlib.org/lapack/ URL: http://www.netlib.org/lapack/
Source0: http://www.netlib.org/lapack/%{name}-%{version}.tar.gz Source0: https://github.com/Reference-LAPACK/lapack/archive/%{name}-%{version}.tar.gz
Source1: http://www.netlib.org/lapack/manpages.tgz Source1: http://www.netlib.org/lapack/manpages.tgz
Patch1: lapack-3.8.0-missing-aawork.patch
BuildRequires: git gcc-gfortran BuildRequires: git gcc-gfortran
Provides: blas = %{version}-%{release} Provides: blas = %{version}-%{release}
Obsoletes: blas < %{version}-%{release} Obsoletes: blas < %{version}-%{release}
@ -74,8 +72,8 @@ lapack_make()
{ {
%make_build cleanlib %make_build cleanlib
%make_build $1 \ %make_build $1 \
OPTS="%{optflags} -fPIC" \ FFLAGS="%{optflags} -fPIC" \
NOOPT="%{optflags} -O0 -fPIC" FFLAGS_NOOPT="%{optflags} -O0 -fPIC"
mv $3$2.a $2_pic.a mv $3$2.a $2_pic.a
cp $2_pic.a tmp cp $2_pic.a tmp
mkdir shared mkdir shared
@ -87,8 +85,8 @@ lapack_make()
rm -rf shared rm -rf shared
%make_build cleanlib %make_build cleanlib
%make_build $1 \ %make_build $1 \
OPTS="%{optflags}" \ FFLAGS="%{optflags}" \
NOOPT="%{optflags} -O0" FFLAGS_NOOPT="%{optflags} -O0"
} }
@ -206,6 +204,9 @@ sed -i 's|@LAPACK_VERSION@|%{version}|g' %{buildroot}%{_libdir}/pkgconfig/lapack
%endif %endif
%changelog %changelog
* Sat Aug 08 2020 xinghe <xinghe1@huawei.com> - 3.9.0-1
- update verion to 3.9.0
* Fri Apr 03 2020 Jiangping Hu <hujp1985@foxmail.com> - 3.8.0-17 * Fri Apr 03 2020 Jiangping Hu <hujp1985@foxmail.com> - 3.8.0-17
- Fix method annotations of lapack_make - Fix method annotations of lapack_make