Dominique Leuenberger 2015-10-28 16:31:15 +00:00 committed by Git OBS Bridge
commit 07238a89c7
5 changed files with 53 additions and 39 deletions

View File

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

3
openblas-0.2.15.tar.gz Normal file
View File

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

View File

@ -1,18 +0,0 @@
From e5b96e55a727bee4010a2ae4c96c6f71327ba96b Mon Sep 17 00:00:00 2001
From: Zhang Xianyi <traits.zhang@gmail.com>
Date: Tue, 24 Mar 2015 15:27:17 -0500
Subject: [PATCH] Fix build bug for ARM64.
---
kernel/arm64/KERNEL.XGENE1 | 1 +
1 file changed, 1 insertion(+)
create mode 100644 kernel/arm64/KERNEL.XGENE1
diff --git a/kernel/arm64/KERNEL.XGENE1 b/kernel/arm64/KERNEL.XGENE1
new file mode 100644
index 0000000..6ee0c73
--- /dev/null
+++ b/kernel/arm64/KERNEL.XGENE1
@@ -0,0 +1 @@
+include $(KERNELDIR)/KERNEL.ARMV8
\ No newline at end of file

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Tue Oct 27 21:11:50 UTC 2015 - dmitry_r@opensuse.org
- Update to version 0.2.15
* Enable MAX_STACK_ALLOC flags by default.
* Improve ger and gemv for small matrices.
* Improve gemv parallel with small m and large n case.
* Improve ?imatcopy when lda==ldb
* Add vecLib benchmarks
* Fix LAPACK lantr for row major matrices
* Fix LAPACKE lansy
* Import bug fixes for LAPACKE s/dormlq, c/zunmlq
* Raise the signal when pthread_create fails
* Drop obsolete openblas-arm64-build.patch
x86/x86-64:
* Support pure C generic kernels for x86/x86-64.
* Support Intel Boardwell and Skylake by Haswell kernels.
* Support AMD Excavator by Steamroller kernels.
* Optimize s/d/c/zdot for Intel SandyBridge and Haswell.
* Optimize s/d/c/zdot for AMD Piledriver and Steamroller.
* Optimize s/d/c/zapxy for Intel SandyBridge and Haswell.
* Optimize s/d/c/zapxy for AMD Piledriver and Steamroller.
* Optimize d/c/zscal for Intel Haswell, dscal for Intel SandyBridge.
* Optimize d/c/zscal for AMD Bulldozer, Piledriver and Steamroller.
* Optimize s/dger for Intel SandyBridge.
* Optimize s/dsymv for Intel SandyBridge.
* Optimize ssymv for Intel Haswell.
* Optimize dgemv for Intel Nehalem and Haswell.
* Optimize dtrmm for Intel Haswell.
ARM:
* Support Android NDK armeabi-v7a-hard ABI (-mfloat-abi=hard)
* Fix lock, rpcc bugs
POWER:
* Support ppc64le platform (ELF ABI v2)
* Support POWER7/8 by POWER6 kernels.
-------------------------------------------------------------------
Wed Jul 29 21:13:47 UTC 2015 - dmitry_r@opensuse.org

View File

@ -17,7 +17,7 @@
Name: openblas
Version: 0.2.14
Version: 0.2.15
Release: 0
Summary: An optimized BLAS library based on GotoBLAS2
License: BSD-3-Clause
@ -31,10 +31,7 @@ Patch0: openblas-libs.patch
Patch1: c_xerbla_no-void-return.patch
# PATCH-FIX-UPSTREAM openblas-noexecstack.patch
Patch2: openblas-noexecstack.patch
# PATCH-FIX-UPSTREAM openblas-arm64-build.patch
Patch3: openblas-arm64-build.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %ix86 ia64 ppc ppc64 x86_64 aarch64
BuildRequires: gcc-fortran
BuildRequires: update-alternatives
Requires(post): update-alternatives
@ -48,9 +45,8 @@ Summary: An optimized BLAS library based on GotoBLAS2, serial version
Group: System/Libraries
Requires(post): update-alternatives
Requires(preun): update-alternatives
# TODO set <= 0.2.14
Obsoletes: lib%{name}0 < %{version}-%{release}
Provides: lib%{name}0 = %{version}-%{release}
Obsoletes: lib%{name}0 < %{version}
Provides: lib%{name}0 = %{version}
%description -n lib%{name}_serial0
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
@ -71,15 +67,15 @@ Summary: An optimized BLAS library based on GotoBLAS2, OpenMP version
Group: System/Libraries
Requires(post): update-alternatives
Requires(preun): update-alternatives
# TODO set <= 0.2.14
Obsoletes: lib%{name}0 < %{version}-%{release}
Provides: lib%{name}0 = %{version}-%{release}
Obsoletes: lib%{name}0 < %{version}
Provides: lib%{name}0 = %{version}
%description -n lib%{name}_openmp0
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
This package contains the library compiled with OpenMP support.
# libopenblaso0 can be deleted after openSUSE 13.2 EOL
%package -n lib%{name}o0
Summary: An optimized BLAS library based on GotoBLAS2, OpenMP version
Group: System/Libraries
@ -106,15 +102,15 @@ Summary: An optimized BLAS library based on GotoBLAS2, pthreads version
Group: System/Libraries
Requires(post): update-alternatives
Requires(preun): update-alternatives
# TODO set <= 0.2.14
Obsoletes: lib%{name}0 < %{version}-%{release}
Provides: lib%{name}0 = %{version}-%{release}
Obsoletes: lib%{name}0 < %{version}
Provides: lib%{name}0 = %{version}
%description -n lib%{name}_pthreads0
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
This package contains the library compiled with threading support.
# libopenblasp0 can be deleted after openSUSE 13.2 EOL
%package -n lib%{name}p0
Summary: An optimized BLAS library based on GotoBLAS2, pthreads version
Group: System/Libraries
@ -154,8 +150,7 @@ This package contains the development libraries and headers for OpenBLAS.
%package devel-headers
Summary: Development headers for OpenBLAS
Group: Development/Libraries/C and C++
# TODO set <= 0.2.14
Conflicts: %{name}-devel < %{version}-%{release}
Conflicts: %{name}-devel < %{version}
BuildArch: noarch
%description devel-headers
@ -182,7 +177,6 @@ cd OpenBLAS-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
cd ..
# Prepare build for serial, pthreads and OpenMP versions
@ -193,7 +187,7 @@ mv OpenBLAS-%{version} serial
cp %{SOURCE1} .
%build
# Only *86 CPUs support DYNAMIC_ARCH
# Only x86/x86-64 CPUs support DYNAMIC_ARCH
%ifarch %ix86 x86_64
%define openblas_target DYNAMIC_ARCH=1
%endif
@ -264,7 +258,7 @@ ln -sf lib%{name}p.so.0 lib%{name}p.so
sed -i 's|%{buildroot}||g' %{buildroot}%{_libdir}/cmake/%{name}/*.cmake
sed -i 's|_serial||g' %{buildroot}%{_libdir}/cmake/%{name}/*.cmake
# Delete info about host cpu
# Delete info about OBS host cpu
%ifarch %ix86 x86_64
sed -i '/#define OPENBLAS_NEEDBUNDERSCORE/,/#define OPENBLAS_VERSION/{//!d}' %{buildroot}%{_includedir}/%{name}/openblas_config.h
%endif
@ -298,6 +292,7 @@ if [ "$1" = 0 ] ; then
fi
%post -n lib%{name}_openmp0
# Migration script can be deleted after openSUSE 13.2 EOL
# Check config
config_blas_mode=$(%{_sbindir}/update-alternatives --query libblas.so.3 | grep 'Status:' | sed -e 's/Status: //g')
config_blas_value=$(%{_sbindir}/update-alternatives --query libblas.so.3 | grep 'Value:' | grep -o 'openblas.')
@ -346,6 +341,7 @@ if [ "$1" = 0 ] ; then
fi
%post -n lib%{name}_pthreads0
# Migration script can be deleted after openSUSE 13.2 EOL
# Check config
config_blas_mode=$(%{_sbindir}/update-alternatives --query libblas.so.3 | grep 'Status:' | sed -e 's/Status: //g')
config_blas_value=$(%{_sbindir}/update-alternatives --query libblas.so.3 | grep 'Value:' | grep -o 'openblas.')