Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2020-10-24 15:15:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openblas" Sat Oct 24 15:15:25 2020 rev:37 rq:843166 version:0.3.11 Changes: -------- --- /work/SRC/openSUSE:Factory/openblas/openblas.changes 2020-10-08 13:11:30.403135632 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.3463/openblas.changes 2020-10-24 15:15:41.160119004 +0200 @@ -1,0 +2,73 @@ +Wed Oct 21 09:18:18 UTC 2020 - Ismail Dönmez <idon...@suse.com> + +- Update _constraints to use 12GB RAM on x86_64 + +------------------------------------------------------------------- +Wed Oct 21 05:17:45 UTC 2020 - Ismail Dönmez <idon...@suse.com> + +- Update to version 0.3.11 + common: + * Reduced the default BLAS3_MEM_ALLOC_THRESHOLD (used as an upper + limit for placing temporary arrays on the stack) to be compatible + with a stack size of 1mb (as imposed by the JAVA runtime library) + * Added mixed-precision dot function SBDOT and utility functions + shstobf16, shdtobf16, sbf16tos and dbf16tod to convert between + single or double precision float arrays and bfloat16 arrays + * Fixed prototypes of LAPACK_?ggsvp and LAPACK_?ggsvd functions + in lapack.h + * Fixed underflow and rounding errors in LAPACK SLANV2 and DLANV2 + (causing miscalculations in e.g. SHSEQR/DHSEQR, LAPACK issue #263) + * Fixed workspace calculation in LAPACK ?GELQ (LAPACK issue #415) + * Fixed several bugs in the LAPACK testsuite + * Improved performance of TRMM and TRSM for certain problem sizes + * Fixed infinite recursions and workspace miscalculations in ReLAPACK + * CMAKE builds no longer require pkg-config for creating the .pc file + * Makefile builds no longer misread NO_CBLAS=0 or NO_LAPACK=0 as + enabling these options + * Fixed detection of gfortran when invoked through an mpi wrapper + * Improve thread reinitialization performance with OpenMP after a fork + * Added support for building only the subset of the library required + for a particular precision by specifying BUILD_SINGLE, BUILD_DOUBLE + * Optional function name prefixes and suffixes are now correctly + reflected in the generated cblas.h + * Added CMAKE build support for the LAPACK and multithreading tests + + power: + * Added optimized support for POWER10 + * Added support for compiling for POWER8 in 32bit mode + * Added support for compilation with LLVM/clang + * Added support for compilation with NVIDIA/PGI compilers + * Fixed building on big-endian POWER8 + * Fixed miscompilation of ZDOTC by gcc10 + * Fixed alignment errors in the POWER8 SAXPY kernel + * Improved CPU detection on AIX + * Supported building with older compilers on POWER9 + + x86_64: + * Added support for Intel Cooperlake + * Added autodetection of AMD Renoir/Matisse/Zen3 cpus + * Added autodetection of Intel Comet Lake cpus + * Reimplemented ?sum, ?dot and daxpy using universal intrinsics + * Reset the fpu state before using the fpu on Windows as a workaround + for a problem introduced in Windows 10 build 19041 (a.k.a. SDK 2004) + * Fixed potentially undefined behaviour in the dot and gemv_t kernels + * Fixed a potential segmentation fault in DYNAMIC_ARCH builds + * Fixed building for ZEN with PGI/NVIDIA and AMD AOCC compilers + + armv7: + * Fixed cpu detection on BSD-like systems + + armv8: + * Added preliminary support for Apple Vortex cpus + * Added support for the Cavium ThunderX3T110 cpu + * Fixed cpu detection on BSD-like systems + * Fixed compilation in -std=C18 mode + + IBM Z: + * Added support for compiling with the clang compiler + * Improved GEMM performance on Z14 + +- Enable bloat16 support via BUILD_BFLOAT16=1 +- Add fix-build.patch to fix build with -Werror=return-type + +------------------------------------------------------------------- Old: ---- OpenBLAS-0.3.10.tar.gz New: ---- OpenBLAS-0.3.11.tar.gz fix-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openblas.spec ++++++ --- /var/tmp/diff_new_pack.5dH2CJ/_old 2020-10-24 15:15:42.232120342 +0200 +++ /var/tmp/diff_new_pack.5dH2CJ/_new 2020-10-24 15:15:42.236120346 +0200 @@ -18,8 +18,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _vers 0_3_10 -%define vers 0.3.10 +%define _vers 0_3_11 +%define vers 0.3.11 %define pname openblas %bcond_with ringdisabled @@ -171,6 +171,8 @@ Patch1: openblas-noexecstack.patch # PATCH port Patch2: openblas-s390.patch +# PATCH-FIX-UPSTREAM fix-build.patch +Patch3: fix-build.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -276,6 +278,7 @@ %setup -q -n OpenBLAS-%{version} %patch1 -p1 %patch2 -p1 +%patch3 -p1 %ifarch s390 sed -i -e "s@m32@m31@" Makefile.system %endif @@ -316,7 +319,7 @@ %endif # Make serial, threaded and OpenMP versions make %{?_smp_mflags} %{?openblas_target} %{?build_flags} \ - COMMON_OPT="%{optflags} %{?addopt}" \ + BUILD_BFLOAT16=1 COMMON_OPT="%{optflags} %{?addopt}" \ NUM_THREADS=%{num_threads} V=1 \ OPENBLAS_LIBRARY_DIR=%{p_libdir} \ OPENBLAS_INCLUDE_DIR=%{hpc_includedir} \ ++++++ OpenBLAS-0.3.10.tar.gz -> OpenBLAS-0.3.11.tar.gz ++++++ /work/SRC/openSUSE:Factory/openblas/OpenBLAS-0.3.10.tar.gz /work/SRC/openSUSE:Factory/.openblas.new.3463/OpenBLAS-0.3.11.tar.gz differ: char 12, line 1 ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.5dH2CJ/_old 2020-10-24 15:15:42.340120476 +0200 +++ /var/tmp/diff_new_pack.5dH2CJ/_new 2020-10-24 15:15:42.344120482 +0200 @@ -1,10 +1,21 @@ +<?xml version="1.0"?> <constraints> <hardware> <disk> <size unit="G">8</size> </disk> <memory> - <size unit="M">4000</size> + <size unit="G">4</size> </memory> </hardware> -</constraints> + <overwrite> + <conditions> + <arch>x86_64</arch> + </conditions> + <hardware> + <memory> + <size unit="G">12</size> + </memory> + </hardware> + </overwrite> +</constraints> ++++++ fix-build.patch ++++++ Index: OpenBLAS-0.3.11/kernel/x86_64/dgemm_tcopy_16_skylakex.c =================================================================== --- OpenBLAS-0.3.11.orig/kernel/x86_64/dgemm_tcopy_16_skylakex.c +++ OpenBLAS-0.3.11/kernel/x86_64/dgemm_tcopy_16_skylakex.c @@ -126,4 +126,5 @@ int CNAME(BLASLONG dim_second, BLASLONG } src1 += src_inc; } + return 0; } ++++++ openblas-noexecstack.patch ++++++ --- /var/tmp/diff_new_pack.5dH2CJ/_old 2020-10-24 15:15:42.396120546 +0200 +++ /var/tmp/diff_new_pack.5dH2CJ/_new 2020-10-24 15:15:42.400120551 +0200 @@ -1,8 +1,8 @@ -Index: OpenBLAS-0.3.10/exports/Makefile +Index: OpenBLAS-0.3.11/exports/Makefile =================================================================== ---- OpenBLAS-0.3.10.orig/exports/Makefile -+++ OpenBLAS-0.3.10/exports/Makefile -@@ -163,6 +163,7 @@ else ifeq ($(F_COMPILER), FLANG) +--- OpenBLAS-0.3.11.orig/exports/Makefile ++++ OpenBLAS-0.3.11/exports/Makefile +@@ -179,6 +179,7 @@ else ifeq ($(F_COMPILER), FLANG) else ifneq ($(C_COMPILER), LSB) $(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \ @@ -10,7 +10,7 @@ -Wl,--whole-archive $< -Wl,--no-whole-archive \ -Wl,-soname,$(INTERNALNAME) $(EXTRALIB) $(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK. -@@ -191,6 +192,7 @@ else +@@ -207,6 +208,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. -@@ -210,6 +212,7 @@ ifeq ($(OSNAME), SunOS) +@@ -226,6 +228,7 @@ ifeq ($(OSNAME), SunOS) so : ../$(LIBSONAME) $(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \ ++++++ openblas-s390.patch ++++++ --- /var/tmp/diff_new_pack.5dH2CJ/_old 2020-10-24 15:15:42.420120577 +0200 +++ /var/tmp/diff_new_pack.5dH2CJ/_new 2020-10-24 15:15:42.420120577 +0200 @@ -1,9 +1,9 @@ -Index: OpenBLAS-0.3.10/c_check +Index: OpenBLAS-0.3.11/c_check =================================================================== ---- OpenBLAS-0.3.10.orig/c_check -+++ OpenBLAS-0.3.10/c_check -@@ -10,7 +10,7 @@ $hostarch = "x86_64" if ($hostarch eq "a - $hostarch = "arm" if ($hostarch =~ /^arm.*/); +--- OpenBLAS-0.3.11.orig/c_check ++++ OpenBLAS-0.3.11/c_check +@@ -11,7 +11,7 @@ $hostarch = "x86_64" if ($hostarch eq "a + $hostarch = "arm" if ($hostarch ne "arm64" && $hostarch =~ /^arm.*/); $hostarch = "arm64" if ($hostarch eq "aarch64"); $hostarch = "power" if ($hostarch =~ /^(powerpc|ppc).*/); -$hostarch = "zarch" if ($hostarch eq "s390x"); @@ -11,10 +11,10 @@ #$tmpf = new File::Temp( UNLINK => 1 ); $binary = $ENV{"BINARY"}; -Index: OpenBLAS-0.3.10/ctest.c +Index: OpenBLAS-0.3.11/ctest.c =================================================================== ---- OpenBLAS-0.3.10.orig/ctest.c -+++ OpenBLAS-0.3.10/ctest.c +--- OpenBLAS-0.3.11.orig/ctest.c ++++ OpenBLAS-0.3.11/ctest.c @@ -117,7 +117,7 @@ ARCH_X86_64 ARCH_POWER #endif @@ -24,11 +24,11 @@ ARCH_ZARCH #endif -Index: OpenBLAS-0.3.10/getarch.c +Index: OpenBLAS-0.3.11/getarch.c =================================================================== ---- OpenBLAS-0.3.10.orig/getarch.c -+++ OpenBLAS-0.3.10/getarch.c -@@ -1200,7 +1200,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF +--- OpenBLAS-0.3.11.orig/getarch.c ++++ OpenBLAS-0.3.11/getarch.c +@@ -1266,7 +1266,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF #define OPENBLAS_SUPPORTED #endif