Accepting request 513093 from home:badshah400:branches:science

- Update to version 0.2.20:
  * common:
    - Improved CMake support
    - Fixed several thread race and locking bugs
    - Fixed default LAPACK optimization level
    - Updated LAPACK to 3.7.0
    - Added ReLAPACK (https://github.com/HPAC/ReLAPACK), make
      BUILD_RELAPACK=1
  * POWER:
    - Optimizations for Power9
    - Fixed several Power8 assembly bugs
  * ARM:
    - New optimized Vulcan and ThunderX2T99 targets
    - Support for ARMV7 SOFT_FP ABI  (make ARM_SOFTFP_ABI=1)
    - Detect all cpu cores including offline ones
    - Fix compilation with CLANG
    - Support building a shared library for Android
  * MIPS:
    - Fixed several threading issues
    - Fix compilation with CLANG
  * x86_64:
    - Detect Intel Bay Trail and Apollo Lake
    - Detect Intel Sky Lake and Kaby Lake
    - Detect Intel Knights Landing
    - Detect AMD A8, A10, A12 and Ryzen
    - Support 64bit builds with Visual Studio
    - Fix building with Intel and PGI compilers
    - Fix building with MINGW and TDM-GCC
    - Fix cmake builds for Haswell and related cpus
    - Fix building for Sandybridge with CLANG 3.9

OBS-URL: https://build.opensuse.org/request/show/513093
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=52
This commit is contained in:
Dmitry Roshchin 2017-08-02 19:43:10 +00:00 committed by Git OBS Bridge
parent 82ccf7a9ca
commit e2a59c91a4
6 changed files with 56 additions and 7855 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c40b5e4970f27c5f6911cb0a28aa26b6c83f17418b69f8e5a116bb983ca8557
size 10834034

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

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

View File

@ -1,16 +1,16 @@
Index: OpenBLAS-0.2.13/exports/Makefile
Index: OpenBLAS-0.2.20/exports/Makefile
===================================================================
--- OpenBLAS-0.2.13.orig/exports/Makefile
+++ OpenBLAS-0.2.13/exports/Makefile
@@ -118,6 +118,7 @@ else
--- OpenBLAS-0.2.20.orig/exports/Makefile
+++ OpenBLAS-0.2.20/exports/Makefile
@@ -137,6 +137,7 @@ else
endif
ifneq ($(C_COMPILER), LSB)
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \
+ -Wl,-z,noexecstack \
-Wl,--whole-archive $< -Wl,--no-whole-archive \
-Wl,-soname,$(LIBPREFIX).so.$(MAJOR_VERSION) $(EXTRALIB)
-Wl,-soname,$(INTERNALNAME) $(EXTRALIB)
$(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
@@ -145,6 +146,7 @@ else
@@ -164,6 +165,7 @@ else
../$(LIBSONAME) : ../$(LIBNAME).renamed linktest.c
endif
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \
@ -18,7 +18,7 @@ Index: OpenBLAS-0.2.13/exports/Makefile
-Wl,--whole-archive $< -Wl,--no-whole-archive \
$(FEXTRALIB) $(EXTRALIB)
$(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
@@ -164,6 +166,7 @@ ifeq ($(OSNAME), SunOS)
@@ -183,6 +185,7 @@ ifeq ($(OSNAME), SunOS)
so : ../$(LIBSONAME)
$(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Sat Jul 29 16:08:38 UTC 2017 - badshah400@gmail.com
- Update to version 0.2.20:
* common:
- Improved CMake support
- Fixed several thread race and locking bugs
- Fixed default LAPACK optimization level
- Updated LAPACK to 3.7.0
- Added ReLAPACK (https://github.com/HPAC/ReLAPACK), make
BUILD_RELAPACK=1
* POWER:
- Optimizations for Power9
- Fixed several Power8 assembly bugs
* ARM:
- New optimized Vulcan and ThunderX2T99 targets
- Support for ARMV7 SOFT_FP ABI (make ARM_SOFTFP_ABI=1)
- Detect all cpu cores including offline ones
- Fix compilation with CLANG
- Support building a shared library for Android
* MIPS:
- Fixed several threading issues
- Fix compilation with CLANG
* x86_64:
- Detect Intel Bay Trail and Apollo Lake
- Detect Intel Sky Lake and Kaby Lake
- Detect Intel Knights Landing
- Detect AMD A8, A10, A12 and Ryzen
- Support 64bit builds with Visual Studio
- Fix building with Intel and PGI compilers
- Fix building with MINGW and TDM-GCC
- Fix cmake builds for Haswell and related cpus
- Fix building for Sandybridge with CLANG 3.9
- Add support for the FLANG compiler
* IBM Z:
- New target z13 with BLAS3 optimizations
- Drop 0001-Fix-power8-asm.patch; fixed upstream.
- Minor rebase of c_xerbla_no-void-return.patch and
openblas-noexecstack.patch for updated version.
- Remove installed pkgconfig file as it is not adapted to the
library names we use.
-------------------------------------------------------------------
Thu May 18 09:33:23 UTC 2017 - meissner@suse.com

View File

@ -17,7 +17,7 @@
Name: openblas
Version: 0.2.19
Version: 0.2.20
Release: 0
Summary: An optimized BLAS library based on GotoBLAS2
License: BSD-3-Clause
@ -29,8 +29,6 @@ Source1: README.SUSE
Patch1: c_xerbla_no-void-return.patch
# PATCH-FIX-UPSTREAM openblas-noexecstack.patch
Patch2: openblas-noexecstack.patch
# PATCH-FIX-UPSTREAM 0001-Fix-power8-asm.patch ( https://groups.google.com/forum/#!topic/openblas-dev/YI1of4HODmw )
Patch3: 0001-Fix-power8-asm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-fortran
BuildRequires: update-alternatives
@ -176,7 +174,6 @@ tar -zxf %{SOURCE0}
cd OpenBLAS-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
cd ..
# Prepare build for serial, pthreads and OpenMP versions
@ -229,6 +226,9 @@ install -D -p -m 644 pthreads/lib%{name}_pthreads.a %{buildroot}%{_libdir}/lib%{
# Fix source permissions (also applies to LAPACK)
find -name \*.f -exec chmod 644 {} +
# Remove pkgconfig file, it can't be configured for different library suffixes we use and, as such, is useless
rm -fr %{buildroot}%{_libdir}/pkgconfig/
# Dummy target for update-alternatives
install -d %{buildroot}/%{_sysconfdir}/alternatives
ln -s lib%{name}.so.0 %{buildroot}/%{_libdir}/lib%{name}.so.0