Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2017-08-24 18:20:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openblas" Thu Aug 24 18:20:27 2017 rev:16 rq:515929 version:0.2.20 Changes: -------- --- /work/SRC/openSUSE:Factory/openblas/openblas.changes 2017-05-27 13:09:49.531943425 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2017-08-24 18:20:37.225984139 +0200 @@ -1,0 +2,47 @@ +Wed Aug 9 19:45:54 UTC 2017 - [email protected] + +- Remove migration %post scripts for old library names + +------------------------------------------------------------------- +Sat Jul 29 16:08:38 UTC 2017 - [email protected] + +- 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. + +------------------------------------------------------------------- Old: ---- 0001-Fix-power8-asm.patch openblas-0.2.19.tar.gz New: ---- openblas-0.2.20.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openblas.spec ++++++ --- /var/tmp/diff_new_pack.asAAjF/_old 2017-08-24 18:20:39.541658084 +0200 +++ /var/tmp/diff_new_pack.asAAjF/_new 2017-08-24 18:20:39.565654706 +0200 @@ -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 @@ 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 @@ -67,25 +65,14 @@ Group: System/Libraries Requires(post): update-alternatives Requires(preun): update-alternatives -Obsoletes: lib%{name}0 < %{version} -Provides: lib%{name}0 = %{version} +Obsoletes: lib%{name}0 +Obsoletes: lib%{name}o0 %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 -Requires: lib%{name}_openmp0 = %{version} - -%description -n lib%{name}o0 -OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. - -This package contains files for backward compatibility. - %package -n lib%{name}_openmp-devel Summary: Development libraries for OpenBLAS, OpenMP version Group: Development/Libraries/C and C++ @@ -102,25 +89,14 @@ Group: System/Libraries Requires(post): update-alternatives Requires(preun): update-alternatives -Obsoletes: lib%{name}0 < %{version} -Provides: lib%{name}0 = %{version} +Obsoletes: lib%{name}0 +Obsoletes: lib%{name}p0 %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 -Requires: lib%{name}_pthreads0 = %{version} - -%description -n lib%{name}p0 -OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. - -This package contains files for backward compatibility. - %package -n lib%{name}_pthreads-devel Summary: Development headers and libraries for OpenBLAS, pthreads version Group: Development/Libraries/C and C++ @@ -176,7 +152,6 @@ cd OpenBLAS-%{version} %patch1 -p1 %patch2 -p1 -%patch3 -p1 cd .. # Prepare build for serial, pthreads and OpenMP versions @@ -229,6 +204,9 @@ # 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 @@ -247,12 +225,8 @@ ln -sf lib%{name}_serial.so.0 lib%{name}_serial.so # OpenMP libraries ln -sf lib%{name}_openmp.so.0 lib%{name}_openmp.so -ln -sf lib%{name}_openmp.so.0 lib%{name}o.so.0 -ln -sf lib%{name}o.so.0 lib%{name}o.so # Threaded libraries ln -sf lib%{name}_pthreads.so.0 lib%{name}_pthreads.so -ln -sf lib%{name}_pthreads.so.0 lib%{name}p.so.0 -ln -sf lib%{name}p.so.0 lib%{name}p.so # Fix cmake config file sed -i 's|%{buildroot}||g' %{buildroot}%{_libdir}/cmake/%{name}/*.cmake @@ -292,13 +266,6 @@ 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.') -config_lapack_mode=$(%{_sbindir}/update-alternatives --query liblapack.so.3 | grep 'Status:' | sed -e 's/Status: //g') -config_lapack_value=$(%{_sbindir}/update-alternatives --query liblapack.so.3 | grep 'Value:' | grep -o 'openblas.') -# Install %{_sbindir}/update-alternatives --install \ %{_libdir}/libblas.so.3 libblas.so.3 %{_libdir}/lib%{name}_openmp.so.0 20 %{_sbindir}/update-alternatives --install \ @@ -311,16 +278,6 @@ %else %{_libdir}/lib%{name}.so.0 lib%{name}.so.0 %{_libdir}/lib%{name}_openmp.so.0 50 %endif -# Reconfigure -if [ ${config_blas_mode} = "manual" ] && [ ${config_blas_value} = "openblaso" ]; then - %{_sbindir}/update-alternatives --set libblas.so.3 %{_libdir}/lib%{name}_openmp.so.0 -fi -if [ ${config_lapack_mode} = "manual" ] && [ ${config_lapack_value} == "openblaso" ]; then - %{_sbindir}/update-alternatives --set liblapack.so.3 %{_libdir}/lib%{name}_openmp.so.0 -fi -# Remove old variants -%{_sbindir}/update-alternatives --remove libblas.so.3 %{_libdir}/lib%{name}o.so.0 -%{_sbindir}/update-alternatives --remove liblapack.so.3 %{_libdir}/lib%{name}o.so.0 /sbin/ldconfig %preun -n lib%{name}_openmp0 @@ -341,13 +298,6 @@ 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.') -config_lapack_mode=$(%{_sbindir}/update-alternatives --query liblapack.so.3 | grep 'Status:' | sed -e 's/Status: //g') -config_lapack_value=$(%{_sbindir}/update-alternatives --query liblapack.so.3 | grep 'Value:' | grep -o 'openblas.') -# Install %{_sbindir}/update-alternatives --install \ %{_libdir}/libblas.so.3 libblas.so.3 %{_libdir}/lib%{name}_pthreads.so.0 20 %{_sbindir}/update-alternatives --install \ @@ -360,16 +310,6 @@ %else %{_libdir}/lib%{name}.so.0 lib%{name}.so.0 %{_libdir}/lib%{name}_pthreads.so.0 20 %endif -# Reconfigure -if [ ${config_blas_mode} = "manual" ] && [ ${config_blas_value} = "openblasp" ]; then - %{_sbindir}/update-alternatives --set libblas.so.3 %{_libdir}/lib%{name}_pthreads.so.0 -fi -if [ ${config_lapack_mode} = "manual" ] && [ ${config_lapack_value} == "openblasp" ]; then - %{_sbindir}/update-alternatives --set liblapack.so.3 %{_libdir}/lib%{name}_pthreads.so.0 -fi -# Remove old variants -%{_sbindir}/update-alternatives --remove libblas.so.3 %{_libdir}/lib%{name}p.so.0 -%{_sbindir}/update-alternatives --remove liblapack.so.3 %{_libdir}/lib%{name}p.so.0 /sbin/ldconfig %preun -n lib%{name}_pthreads0 @@ -417,14 +357,9 @@ %ghost %{_sysconfdir}/alternatives/libcblas.so.3 %ghost %{_sysconfdir}/alternatives/liblapack.so.3 -%files -n lib%{name}o0 -%defattr(-,root,root,-) -%{_libdir}/lib%{name}o.so.0 - %files -n lib%{name}_openmp-devel %defattr(-,root,root,-) %{_libdir}/lib%{name}_openmp.so -%{_libdir}/lib%{name}o.so %files -n lib%{name}_pthreads0 %defattr(-,root,root,-) @@ -438,14 +373,9 @@ %ghost %{_sysconfdir}/alternatives/libcblas.so.3 %ghost %{_sysconfdir}/alternatives/liblapack.so.3 -%files -n lib%{name}p0 -%defattr(-,root,root,-) -%{_libdir}/lib%{name}p.so.0 - %files -n lib%{name}_pthreads-devel %defattr(-,root,root,-) %{_libdir}/lib%{name}_pthreads.so -%{_libdir}/lib%{name}p.so %files devel %defattr(-,root,root,-) ++++++ openblas-0.2.19.tar.gz -> openblas-0.2.20.tar.gz ++++++ /work/SRC/openSUSE:Factory/openblas/openblas-0.2.19.tar.gz /work/SRC/openSUSE:Factory/.openblas.new/openblas-0.2.20.tar.gz differ: char 12, line 1 ++++++ openblas-noexecstack.patch ++++++ --- /var/tmp/diff_new_pack.asAAjF/_old 2017-08-24 18:20:39.805620918 +0200 +++ /var/tmp/diff_new_pack.asAAjF/_new 2017-08-24 18:20:39.805620918 +0200 @@ -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 @@ -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) \
