update version

This commit is contained in:
renmingshuai 2021-02-01 14:18:12 +08:00 committed by yeah_wang
parent 5238572b17
commit 6700f13722
3 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ diff -up OpenBLAS-0.3.7/Makefile.tests OpenBLAS-0.3.7/Makefile
endif endif
- $(MAKE) -C utest all - $(MAKE) -C utest all
+ $(MAKE) -C utest FC="$(FC)" CC="$(CC)" COMMON_OPT="$(COMMON_OPT)" FCOMMON_OPT="$(FCOMMON_OPT)" all + $(MAKE) -C utest FC="$(FC)" CC="$(CC)" COMMON_OPT="$(COMMON_OPT)" FCOMMON_OPT="$(FCOMMON_OPT)" all
ifndef NO_CBLAS ifneq ($(NO_CBLAS), 1)
- $(MAKE) -C ctest all - $(MAKE) -C ctest all
+ $(MAKE) -C ctest FC="$(FC)" CC="$(CC)" COMMON_OPT="$(COMMON_OPT)" FCOMMON_OPT="$(FCOMMON_OPT)" all + $(MAKE) -C ctest FC="$(FC)" CC="$(CC)" COMMON_OPT="$(COMMON_OPT)" FCOMMON_OPT="$(FCOMMON_OPT)" all
ifeq ($(CPP_THREAD_SAFETY_TEST), 1) ifeq ($(CPP_THREAD_SAFETY_TEST), 1)

View File

@ -1,7 +1,7 @@
%bcond_with system_lapack %bcond_with system_lapack
Name: openblas Name: openblas
Version: 0.3.10 Version: 0.3.13
Release: 1 Release: 1
Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version Summary: An optimized BLAS library based on GotoBLAS2 1.13 BSD version
License: BSD License: BSD
@ -18,7 +18,7 @@ BuildRequires: lapack-static lapack64-static
%global lapacke 0 %global lapacke 0
%else %else
%global lapacke 1 %global lapacke 1
Provides: bundled(lapack) = 3.8.0 Provides: bundled(lapack) = 3.9.0
%endif %endif
Provides: openblas-serial = %{version}-%{release} openblas-openmp = %{version}-%{release} Provides: openblas-serial = %{version}-%{release} openblas-openmp = %{version}-%{release}
@ -163,7 +163,7 @@ NMAX="NUM_THREADS=128"
TARGET="TARGET=CORE2 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1" TARGET="TARGET=CORE2 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
%endif %endif
%ifarch aarch64 %ifarch aarch64
TARGET="TARGET=ARMV8 DYNAMIC_ARCH=0" TARGET="TARGET=ARMV8 DYNAMIC_ARCH=1 DYNAMIC_OLDER=1"
%endif %endif
COMMON="%{optflags} -fPIC" COMMON="%{optflags} -fPIC"
@ -212,9 +212,6 @@ cp -a %{_includedir}/lapacke %{buildroot}%{_includedir}/%{name}
%endif %endif
# Fix name of libraries # Fix name of libraries
%ifarch aarch64
suffix="_armv8"
%endif
slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so` slibname=`basename %{buildroot}%{_libdir}/libopenblas${suffix}-*.so .so`
mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a mv %{buildroot}%{_libdir}/${slibname}.a %{buildroot}%{_libdir}/lib%{name}.a
if [[ "$suffix" != "" ]]; then if [[ "$suffix" != "" ]]; then
@ -353,6 +350,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
%{_libdir}/lib%{name}*64_.so %{_libdir}/lib%{name}*64_.so
%changelog %changelog
* Mon Feb 1 2021 xinghe <xinghe1@huawei.com> - 0.3.13-1
- Upgrade to 0.3.13
* Tue Aug 18 2020 xinghe <xinghe1@huawei.com> - 0.3.10-1 * Tue Aug 18 2020 xinghe <xinghe1@huawei.com> - 0.3.10-1
- Upgrade to 0.3.10 - Upgrade to 0.3.10