Dominique Leuenberger 2015-05-06 05:48:46 +00:00 committed by Git OBS Bridge
commit 4f95bf9f13
4 changed files with 24 additions and 8 deletions

View File

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

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

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Mar 25 08:05:20 UTC 2015 - dmitry_r@opensuse.org
- Update to version 0.2.14
* Improve ger and gemv for small matrices by stack allocation.
e.g. make -DMAX_STACK_ALLOC=2048
* Introduce openblas_get_num_threads and openblas_get_num_procs.
* Add ATLAS-style ?geadd function.
* Fix c/zsyr bug with negative incx.
* Fix race condition during shutdown causing a crash in
gotoblas_set_affinity().
x86/x86-64:
* Support AMD Streamroller.
ARM:
* Add Cortex-A9 and Cortex-A15 targets.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 3 16:06:49 UTC 2014 - dmitry_r@opensuse.org Wed Dec 3 16:06:49 UTC 2014 - dmitry_r@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package openblas # spec file for package openblas
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: openblas Name: openblas
Version: 0.2.13 Version: 0.2.14
Release: 0 Release: 0
Summary: An optimized BLAS library based on GotoBLAS2 Summary: An optimized BLAS library based on GotoBLAS2
License: BSD-3-Clause License: BSD-3-Clause
@ -112,8 +112,8 @@ cd OpenBLAS-%{version}
%patch1 -p1 %patch1 -p1
%patch2 -p1 %patch2 -p1
%patch3 -p1 %patch3 -p1
cd .. cd ..
# prepare build for serial, threaded and OpenMP versions # prepare build for serial, threaded and OpenMP versions
cp -ar OpenBLAS-%{version} openmp cp -ar OpenBLAS-%{version} openmp
cp -ar OpenBLAS-%{version} threaded cp -ar OpenBLAS-%{version} threaded
@ -123,7 +123,7 @@ mv OpenBLAS-%{version} serial
# Make serial, threaded and OpenMP versions # Make serial, threaded and OpenMP versions
make -C serial DYNAMIC_ARCH=1 USE_THREAD=0 USE_OPENMP=0 \ make -C serial DYNAMIC_ARCH=1 USE_THREAD=0 USE_OPENMP=0 \
FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64
make -C openmp DYNAMIC_ARCH=1 USE_THREAD=0 USE_OPENMP=1 LIBNAMESUFFIX=o \ make -C openmp DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=1 LIBNAMESUFFIX=o \
FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64
make -C threaded DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 LIBNAMESUFFIX=p \ make -C threaded DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 LIBNAMESUFFIX=p \
FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64 FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64
@ -170,7 +170,7 @@ ln -sf lib%{name}p.so.0 lib%{name}p.so
# done # done
# Remove Config.cmake (we use custom libraries configuration) # Remove Config.cmake (we use custom libraries configuration)
rm %{buildroot}%{_prefix}/cmake/OpenBLASConfig.cmake rm -rf %{buildroot}%{_libdir}/cmake/openblas/
%post -n libopenblas0 %post -n libopenblas0
"%_sbindir/update-alternatives" --install \ "%_sbindir/update-alternatives" --install \