commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2020-10-28 09:58:04 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.3463 (New) Package is "openblas" Wed Oct 28 09:58:04 2020 rev:38 rq:843798 version:0.3.12 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2020-10-24 15:15:41.160119004 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.3463/openblas.changes 2020-10-28 09:58:31.707150893 +0100 @@ -1,0 +2,29 @@ +Sat Oct 24 16:27:35 UTC 2020 - Ismail Dönmez + +- Update to version 0.3.12 + common: + * Fixed missing BLAS/LAPACK functions (inadvertently dropped during +the build system restructuring to support selective compilation) + * Fixed argument conversion macro in LAPACKE_zgesvdq (LAPACK #458) + + power: + * Added optimized SCOPY/CCOPY kernels for POWER10 + * Increased and unified the default size of the GEMM buffer + * Fixed building for POWER10 in DYNAMIC_ARCH mode + * POWER10 compatibility test now checks binutils version as well + * Cleaned up compiler warnings + + x86_64: + * Corrected compiler version checks for AVX2 compatibility + * Added compiler option -mavx2 for building with flang + * Fixed direct SGEMM pathway for small matrix sizes (broken by +the code refactoring in 0.3.11) + * Fixed unhandled partial register clobbers in several kernels +for AXPY,DOT,GEMV_N and GEMV_T flagged by gcc10 tree-vectorizer + + armv8: + * Improved Apple Vortex support to include cross-compiling + +- Drop fix-build.patch, merged upstream. + +--- Old: OpenBLAS-0.3.11.tar.gz fix-build.patch New: OpenBLAS-0.3.12.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.ZdJq5d/_old 2020-10-28 09:58:35.303153409 +0100 +++ /var/tmp/diff_new_pack.ZdJq5d/_new 2020-10-28 09:58:35.307153412 +0100 @@ -18,8 +18,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _vers 0_3_11 -%define vers 0.3.11 +%define _vers 0_3_12 +%define vers 0.3.12 %define pname openblas %bcond_with ringdisabled @@ -171,8 +171,6 @@ 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 @@ -278,7 +276,6 @@ %setup -q -n OpenBLAS-%{version} %patch1 -p1 %patch2 -p1 -%patch3 -p1 %ifarch s390 sed -i -e "s@m32@m31@" Makefile.system %endif ++ OpenBLAS-0.3.11.tar.gz -> OpenBLAS-0.3.12.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/OpenBLAS-0.3.11.tar.gz /work/SRC/openSUSE:Factory/.openblas.new.3463/OpenBLAS-0.3.12.tar.gz differ: char 15, line 1
commit openblas for openSUSE:Factory
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.changes2020-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 + +- Update _constraints to use 12GB RAM on x86_64 + +--- +Wed Oct 21 05:17:45 UTC 2020 - Ismail Dönmez + +- 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
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2020-10-08 13:10:26 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.4249 (New) Package is "openblas" Thu Oct 8 13:10:26 2020 rev:36 rq:839313 version:0.3.10 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2020-09-29 18:59:11.357582956 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.4249/openblas.changes 2020-10-08 13:11:30.403135632 +0200 @@ -1,0 +2,11 @@ +Sat Oct 3 07:30:06 UTC 2020 - Egbert Eich + +- Set DYNAMIC_ARCH everywhere, use a base CPU model for non-dynamic + bits to have a reproducible base line: + x86_64: CORE2 + aarch64: ARMV8 + ppc: POWER8 + s390: ZARCH_GENERIC +- Remove workaround for build failure on aarch64 (boo#1128794). + +--- Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.EF2jo9/_old 2020-10-08 13:11:31.823136917 +0200 +++ /var/tmp/diff_new_pack.EF2jo9/_new 2020-10-08 13:11:31.827136921 +0200 @@ -293,21 +293,20 @@ %hpc_setup_compiler %endif -# Only x86/x86-64/ARMv8 CPUs support DYNAMIC_ARCH -%ifarch %ix86 x86_64 +# Use DYNAMIC_ARCH everywhere - not sure about PPC? +%global openblas_target DYNAMIC_ARCH=1 # We specify TARGET= to avoid compile-time CPU-detection (boo#1100677) -%define openblas_target TARGET=CORE2 DYNAMIC_ARCH=1 +%ifarch %ix86 x86_64 +%global openblas_target %openblas_target TARGET=CORE2 %endif %ifarch aarch64 - %if !(0%{?suse_version} > 1500) -# Temporary fix, SLE/Leap15.x compiler segfaults for -mtune=cortex-a57 with kernel/arm/axpby.c (boo#1128794) - %define openblas_target TARGET=ARMV8 - %else - %define openblas_target DYNAMIC_ARCH=1 - %ifarch s390 s390x - %define openblas_target %openblas_target TARGET=ZARCH_GENERIC - %endif - %endif +%global openblas_target %openblas_target TARGET=ARMV8 +%endif +%ifarch s390 s390x +%global openblas_target %openblas_target TARGET=ZARCH_GENERIC +%endif +%ifarch ppc64 ppc64le +%global openblas_target %openblas_target TARGET=POWER8 %endif # force -mvsx for ppc64 to avoid build failure: # ../kernel/power/sasum_microk_power8.c:41:3: error: '__vector' undeclared (first use in this function); did you mean '__cpow'?
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2020-09-29 18:59:09 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.4249 (New) Package is "openblas" Tue Sep 29 18:59:09 2020 rev:35 rq:837347 version:0.3.10 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2020-09-14 12:16:37.420442856 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.4249/openblas.changes 2020-09-29 18:59:11.357582956 +0200 @@ -1,0 +2,5 @@ +Thu Sep 24 10:45:45 UTC 2020 - Egbert Eich + +- For s390/s390x add TARGET=ZARCH_GENERIC (jsc#SLE-13773). + +--- Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.wOOOVq/_old 2020-09-29 18:59:12.073583826 +0200 +++ /var/tmp/diff_new_pack.wOOOVq/_new 2020-09-29 18:59:12.077583830 +0200 @@ -299,12 +299,15 @@ %define openblas_target TARGET=CORE2 DYNAMIC_ARCH=1 %endif %ifarch aarch64 -%if !(0%{?suse_version} > 1500) + %if !(0%{?suse_version} > 1500) # Temporary fix, SLE/Leap15.x compiler segfaults for -mtune=cortex-a57 with kernel/arm/axpby.c (boo#1128794) -%define openblas_target TARGET=ARMV8 -%else -%define openblas_target DYNAMIC_ARCH=1 -%endif + %define openblas_target TARGET=ARMV8 + %else + %define openblas_target DYNAMIC_ARCH=1 + %ifarch s390 s390x + %define openblas_target %openblas_target TARGET=ZARCH_GENERIC + %endif + %endif %endif # force -mvsx for ppc64 to avoid build failure: # ../kernel/power/sasum_microk_power8.c:41:3: error: '__vector' undeclared (first use in this function); did you mean '__cpow'?
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2020-09-14 12:14:15 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.4249 (New) Package is "openblas" Mon Sep 14 12:14:15 2020 rev:34 rq:833714 version:0.3.10 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2020-08-14 09:32:49.836383089 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.4249/openblas.changes 2020-09-14 12:16:37.420442856 +0200 @@ -6,0 +7,5 @@ +Thu Jul 23 16:25:56 UTC 2020 - Egbert Eich + +- Add build support for gcc10 to HPC build (bsc#1174439). + +--- Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.vo79t5/_old 2020-09-14 12:16:41.57070 +0200 +++ /var/tmp/diff_new_pack.vo79t5/_new 2020-09-14 12:16:41.548447074 +0200 @@ -114,6 +114,20 @@ %{bcond_without hpc} %endif +%if "%flavor" == "gnu10-hpc" +%define compiler_family gnu +%define c_f_ver 10 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu10-hpc-pthreads" +%define compiler_family gnu +%define c_f_ver 10 +%define ext pthreads +%define build_flags USE_THREAD=1 USE_OPENMP=0 +%{bcond_without hpc} +%endif + %if %{without hpc} %if 0%{!?package_name:1} %define package_name %{pname}_%{flavor}
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2020-08-14 09:31:36 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.3399 (New) Package is "openblas" Fri Aug 14 09:31:36 2020 rev:33 rq:825919 version:0.3.10 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2020-06-22 17:41:35.193015492 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.3399/openblas.changes 2020-08-14 09:32:49.836383089 +0200 @@ -1,0 +2,5 @@ +Wed Aug 12 02:36:15 UTC 2020 - Bernhard Wiedemann + +- Avoid compile-time CPU-detection (boo#1100677) + +--- Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.MKcshQ/_old 2020-08-14 09:32:50.732383548 +0200 +++ /var/tmp/diff_new_pack.MKcshQ/_new 2020-08-14 09:32:50.732383548 +0200 @@ -281,7 +281,8 @@ # Only x86/x86-64/ARMv8 CPUs support DYNAMIC_ARCH %ifarch %ix86 x86_64 -%define openblas_target DYNAMIC_ARCH=1 +# We specify TARGET= to avoid compile-time CPU-detection (boo#1100677) +%define openblas_target TARGET=CORE2 DYNAMIC_ARCH=1 %endif %ifarch aarch64 %if !(0%{?suse_version} > 1500)
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2020-06-22 17:41:27 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.2956 (New) Package is "openblas" Mon Jun 22 17:41:27 2020 rev:32 rq:814611 version:0.3.10 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2020-03-14 09:54:07.879056885 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new.2956/openblas.changes 2020-06-22 17:41:35.193015492 +0200 @@ -1,0 +2,76 @@ +Mon Jun 15 05:13:19 UTC 2020 - Ismail Dönmez + +- Update to version 0.3.10 + common: + * Improved thread locking behaviour in blas_server and parallel getrf + * Imported bugfix 394 from LAPACK (spurious reference to "XERBL" +due to overlong lines) + * Imported bugfix 403 from LAPACK (compile option "recursive" required +for correctness with Intel and PGI) + * Imported bugfix 408 from LAPACK (wrong scaling in ZHEEQUB) + * Imported bugfix 411 from LAPACK (infinite loop in LARGV/LARTG/LARTGP) + * Fixed mismatches between BUFFERSIZE and GEMM_UNROLL parameters that +could lead to crashes at large matrix sizes + * Restored internal soname in dynamic libraries on FreeBSD and Dragonfly + * Added API (openblas_setaffinity) to set thread affinity +programmatically on Linux + * Added initial infrastructure for half-precision floating point +(bfloat16) support with a generic implementation of SHGEMM + * Added CMAKE build system support for building the cblas_Xgemm3m +functions + * Fixed CMAKE support for building in a path with embedded spaces + * Fixed CMAKE (non)handling of NO_EXPRECISION and MAX_STACK_ALLOC + * Fixed GCC version detection in the Makefiles + * Allowed overriding the names of AR, AS and LD in Makefile builds + + POWER: + * fixed big-endian POWER8 ELFv2 builds on FreeBSD + * Fixed GCC version checks and DYNAMIC_ARCH builds on POWER9 + * Fixed CMAKE build support for POWER9 + * fixed a potential race condition in the thread buffer allocation + * Worked around LAPACK test failures on PPC G4 + + MIPS: + * fixed a potential race condition in the thread buffer allocation + * Added support for MIPS 24K/24KE family based on P5600 kernels + + MIPS64: + * fixed a potential race condition in the thread buffer allocation + * Added TARGET=GENERIC + + ARMV7: + * fixed a race condition in the thread buffer allocation + + ARMV8: + * Fixed a race condition in the thread buffer allocation + * Fixed zero initialisation in the assembly for SGEMM and DGEMM BETA + * Improved performance of the ThunderX2 DAXPY kernel + * Added an optimized SGEMM kernel for Cortex A53 + * Fixed Makefile support for INTERFACE64 (8-byte integer) + + x86_64: + * Fixed a syntax error in the CMAKE setup for SkylakeX + * Improved performance of STRSM on Haswell, SkylakeX and Ryzen + * Improved SGEMM performance on SGEMM for workloads with ldc a +multiple of 1024 + * Improved DGEMM performance on Skylake X + * Fixed unwanted AVX512-dependency of SGEMM in DYNAMIC_ARCH +builds created on SkylakeX + * Removed data alignment requirement in the SSE2 copy kernels +that could cause spurious crashes + * Added a workaround for an optimizer bug in AppleClang 11.0.3 + * Fixed LAPACK-TEST failures with Intel Fortran + * Fixed compilation and LAPACK test results with recent Flang +and AMD AOCC + * Fixed DYNAMIC_ARCH builds with CMAKE on OS X + * Fixed missing exports of cblas_i?amin, cblas_i?min, cblas_i?max, + * cblas_?sum, cblas_?gemm3m in the shared library on OS X + * Fixed reporting of cpu name in DYNAMIC_ARCH builds (would sometimes +show the name of an older generation chip supported by the same kernels) + + IBM Z: + * Improved performance of SGEMM/STRMM and DGEMM/DTRMM on Z14 + +- Refresh openblas-noexecstack.patch and openblas-s390.patch + +--- Old: OpenBLAS-0.3.9.tar.gz New: OpenBLAS-0.3.10.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.Wevs4X/_old 2020-06-22 17:41:36.245018868 +0200 +++ /var/tmp/diff_new_pack.Wevs4X/_new 2020-06-22 17:41:36.249018881 +0200 @@ -18,8 +18,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _vers 0_3_9 -%define vers 0.3.9 +%define _vers 0_3_10 +%define vers 0.3.10 %define pname openblas %bcond_with ringdisabled ++ OpenBLAS-0.3.9.tar.gz -> OpenBLAS-0.3.10.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/OpenBLAS-0.3.9.tar.gz /work/SRC/openSUSE:Factory/.openblas.new.2956/OpenBLAS-0.3.10.tar.gz differ: char 12, line 1 ++ openblas-noexecstack.patch ++ --- /var/tmp/diff_new_pack.Wevs4X/_old
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2020-03-14 09:54:07 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.3160 (New) Package is "openblas" Sat Mar 14 09:54:07 2020 rev:31 rq:783595 version:0.3.9 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2020-02-29 21:21:49.622197395 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new.3160/openblas.changes 2020-03-14 09:54:07.879056885 +0100 @@ -1,0 +2,40 @@ +Mon Mar 2 08:19:23 UTC 2020 - Martin Liška + +- Update to version 0.3.9 + common: + * Fixed a miscompilation of the GETRF functions with CMAKE +The size of the memory buffer used for splitting GEMM tasks across +multiple threads can now be configured in the build system. +Imported bugfix 390 from LAPACK (missing NaN propagation in xCOMBSSQ) + POWER: + * fixed several compilation problems related to endianness and +ELF version support on POWER8 and POWER9. + * fixed misuse of the absolute value IAMIN/IAMAX in place of IMIN/IMAX + * fixed a race condition in the level3 blas code + MIPS64: + * fixed misuse of the absolute value IAMIN/IAMAX in place of IMIN/IMAX + ARMV7: + * fixed a race condition in the level3 blas code + * fixed a compilation problem on Android + ARMV8: + * Added support for Ampere EMAG8180 + * Added support for Neoverse N1 +improved performance of the blas_lock function +fixed a race condition in the level3 blas code + * Fixed a performance regression on TSV110 servers + x86_64: + * Fixed a long-standing error with undeclared register clobbers in +the DSCAL microkernel for Haswell,SkylakeX and Zen exposed by gcc9.2 + * Fixed a long-standing bug in the SSE implementation of the IAMAX functions + * Fixed a cmake build failure with DYNAMIC_ARCH on x86_64 + * Fixed an oversight in the cpu detection code for Intel Goldmont+, + Cannon Lake and Ice Lake + * Fixed compile failure on OSX when the compiler name contains a dash +(e.g. gcc-9) + * Fixed compilation with MinGW on SkylakeX + * Improved speed of the AVX512 GEMM3M code, added an AVX512 kernel for + * STRMM and improved performance of the AVX2 GEMM kernels + IBM Z: + * fixed compilation of the DYNAMIC_ARCH code + +--- Old: OpenBLAS-0.3.8.tar.gz New: OpenBLAS-0.3.9.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.2cqfD5/_old 2020-03-14 09:54:08.743057519 +0100 +++ /var/tmp/diff_new_pack.2cqfD5/_new 2020-03-14 09:54:08.747057522 +0100 @@ -18,8 +18,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _vers 0_3_8 -%define vers 0.3.8 +%define _vers 0_3_9 +%define vers 0.3.9 %define pname openblas %bcond_with ringdisabled ++ OpenBLAS-0.3.8.tar.gz -> OpenBLAS-0.3.9.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/OpenBLAS-0.3.8.tar.gz /work/SRC/openSUSE:Factory/.openblas.new.3160/OpenBLAS-0.3.9.tar.gz differ: char 12, line 1
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2020-02-29 21:21:45 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.26092 (New) Package is "openblas" Sat Feb 29 21:21:45 2020 rev:30 rq:779513 version:0.3.8 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2019-12-18 14:46:36.169891536 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new.26092/openblas.changes 2020-02-29 21:21:49.622197395 +0100 @@ -1,0 +2,48 @@ +Wed Feb 26 12:22:00 UTC 2020 - Egbert Eich + +- Add support for gcc8/9 building (jsc#SLE-8604). + +--- +Mon Feb 10 07:01:49 UTC 2020 - Ismail Dönmez + +- Update to version 0.3.8 + common: + * LAPACK has been updated to 3.9.0 (plus patches up to January 2nd, 2020) + * CMAKE support has been improved in several areas including cross-compilation + * A thread race condition in the GEMM3M kernels was resolved + * The "generic" (plain C) gemm beta kernel used by many targets has been sped up + * An optimized version of the LAPACK trtrs functions has been added + * An incompatibilty between the LAPACK tests and the OpenBLAS implementation of XERBLA +was resolved, removing the numerous warnings about wrong error exits in the former + * Support for NetBSD has been added + * Support for compilation with g95 and non-GNU versions of ld has been improved + * Compilation with (upcoming) gcc 10 is now supported + power: + * Worked around miscompilation of several POWER8 and POWER9 kernels by +older versions of gcc + * Added support for big-endian POWER8 and for compilation on AIX + * Corrected bugs in the big-endian support for PPC440 and PPC970 + * DYNAMIC_ARCH support is now available in CMAKE builds as well + armv8: + * Performance of DGEMM_BETA and SGEMM_NCOPY has been improved + * Compilation for 32bit works again + * Performance of the RPCC function has been improved + * Improved performance on small systems + * DYNAMIC_ARCH support is now available in CMAKE builds as well + * Cross-compilation from OSX to IOS was simplified + x86-64: + * A new AVX512 DGEMM kernel was added and the AVX512 SGEMM kernel was +significantly improved + * Optimized AVX512 kernels for CGEMM and ZGEMM have been added + * AVX2 kernels for STRMM, SGEMM, and CGEMM have been significantly +sped up and optimized CGEMM3M and ZGEMM3M kernels have been added + * Added support for QEMU virtual cpus + * A compilation problem with PGI and SUN compilers was fixed + * Intel "Goldmont plus" is now autodetected + * A potential crash on program exit on MS Windows has been fixed + IBM Z: + * Z15 is now supported as Z14 + * DYNAMIC_ARCH is now available on ZARCH as well +- Remove now merged gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch + +--- Old: OpenBLAS-0.3.7.tar.gz gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch New: OpenBLAS-0.3.8.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.uVu8cY/_old 2020-02-29 21:21:51.014200150 +0100 +++ /var/tmp/diff_new_pack.uVu8cY/_new 2020-02-29 21:21:51.018200158 +0100 @@ -1,7 +1,7 @@ # # spec file for package openblas # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _vers 0_3_7 -%define vers 0.3.7 +%define _vers 0_3_8 +%define vers 0.3.8 %define pname openblas %bcond_with ringdisabled @@ -64,23 +64,51 @@ %{bcond_without hpc} %endif +%if "%flavor" == "gnu-hpc-pthreads" +%define compiler_family gnu +%undefine c_f_ver +%define ext pthreads +%define build_flags USE_THREAD=1 USE_OPENMP=0 +%{bcond_without hpc} +%endif + %if "%flavor" == "gnu7-hpc" %define compiler_family gnu %define c_f_ver 7 %{bcond_without hpc} %endif -%if "%flavor" == "gnu-hpc-pthreads" +%if "%flavor" == "gnu7-hpc-pthreads" %define compiler_family gnu -%undefine c_f_ver +%define c_f_ver 7 %define ext pthreads %define build_flags USE_THREAD=1 USE_OPENMP=0 %{bcond_without hpc} %endif -%if "%flavor" == "gnu7-hpc-pthreads" +%if "%flavor" == "gnu8-hpc" %define compiler_family gnu -%define c_f_ver 7 +%define c_f_ver 8 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu8-hpc-pthreads" +%define compiler_family gnu +%define c_f_ver 8 +%define ext pthreads +%define build_flags USE_THREAD=1 USE_OPENMP=0 +%{bcond_without hpc} +%endif + +%if
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2019-12-18 14:43:30 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.4691 (New) Package is "openblas" Wed Dec 18 14:43:30 2019 rev:29 rq:756109 version:0.3.7 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2019-09-30 16:01:46.648836829 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.4691/openblas.changes 2019-12-18 14:46:36.169891536 +0100 @@ -1,0 +2,6 @@ +Sun Dec 8 09:03:24 UTC 2019 - Martin Liška + +- Add gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch + in order to fix boo#1158727. + +--- New: gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.cec5tn/_old 2019-12-18 14:46:37.413892104 +0100 +++ /var/tmp/diff_new_pack.cec5tn/_new 2019-12-18 14:46:37.425892109 +0100 @@ -1,7 +1,7 @@ # # spec file for package openblas # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -121,7 +121,7 @@ Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause Group: Productivity/Scientific/Math -Url:http://www.openblas.net +URL:http://www.openblas.net Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}.tar.gz#/OpenBLAS-%{version}.tar.gz Source1:README.SUSE Source2:README.HPC.SUSE @@ -129,6 +129,7 @@ Patch1: openblas-noexecstack.patch # PATCH port Patch3: openblas-s390.patch +Patch4: gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -234,6 +235,7 @@ %setup -q -n OpenBLAS-%{version} %patch1 -p1 %patch3 -p1 +%patch4 -p1 %ifarch s390 sed -i -e "s@m32@m31@" Makefile.system %endif ++ gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch ++ >From b28db31429d9b3b6a57a182d79e63aafdd2843f1 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 6 Dec 2019 21:23:56 +0100 Subject: [PATCH] Support two-digit version numbers in gcc version check fixes #2336 (non-recognition of gcc 10) with patch provided by JeffreyALaw. --- f_check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f_check b/f_check index 993ad9a3..79b24e2d 100644 --- a/f_check +++ b/f_check @@ -71,7 +71,7 @@ if ($compiler eq "") { if ($data =~ /GNU/) { - $data =~ /(\d)\.(\d).(\d)/; + $data =~ /(\d+)\.(\d+).(\d+)/; $major = $1; $minor = $2; -- 2.24.0
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2019-09-30 16:01:36 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.2352 (New) Package is "openblas" Mon Sep 30 16:01:36 2019 rev:28 rq:734000 version:0.3.7 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2019-08-16 15:27:15.234012221 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.2352/openblas.changes 2019-09-30 16:01:46.648836829 +0200 @@ -4 +4 @@ -- Update to version 0.3.7 +- Update to version 0.3.7 (jsc#SLE-8492) Other differences: --
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2019-08-16 15:27:10 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.22127 (New) Package is "openblas" Fri Aug 16 15:27:10 2019 rev:27 rq:722787 version:0.3.7 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2019-05-06 21:12:44.268315101 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.22127/openblas.changes 2019-08-16 15:27:15.234012221 +0200 @@ -1,0 +2,39 @@ +Mon Aug 12 06:22:47 UTC 2019 - Martin Liška + +- Update to version 0.3.7 + common: +* having the gmake special variables TARGET_ARCH or TARGET_MACH + defined no longer causes build failures in ctest or utest +* defining NO_AFFINITY or USE_TLS to zero in gmake builds + no longer has the same effect as setting them to one +* a new test program was added to allow checking the library for thread safety +* a new option USE_LOCKING was added to ensure thread safety + when OpenBLAS itself is built without multithreading but +* will be called from multiple threads. +* a build failure on Linux with glibc versions earlier than 2.5 was fixed +* a runtime error with CPU enumeration (and NO_AFFINITY not set) + on glibc 2.6 was fixed +* NO_AFFINITY was added to the CMAKE options + (and defaults to being active on Linux, as in the gmake builds) + x86_64 +* the build-time logic for detection of AVX512 availability + in the processor and compiler was fixed +* gmake builds on OSX now set the internal name + of the library to libopenblas.0.dylib (consistent with CMAKE) +* the Haswell DGEMM kernel received a significant speedup + through improved prefetch and load instructions +* performance of DGEMM, DTRMM, DTRSM and ZDOT on Zen/Zen2 + was markedly increased by avoiding vpermpd instructions +* the SKYLAKEX (AVX512) DGEMM helper functions have now been + disabled to fix remaining errors in DGEMM, DSYMM and DTRMM + POWER: +* added support for building on FreeBSD/powerpc64 and FreeBSD/ppc970 +* added optimized kernels for POWER9 single and double precision complex BLAS3 +* added optimized kernels for POWER9 SGEMM and STRMM + ARMV7: +* fixed the softfp implementations of xAMAX and IxAMAX +* removed the predefined -march= flags on both ARMV5 + and ARMV6 as they were appropriate for only a subset of platforms +- Remove not needed fix-arm64-cpuid-return.patch. + +--- Old: OpenBLAS-0.3.6.tar.gz fix-arm64-cpuid-return.patch New: OpenBLAS-0.3.7.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.uzEOnL/_old 2019-08-16 15:27:15.978012057 +0200 +++ /var/tmp/diff_new_pack.uzEOnL/_new 2019-08-16 15:27:15.982012056 +0200 @@ -18,8 +18,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _vers 0_3_6 -%define vers 0.3.6 +%define _vers 0_3_7 +%define vers 0.3.7 %define pname openblas %bcond_with ringdisabled @@ -127,8 +127,6 @@ Source2:README.HPC.SUSE # PATCH-FIX-UPSTREAM openblas-noexecstack.patch Patch1: openblas-noexecstack.patch -# PATCH-FIX-UPSTREADM fix-arm64-cpuid-return.patch -Patch2: fix-arm64-cpuid-return.patch # PATCH port Patch3: openblas-s390.patch @@ -235,7 +233,6 @@ %setup -q -n OpenBLAS-%{version} %patch1 -p1 -%patch2 -p1 %patch3 -p1 %ifarch s390 sed -i -e "s@m32@m31@" Makefile.system ++ OpenBLAS-0.3.6.tar.gz -> OpenBLAS-0.3.7.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/OpenBLAS-0.3.6.tar.gz /work/SRC/openSUSE:Factory/.openblas.new.22127/OpenBLAS-0.3.7.tar.gz differ: char 12, line 1
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2019-05-06 21:12:42 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.5148 (New) Package is "openblas" Mon May 6 21:12:42 2019 rev:26 rq:700583 version:0.3.6 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2019-03-14 14:51:09.611798354 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new.5148/openblas.changes 2019-05-06 21:12:44.268315101 +0200 @@ -1,0 +2,72 @@ +Tue Apr 30 07:42:06 UTC 2019 - Martin Liška + +- Update to version 0.3.6 (boo#1122186) + common: +* the build tools now check that a given cpu TARGET is actually valid +* the build-time check of system features (c_check) has been made + less dependent on particular perl features (this should mainly + benefit building on Windows) +* several problems with ReLAPACK and its integration were fixed, + including INTERFACE64 support and building a shared library +* building with CMAKE on BSD systems was improved +* a non-absolute SUM function was added based on the + existing optimized code for ASUM +* CBLAS interfaces to the IxMIN and IxMAX functions were added +* a name clash between LAPACKE and BOOST headers was resolved +* CMAKE builds with OpenMP failed to include the appropriate getrf_parallel + kernels +* a crash on thread (key) deletion with the USE_TLS=1 memory management + option was fixed +* restored several earlier fixes, in particular for OpenMP performance, + building on BSD, and calling fork on CYGWIN, which had inadvertently + been dropped in the 0.3.3 rewrite of the memory management code. + POWER: +* single precision BLAS1/2 functions have received optimized POWER8 kernels +* POWER9 is now a separate target, with an optimized DGEMM/DTRMM kernel +* building on PPC970 systems under OSX Leopard or Tiger is now supported +* out-of-bounds memory accesses in the gemm_beta microkernels were fixed +* building a shared library on AIX is now supported for POWER6 +* DYNAMIC_ARCH support has been added for POWER6 and newer + ARMV7: +* corrected xDOT behaviour with zero INC_X or INC_Y +* a bug in the IMIN implementation made it return the result of IMAX + ARMV8: +* added support for HiSilicon TSV110 cpus +* the CMAKE build system now recognizes 32bit userspace on 64bit hardware +* cross-compilation with CMAKE now works again +* a bug in the IMIN implementation made it return the result of IMAX +* ARMV8 builds with the BINARY=32 option are now automatically handled as ARMV7 + x86_64: +* the AVX512 DGEMM kernel has been disabled again due to unsolved problems +* building with old versions of MSVC was fixed +* it is now possible to build a static library on Windows with CMAKE +* accessing environment variables on CYGWIN at run time was fixed +* the CMAKE build system now recognizes 32bit userspace on 64bit hardware +* Intel "Denverton" atom and Hygon "Dhyana" zen CPUs are now autodetected +* building for DYNAMIC_ARCH with a DYNAMIC_LIST of targets is now supported + with CMAKE as well +* building for DYNAMIC_ARCH with GENERIC as the default target is now supported +* a buffer overflow in the SSE GEMM kernel for Intel Nano targets was fixed +* assembly bugs involving undeclared modification of input operands were fixed + in the AXPY, DOT, GEMV, GER, SCAL, SYMV and TRSM microkernels for Nehalem, + Sandybridge, Haswell, Bulldozer and Piledriver. These would typically cause + test failures or segfaults when compiled with recent versions of gcc from 8 onward. +* a similar bug was fixed in the blas_quickdivide code used to split workloads + in most functions +* a bug in the IxMIN implementation for the GENERIC target made it return the result of IxMAX +* fixed building on SkylakeX systems when either the compiler or the (emulated) operating + environment does not support AVX512 +* improved GEMM performance on ZEN targets + x86: +* build failures caused by the recently added checks for AVX512 were fixed +* an inline assembly bug involving undeclared modification of an input argument was + fixed in the blas_quickdivide code used to split workloads in most functions +* a bug in the IMIN implementation for the GENERIC target made it return the result of IMAX + MIPS32: +* a bug in the IMIN implementation made it return the result of IMAX + IBM Z: +* optimized microkernels for single precicion BLAS1/2 functions have been added for Z13 and Z14 + - Rebase openblas-noexecstack.patch and openblas-s390.patch patches. + - Remove
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2019-03-14 14:51:02 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.28833 (New) Package is "openblas" Thu Mar 14 14:51:02 2019 rev:25 rq:684454 version:0.3.5 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2019-02-24 18:03:26.559773720 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new.28833/openblas.changes 2019-03-14 14:51:09.611798354 +0100 @@ -1,0 +2,7 @@ +Sun Mar 10 06:06:05 UTC 2019 - Stefan Brüns + +- Reduce _constraints to a reasonable size, the old constraints + were probably necessary pre multibuild. +- Enable DYNAMIC_ARCH for aarch64, available since 0.3.4 + +--- Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.s8R1S7/_old 2019-03-14 14:51:11.487798083 +0100 +++ /var/tmp/diff_new_pack.s8R1S7/_new 2019-03-14 14:51:11.491798082 +0100 @@ -257,13 +257,17 @@ %hpc_setup_compiler %endif -# Only x86/x86-64 CPUs support DYNAMIC_ARCH +# Only x86/x86-64/ARMv8 CPUs support DYNAMIC_ARCH %ifarch %ix86 x86_64 %define openblas_target DYNAMIC_ARCH=1 %endif -# Temporary fix, OpenBLAS does not autodetect aarch64 %ifarch aarch64 +%if !(0%{?suse_version} > 1500) +# Temporary fix, SLE/Leap15.x compiler segfaults for -mtune=cortex-a57 with kernel/arm/axpby.c (boo#1128794) %define openblas_target TARGET=ARMV8 +%else +%define openblas_target DYNAMIC_ARCH=1 +%endif %endif # force -mvsx for ppc64 to avoid build failure: # ../kernel/power/sasum_microk_power8.c:41:3: error: '__vector' undeclared (first use in this function); did you mean '__cpow'? ++ _constraints ++ --- /var/tmp/diff_new_pack.s8R1S7/_old 2019-03-14 14:51:11.551798074 +0100 +++ /var/tmp/diff_new_pack.s8R1S7/_new 2019-03-14 14:51:11.551798074 +0100 @@ -1,10 +1,10 @@ - 20 + 8 - 8000 + 4000
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2019-02-24 18:03:23 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.28833 (New) Package is "openblas" Sun Feb 24 18:03:23 2019 rev:24 rq:677358 version:0.3.5 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2019-02-01 11:43:34.180668086 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new.28833/openblas.changes 2019-02-24 18:03:26.559773720 +0100 @@ -1,0 +2,11 @@ +Thu Feb 14 18:22:49 UTC 2019 - Egbert Eich + +- Add OPENBLAS_INC and OPENBLAS_DIR to HPC environment (bsc#1125547). + +--- +Tue Feb 12 19:33:00 UTC 2019 - Stefan Brüns + +- Fix https://github.com/xianyi/OpenBLAS/issues/2014 + Add 0001-Add-a-register-to-the-clobber-list-for-the-mul-instr.patch + +--- New: 0001-Add-a-register-to-the-clobber-list-for-the-mul-instr.patch Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.sU0JrM/_old 2019-02-24 18:03:27.503773398 +0100 +++ /var/tmp/diff_new_pack.sU0JrM/_new 2019-02-24 18:03:27.507773397 +0100 @@ -131,6 +131,8 @@ Patch2: fix-arm64-cpuid-return.patch # PATCH port Patch3: openblas-s390.patch +# PATCH-FIX-OPENSUSE 0001-Add-a-register-to-the-clobber-list-for-the-mul-instr.patch +Patch4: 0001-Add-a-register-to-the-clobber-list-for-the-mul-instr.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -240,6 +242,7 @@ %ifarch s390 sed -i -e "s@m32@m31@" Makefile.system %endif +%patch4 -p1 %if %{without hpc} cp %{SOURCE1} . @@ -366,14 +369,17 @@ setenv %{hpc_upcase %pname}_DIR%{hpc_prefix} if {[file isdirectory %{hpc_includedir}]} { -prepend-pathLIBRARY_PATH%{hpc_libdir} -prepend-pathCPATH %{hpc_includedir} -prepend-pathC_INCLUDE_PATH %{hpc_includedir} -prepend-pathCPLUS_INCLUDE_PATH %{hpc_includedir} -prepend-pathINCLUDE %{hpc_includedir} +prepend-pathLIBRARY_PATH%{p_libdir} +prepend-pathCPATH %{p_includedir} +prepend-pathC_INCLUDE_PATH %{p_includedir} +prepend-pathCPLUS_INCLUDE_PATH %{p_includedir} +prepend-pathINCLUDE %{p_includedir} %hpc_modulefile_add_pkgconfig_path -setenv %{hpc_upcase %pname}_LIB%{hpc_libdir} +setenv %{hpc_upcase %pname}_DIR%{hpc_prefix} +setenv %{hpc_upcase %pname}_LIB%{p_libdir} +setenv %{hpc_upcase %pname}_INC%{p_includedir} + } family "openblas" ++ 0001-Add-a-register-to-the-clobber-list-for-the-mul-instr.patch ++ >From 13ee3335e4d4cf797ec5fe3226ab7fcb77d43654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Tue, 12 Feb 2019 20:31:54 +0100 Subject: [PATCH] Add "a" register to the clobber list for the "mul" instruction eax stores the low part of the mul instruction, so its value has to be restored afterwards. --- common_x86.h| 2 +- common_x86_64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common_x86.h b/common_x86.h index 4f538c9..fb56f6e 100644 --- a/common_x86.h +++ b/common_x86.h @@ -187,7 +187,7 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){ y = blas_quick_divide_table[y]; - __asm__ __volatile__ ("mull %0" :"=d" (result) :"a"(x), "0" (y)); + __asm__ __volatile__ ("mull %0" :"=d" (result), "+a"(x) : "0" (y)); return result; #endif diff --git a/common_x86_64.h b/common_x86_64.h index 62e138e..4d5d36d 100644 --- a/common_x86_64.h +++ b/common_x86_64.h @@ -210,7 +210,7 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){ y = blas_quick_divide_table[y]; - __asm__ __volatile__ ("mull %0" :"=d" (result) :"a"(x), "0" (y)); + __asm__ __volatile__ ("mull %0" :"=d" (result), "+a"(x) : "0" (y)); return result; } -- 2.20.1
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2019-02-01 11:43:32 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.28833 (New) Package is "openblas" Fri Feb 1 11:43:32 2019 rev:23 rq:668899 version:0.3.5 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2018-12-10 12:23:37.662809085 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new.28833/openblas.changes 2019-02-01 11:43:34.180668086 +0100 @@ -1,0 +2,29 @@ +Mon Jan 7 10:15:03 UTC 2019 - Ismail Dönmez + +- Update to versiom 0.3.5 + common: +* Loop unrolling in TRMV has been enabled again. +* A domain error in the thread workload distribution for SYRK + has been fixed. +* gmake builds will now automatically add -fPIC to the build + options if the platform requires it. +* A pthreads key leakage (and associate crash on dlclose) in + the USE_TLS codepath was fixed. +* Building of the utest cases on systems that do not provide + an implementation of complex.h was fixed. + x86_64: +* The SkylakeX code was changed to compile on OSX. +* Unwanted application of the -march=skylake-avx512 option + to the common code parts of a DYNAMIC_ARCH build was fixed. +* Improved performance of SGEMM for small workloads on Skylake X. +* Performance of SGEMM and DGEMM was improved on Haswell. + armv8: +* A configuration error that broke the CNRM2 kernel was corrected. +* Compilation of the GEMM kernels with CMAKE was fixed. +* DYNAMIC_ARCH builds are now available with CMAKE as well. +* Using CMAKE for cross-compilation to the new cpu TARGETs + introduced in 0.3.4 now works. + power: +* A problem in cpu autodetection for AIX has been corrected. + +--- Old: OpenBLAS-0.3.4.tar.gz New: OpenBLAS-0.3.5.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.YihUEt/_old 2019-02-01 11:43:35.420666812 +0100 +++ /var/tmp/diff_new_pack.YihUEt/_new 2019-02-01 11:43:35.424666808 +0100 @@ -1,7 +1,7 @@ # # spec file for package openblas # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,8 +18,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _vers 0_3_4 -%define vers 0.3.4 +%define _vers 0_3_5 +%define vers 0.3.5 %define pname openblas %bcond_with ringdisabled ++ OpenBLAS-0.3.4.tar.gz -> OpenBLAS-0.3.5.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/OpenBLAS-0.3.4.tar.gz /work/SRC/openSUSE:Factory/.openblas.new.28833/OpenBLAS-0.3.5.tar.gz differ: char 18, line 1
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2018-12-10 12:23:35 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new.19453 (New) Package is "openblas" Mon Dec 10 12:23:35 2018 rev:22 rq:656137 version:0.3.4 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2018-10-22 11:02:15.692330826 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new.19453/openblas.changes 2018-12-10 12:23:37.662809085 +0100 @@ -1,0 +2,68 @@ +Fri Dec 7 12:29:27 UTC 2018 - Ismail Dönmez + +- Update to version 0.3.4 + common: +* The new, experimental thread-local memory allocation had + inadvertently been left enabled for gmake builds in 0.3.3 + despite the announcement. It is now disabled by default, + and single-threaded builds will keep using the old + allocator even if the USE_TLS option is turned on. +* OpenBLAS will now provide enough buffer space for at least + 50 threads by default. +* The output of openblas_get_config() now contains the version + number. +* A serious thread safety bug in GEMV operation with small M and + large N size has been fixed. +* The code will now automatically call blas_thread_init after + a fork if needed before handling a call to + openblas_set_num_threads +* Accesses to parallelized level3 functions from multiple + callers are now serialized to avoid thread races + (unless using OpenMP). +* This should provide better performance than the + known-threadsafe (but non-default) + USE_SIMPLE_THREADED_LEVEL3 option. +* When building LAPACK with gfortran, -frecursive is now + (again) enabled by default to ensure correct behaviour. +* The OpenBLAS version cblas.h now supports both CBLAS_ORDER + and CBLAS_LAYOUT as the name of the matrix row/column order + option. +* Externally set LDFLAGS are now passed through to the final + compile/link +* steps to facilitate setting platform-specific linker flags. +* A potential race condition during the build of LAPACK + (that would usually manifest itself as a failure to build + TESTING/MATGEN) has been fixed. +* xHEMV has been changed to stay single-threaded for small + input sizes where the overhead of multithreading exceeds + any possible gains +* CSWAP and ZSWAP have been limited to a single thread + except on ARMV8 or ThunderX hardware with sizable input. +* Linker flags for the PGI compiler have been updated +* Behaviour of AXPY with zero increments is now handled + in the C interface, correcting the result on at least + Intel Atom. +* The result matrix from calling SGELSS with an all-zero + input matrix is now zeroed completely. + x86_64: +* Autodetection of AMD Ryzen2 has been fixed (again). +* CMAKE builds now support labeling of an INTERFACE64=1 + build of the library with the _64 suffix. +* AVX512 version of DGEMM has been added and the + AVX512 SGEMM kernel has been sped up by rewriting + with C intrinsics +* Fixed compilation on RHEL5/CENTOS5 + (issue with typename __WAIT_STATUS) + armv8: +* DYNAMic_ARCH support is now available for 64bit ARM +* cross-compiling for ARMV8 under iOS now works. +* cpu-specific code has been rearranged to make better + use of both hardware commonalities and model-specific + compiler optimizations. +* XGENE1 has been removed as a TARGET, superseded by the + improved generic ARMV8 support. + armv7: +* Older assembly mnemonics have been converted to UAL + form to allow building with clang 7.0 + +--- Old: OpenBLAS-0.3.3.tar.gz New: OpenBLAS-0.3.4.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.enLvQY/_old 2018-12-10 12:23:38.346808403 +0100 +++ /var/tmp/diff_new_pack.enLvQY/_new 2018-12-10 12:23:38.350808400 +0100 @@ -18,8 +18,8 @@ %global flavor @BUILD_FLAVOR@%{nil} -%define _vers 0_3_3 -%define vers 0.3.3 +%define _vers 0_3_4 +%define vers 0.3.4 %define pname openblas %bcond_with ringdisabled ++ OpenBLAS-0.3.3.tar.gz -> OpenBLAS-0.3.4.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/OpenBLAS-0.3.3.tar.gz /work/SRC/openSUSE:Factory/.openblas.new.19453/OpenBLAS-0.3.4.tar.gz differ: char 13, line 1
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2018-10-22 11:01:53 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Mon Oct 22 11:01:53 2018 rev:21 rq:640893 version:0.3.3 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2018-02-10 17:54:18.772503801 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2018-10-22 11:02:15.692330826 +0200 @@ -1,0 +2,117 @@ +Tue Oct 9 19:00:49 UTC 2018 - Dmitry Roshchin + +- Update to version 0.3.3 + common: +* thread memory allocation has been switched back to the method + used before version 0.3.1 due to unexpected problems caused by + the new code under some circumstances. +* LAPACK PR272 has been integrated, which fixes spurious errors + in DSYEVR and related functions caused by missing conversion + from ILAENV to ILAENV_2STAGE in several _2stage routines. + x86_64 +* added AVX512 implementations of SDOT, DDOT, SAXPY, DAXPY, + DSCAL, DGEMVN and DSYMVL +* added a workaround for a cygwin issue that prevented compilation + of AVX512 code + + +--- +Fri Aug 17 12:56:04 UTC 2018 - idon...@suse.com + +- Update to version 0.3.2 + common: +* Fixes for regressions caused by the rewrite of the thread + initialization code in 0.3.1 + x86_64: +* Added autodetection of AMD Ryzen 2 +* Fixed build with older versions of MSVC + power: +* Fixed cpu autodetection for the BSDs + mips64: +* Fixed utest errors in AXPY, DSDOT, ROT and SWAP +- Version 0.3.1 + common: +* Rewritten thread initialization code with significantly + reduced overhead +* Added CBLAS interfaces to the IxAMIN BLAS extension functions +* Fixed the lapack-test target +* CMAKE builds now create an OpenBLASConfig.cmake file +* ZAXPY now uses a single thread for small input sizes +* The LAPACK code was updated from Reference-LAPACK/lapack#253 + power: +* Corrected CROT and ZROT behaviour with zero INC_X + armv7: +* Corrected xDOT behaviour with zero INC_X or INC_Y + x86_64: +* Retired some older targets of DYNAMIC_ARCH builds to a + new option DYNAMIC_OLDER, this affects PENRYN,DUNNINGTON, + OPTERON,OPTERON_SSE3,BOBCAT,ATOM and NANO (which will still + be supported via the slower PRESCOTT kernels when this option + is not set) +* Added an option DYNAMIC_LIST that (used in conjunction with + DYNAMIC_ARCH) allows to specify the list of x86_64 targets to + include. Any target not on the list will be supported by + the Sandybridge or Nehalem kernels if available, or by Prescott. +* Improved SWITCH_RATIO on Haswell for increased GEMM throughput +* Added initial support for Intel Skylake X, including an AVX512 + SGEMM kernel +* Added autodetection of Intel Cannon Lake series as Skylake X +* Added a default L2 cache size for hypervisors that return zero + here (Chromebook) +* Fixed a name clash with recent Windows10 headers that broke the + build with (at least) recent mingw from MSYS2 +* Fixed a link error in mixed clang/gfortran builds with OpenMP +* Updated the OSX deployment target to 10.8 +* Switched on parallel make for builds on MS Windows by default + x86: +* Fixed SSWAP and DSWAP behaviour with zero INC_X and INC_Y +- Version 0.3.0 + common: + * Fixed some more thread race and locking bugs + * Added preliminary support for calling an OpenMP build of the + library from multiple threads + * Removed performance impact of thread locks added in 0.2.20 + on OpenMP code + * General code cleanup + * Optimized DSDOT implementation + * Improved thread distribution for GEMM + * Corrected IMATCOPY/OMATCOPY implementation + * Fixed out-of-bounds accesses in the multithreaded xBMV/xPMV + and SYMV implementations + * Cmake build improvements + * pkgconfig file now contains build options + * openblas_get_config() now reports USE_OPENMP and NUM_THREADS + settings used for the build + * Corrections and improvements for systems with more than 64 cpus + * LAPACK code updated to 3.8.0 including later fixes + * Added ReLAPACK, a recursive implementation of several LAPACK functions + * Rewrote ROTMG to handle cases that the netlib code failed to address + * Disabled (broken) multithreading code for xTRMV + * corrected prototypes of complex CBLAS functions to make our + cblas.h match the generally accepted standard + * Shared memory access failures on startup are now handled more gracefully + * Restored utests from earlier
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2018-02-10 17:54:17 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Sat Feb 10 17:54:17 2018 rev:20 rq:573788 version:0.2.20 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2018-01-16 09:25:38.832642698 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2018-02-10 17:54:18.772503801 +0100 @@ -1,0 +2,5 @@ +Tue Jan 30 18:19:33 CET 2018 - r...@suse.de + +- add openblas-s390.patch to build on s390 (bsc#1079513). + +--- New: openblas-s390.patch Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.RzIt3f/_old 2018-02-10 17:54:19.588474264 +0100 +++ /var/tmp/diff_new_pack.RzIt3f/_new 2018-02-10 17:54:19.592474119 +0100 @@ -131,6 +131,8 @@ Patch2: openblas-noexecstack.patch # PATCH-FIX-UPSTREADM fix-arm64-cpuid-return.patch Patch4: fix-arm64-cpuid-return.patch +# PATCH port +Patch5: openblas-s390.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -237,6 +239,10 @@ %patch1 -p1 %patch2 -p1 %patch4 -p1 +%patch5 -p1 +%ifarch s390 +sed -i -e "s@m32@m31@" Makefile.system +%endif %if %{without hpc} cp %{SOURCE1} . ++ openblas-s390.patch ++ --- OpenBLAS-0.2.20/c_check 2018/01/19 15:53:41 1.1 +++ OpenBLAS-0.2.20/c_check 2018/01/19 15:54:23 @@ -10,7 +10,7 @@ $hostarch = "arm" if ($hostarch =~ /^arm.*/); $hostarch = "arm64" if ($hostarch eq "aarch64"); $hostarch = "power" if ($hostarch =~ /^(powerpc|ppc).*/); -$hostarch = "zarch" if ($hostarch eq "s390x"); +$hostarch = "zarch" if ($hostarch =~ /^s390/); $tmpf = new File::Temp( UNLINK => 1 ); $binary = $ENV{"BINARY"}; --- OpenBLAS-0.2.20/ctest.c 2018/01/19 15:54:29 1.1 +++ OpenBLAS-0.2.20/ctest.c 2018/01/19 15:54:49 @@ -105,7 +105,7 @@ ARCH_POWER #endif -#if defined(__s390x__) || defined(__zarch__) +#if defined(__s390x__) || defined(__s390__) || defined(__zarch__) ARCH_ZARCH #endif --- OpenBLAS-0.2.20/getarch.c 2018/01/19 15:54:57 1.1 +++ OpenBLAS-0.2.20/getarch.c 2018/01/19 15:55:07 @@ -974,7 +974,7 @@ #define OPENBLAS_SUPPORTED #endif -#if defined(__zarch__) || defined(__s390x__) +#if defined(__zarch__) || defined(__s390x__) || defined(__s390__) #define ZARCH #include "cpuid_zarch.c" #define OPENBLAS_SUPPORTED
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2018-01-16 09:25:35 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Tue Jan 16 09:25:35 2018 rev:19 rq:562358 version:0.2.20 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2017-12-03 10:05:35.340074710 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2018-01-16 09:25:38.832642698 +0100 @@ -1,0 +2,7 @@ +Fri Jan 5 18:27:17 UTC 2018 - e...@suse.com + +- Switch from gcc6 to gcc7 as additional compiler flavor for HPC on SLES. +- Fix library package requires - use HPC macro (boo#1074890). +- Fix unexpanded rpm macro in environment module file for HPC (boo#1074897). + +--- Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.zVpndk/_old 2018-01-16 09:25:40.936544266 +0100 +++ /var/tmp/diff_new_pack.zVpndk/_new 2018-01-16 09:25:40.936544266 +0100 @@ -1,7 +1,7 @@ # # spec file for package openblas # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -64,9 +64,9 @@ %{bcond_without hpc} %endif -%if "%flavor" == "gnu6-hpc" +%if "%flavor" == "gnu7-hpc" %define compiler_family gnu -%define c_f_ver 6 +%define c_f_ver 7 %{bcond_without hpc} %endif @@ -78,9 +78,9 @@ %{bcond_without hpc} %endif -%if "%flavor" == "gnu6-hpc-pthreads" +%if "%flavor" == "gnu7-hpc-pthreads" %define compiler_family gnu -%define c_f_ver 6 +%define c_f_ver 7 %define ext pthreads %define build_flags USE_THREAD=1 USE_OPENMP=0 %{bcond_without hpc} @@ -168,7 +168,7 @@ Obsoletes: lib%{pname}o0 %endif %else # with hpc -Requires: lua-lmod +%hpc_requires %endif %description -n lib%{name}%{?so_v} @@ -350,7 +350,7 @@ puts stderr "\nVersion %{version}\n" } -module-whatis "Name: %{PNAME} built with %{compiler_family} toolchain" +module-whatis "Name: %{hpc_upcase %pname} built with %{compiler_family} toolchain" module-whatis "Version: %{version}" module-whatis "Category: runtime library" module-whatis "Description: %{dep_summary}"
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2017-12-03 10:05:29 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Sun Dec 3 10:05:29 2017 rev:18 rq:546641 version:0.2.20 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2017-10-18 16:15:26.219679301 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2017-12-03 10:05:35.340074710 +0100 @@ -1,0 +2,7 @@ +Mon Nov 27 11:55:04 UTC 2017 - norm...@linux.vnet.ibm.com + +- Add -mvsx option for ppc64 archi (not required for ppc64le) + to avoid ./kernel/power/sasum_microk_power8.c:41:3: error: + '__vector' undeclared (first use in this function); ... + +--- Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.nmx2Hw/_old 2017-12-03 10:05:38.251968841 +0100 +++ /var/tmp/diff_new_pack.nmx2Hw/_new 2017-12-03 10:05:38.255968696 +0100 @@ -259,9 +259,15 @@ %ifarch aarch64 %define openblas_target TARGET=ARMV8 %endif +# force -mvsx for ppc64 to avoid build failure: +# ../kernel/power/sasum_microk_power8.c:41:3: error: '__vector' undeclared (first use in this function); did you mean '__cpow'? +# TODO why is it required ? (and not for ppc64le) +%ifarch ppc64 +%define addopt -mvsx +%endif # Make serial, threaded and OpenMP versions make %{?_smp_mflags} %{?openblas_target} %{?build_flags} \ -COMMON_OPT="%{optflags}" \ +COMMON_OPT="%{optflags} %{?addopt}" \ NUM_THREADS=%{num_threads} V=1 \ OPENBLAS_LIBRARY_DIR=%{p_libdir} \ OPENBLAS_INCLUDE_DIR=%{hpc_includedir} \
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2017-10-18 16:15:24 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Wed Oct 18 16:15:24 2017 rev:17 rq:534890 version:0.2.20 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2017-08-24 18:20:37.225984139 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2017-10-18 16:15:26.219679301 +0200 @@ -1,0 +2,21 @@ +Tue Oct 17 13:38:47 UTC 2017 - e...@suse.com + +- Add magic to limit the number of flavors built in the + OBS to non-HPC ones. + +--- +Thu Oct 12 10:01:10 UTC 2017 - e...@suse.com + +- Generate baselib.conf dynamically and only for the non-HPC + builds: this avoids issues with the source validator. + +--- +Fri Sep 8 14:30:29 UTC 2017 - e...@suse.com + +- Convert openblas to multibuild. +- Add HPC build using environment modules. + (FATE#321708). +- fix-arm64-cpuid-return.patch + Fix CPUID detection on ARM (From OHPC). + +--- New: README.HPC.SUSE _constraints _multibuild fix-arm64-cpuid-return.patch Other differences: -- ++ openblas.spec ++ 698 lines (skipped) between /work/SRC/openSUSE:Factory/openblas/openblas.spec and /work/SRC/openSUSE:Factory/.openblas.new/openblas.spec ++ README.HPC.SUSE ++ openSUSE specific packaging === OpenBLAS provides optimized implementations of BLAS and LAPACK. openSUSE provides two variants: * With OpenMP support * With threading support The serial variant has been dropped. To run a program which requires the serial version (ie. because it is multi-threaded itself), either specify the environment variable OMP_NUM_THREADS=1 or place a call to void openblas_set_num_threads(int num_threads); in your program to limit the number of threads this library uses to 1. On x86 systems OpenBLAS uses dynamic architectures support, so it contains all CPU-related optimizations. How to switch between the various BLAS/LAPACK implementations = The openmp and threaded variants may be installed in parallel. To select which one to use please use the 'modules' command. ++ _constraints ++ 20 8000 ++ _multibuild ++ serial openmp pthreads gnu-hpc gnu-hpc-pthreads ++ fix-arm64-cpuid-return.patch ++ >From 63d4fcdecd40cb9eee8228680521ff93a80a8e11 Mon Sep 17 00:00:00 2001 From: Eric Van HensbergenDate: Tue, 23 Aug 2016 11:29:27 -0500 Subject: [PATCH] fix-arm64-cpuid-return --- cpuid_arm64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpuid_arm64.c b/cpuid_arm64.c index c7a27f8..95fc708 100644 --- a/cpuid_arm64.c +++ b/cpuid_arm64.c @@ -59,7 +59,7 @@ int get_feature(char *search) fclose(infile); - if( p == NULL ) return; + if( p == NULL ) return(0); t = strtok(p," "); while( t = strtok(NULL," ")) -- 2.7.4
commit openblas for openSUSE:Factory
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.changes2017-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 - dmitr...@opensuse.org + +- Remove migration %post scripts for old library names + +--- +Sat Jul 29 16:08:38 UTC 2017 - badshah...@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. + +--- 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
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2017-05-27 13:09:09 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Sat May 27 13:09:09 2017 rev:15 rq:496480 version:0.2.19 Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2016-09-08 17:39:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2017-05-27 13:09:49.531943425 +0200 @@ -1,0 +2,5 @@ +Thu May 18 09:33:23 UTC 2017 - meiss...@suse.com + +- 0001-Fix-power8-asm.patch: fixed power8 assembly (bsc#1039397) + +--- New: 0001-Fix-power8-asm.patch Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.3aMIS7/_old 2017-05-27 13:09:50.451813369 +0200 +++ /var/tmp/diff_new_pack.3aMIS7/_new 2017-05-27 13:09:50.455812804 +0200 @@ -1,7 +1,7 @@ # # spec file for package openblas # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,8 @@ 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 @@ -174,6 +176,7 @@ cd OpenBLAS-%{version} %patch1 -p1 %patch2 -p1 +%patch3 -p1 cd .. # Prepare build for serial, pthreads and OpenMP versions ++ 0001-Fix-power8-asm.patch ++ 7841 lines (skipped)
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2016-09-08 17:39:21 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2016-04-14 13:08:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2016-09-08 17:39:23.0 +0200 @@ -1,0 +2,12 @@ +Wed Sep 7 15:58:36 UTC 2016 - idon...@suse.com + +- Update to version 0.2.19 + POWER: +* Optimize BLAS on Power8 +* Fixed Julia+OpenBLAS bugs on Power8 + MIPS: +* Optimize BLAS on MIPS P5600 and I6400 + ARM: +* Improved on ARM Cortex-A57 + +--- Old: openblas-0.2.18.tar.gz New: openblas-0.2.19.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.OsEhTX/_old 2016-09-08 17:39:25.0 +0200 +++ /var/tmp/diff_new_pack.OsEhTX/_new 2016-09-08 17:39:25.0 +0200 @@ -17,7 +17,7 @@ Name: openblas -Version:0.2.18 +Version:0.2.19 Release:0 Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause @@ -194,11 +194,11 @@ %endif # Make serial, threaded and OpenMP versions make -C serial %{?openblas_target} USE_THREAD=0 USE_OPENMP=0 LIBNAMESUFFIX=serial \ -FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64 +FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64 V=1 make -C openmp %{?openblas_target} USE_THREAD=1 USE_OPENMP=1 LIBNAMESUFFIX=openmp \ -FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64 +FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64 V=1 make -C pthreads %{?openblas_target} USE_THREAD=1 USE_OPENMP=0 LIBNAMESUFFIX=pthreads \ -FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64 +FC=gfortran CC=gcc COMMON_OPT="%{optflags}" NUM_THREADS=64 V=1 %install # Install serial library and headers ++ openblas-0.2.18.tar.gz -> openblas-0.2.19.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/openblas-0.2.18.tar.gz /work/SRC/openSUSE:Factory/.openblas.new/openblas-0.2.19.tar.gz differ: char 15, line 1
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2016-04-14 13:08:01 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2016-03-26 15:25:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2016-04-14 13:08:04.0 +0200 @@ -1,0 +2,10 @@ +Wed Apr 13 08:12:19 UTC 2016 - dmitr...@opensuse.org + +- Update to version 0.2.18 + ARM: +* Provide DGEMM 8x4 kernel for Cortex-A57 + POWER: +* Optimize S and C BLAS3 on Power8 +* Optimize BLAS2/1 on Power8 + +--- Old: openblas-0.2.17.tar.gz New: openblas-0.2.18.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.FlCyc6/_old 2016-04-14 13:08:06.0 +0200 +++ /var/tmp/diff_new_pack.FlCyc6/_new 2016-04-14 13:08:06.0 +0200 @@ -17,7 +17,7 @@ Name: openblas -Version:0.2.17 +Version:0.2.18 Release:0 Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause ++ openblas-0.2.17.tar.gz -> openblas-0.2.18.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/openblas-0.2.17.tar.gz /work/SRC/openSUSE:Factory/.openblas.new/openblas-0.2.18.tar.gz differ: char 13, line 1
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2016-03-26 15:25:49 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2016-03-18 21:42:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2016-03-26 15:25:56.0 +0100 @@ -1,0 +2,6 @@ +Mon Mar 21 21:15:39 UTC 2016 - dmitr...@opensuse.org + +- Update to version 0.2.17 + * Enable BUILD_LAPACK_DEPRECATED=1 by default. + +--- @@ -11,0 +18 @@ + x86/x86_64: @@ -16,0 +24 @@ + ARM: @@ -19,0 +28 @@ + POWER: Old: openblas-0.2.16.tar.gz New: openblas-0.2.17.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.9obyQi/_old 2016-03-26 15:25:57.0 +0100 +++ /var/tmp/diff_new_pack.9obyQi/_new 2016-03-26 15:25:57.0 +0100 @@ -17,7 +17,7 @@ Name: openblas -Version:0.2.16 +Version:0.2.17 Release:0 Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause ++ openblas-0.2.16.tar.gz -> openblas-0.2.17.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/openblas-0.2.16.tar.gz /work/SRC/openSUSE:Factory/.openblas.new/openblas-0.2.17.tar.gz differ: char 13, line 1
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2016-03-18 21:42:23 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2015-10-28 17:31:16.0 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2016-03-18 21:42:25.0 +0100 @@ -1,0 +2,23 @@ +Wed Mar 16 19:35:53 UTC 2016 - idon...@suse.com + +- Update to version 0.2.16 + * Upgrade LAPACK to 3.6.0 version. + * Disable multi-threading for small size swap and ger. + * Improve small zger, zgemv, ztrmv using stack alloction. + * Let openblas_get_num_threads return the number of active threads. + * Fix LAPACK Dormbr, Dormlq bug. + * Avoid potential getenv segfault. + * Import LAPACK svn bugfix #142-#147,#150-#155 + * Optimize trsm kernels for AMD Bulldozer, Piledriver, Steamroller. + * Detect Intel Avoton. + * Detect AMD Trinity, Richland, E2-3200. + * Optimize c/zgemv for AMD Bulldozer, Piledriver, Steamroller + * Fix bug with scipy linalg test. + * Support and optimize Cortex-A57 AArch64. + * Update ARMV6 kernels. + * Improve DGEMM for ARM Cortex-A57. + * Fix detection of POWER architecture. + * Optimize D and Z BLAS3 functions for Power8. +- Remove openblas-libs.patch, not needed. + +--- Old: openblas-0.2.15.tar.gz openblas-libs.patch New: openblas-0.2.16.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.akHmbS/_old 2016-03-18 21:42:26.0 +0100 +++ /var/tmp/diff_new_pack.akHmbS/_new 2016-03-18 21:42:26.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package openblas # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: openblas -Version:0.2.15 +Version:0.2.16 Release:0 Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause @@ -25,8 +25,6 @@ Url:http://www.openblas.net Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1:README.SUSE -# PATCH-FIX-UPSTREAM openblas-libs.patch: Link against libgfortran -Patch0: openblas-libs.patch # PATCH-FIX-UPSTREAM c_xerbla_no-void-return.patch Patch1: c_xerbla_no-void-return.patch # PATCH-FIX-UPSTREAM openblas-noexecstack.patch @@ -174,7 +172,6 @@ # Untar source tar -zxf %{SOURCE0} cd OpenBLAS-%{version} -%patch0 -p1 %patch1 -p1 %patch2 -p1 cd .. ++ openblas-0.2.15.tar.gz -> openblas-0.2.16.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/openblas-0.2.15.tar.gz /work/SRC/openSUSE:Factory/.openblas.new/openblas-0.2.16.tar.gz differ: char 13, line 1
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2015-10-28 17:31:15 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is "openblas" Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2015-08-12 15:15:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2015-10-28 17:31:16.0 +0100 @@ -1,0 +2,36 @@ +Tue Oct 27 21:11:50 UTC 2015 - dmitr...@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. + +--- Old: openblas-0.2.14.tar.gz openblas-arm64-build.patch New: openblas-0.2.15.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.6Cr3sq/_old 2015-10-28 17:31:17.0 +0100 +++ /var/tmp/diff_new_pack.6Cr3sq/_new 2015-10-28 17:31:17.0 +0100 @@ -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 @@ 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 @@ 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 @@ 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 @@ 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
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2015-08-12 15:15:19 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is openblas Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2015-05-06 07:48:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2015-08-12 15:15:20.0 +0200 @@ -1,0 +2,19 @@ +Wed Jul 29 21:13:47 UTC 2015 - dmitr...@opensuse.org + +- Change library name suffix + * drop openblas-soname.patch +- Add RPM %post script for manual BLAS/LAPACK update-alternatives + configuration update +- Use update-alternatives mechanism for OpenBLAS variants (serial, + openmp, pthreads). pthreads variant is default for x86 and x86_64, + OpenMP for other architectures. +- Fix build on ARM64 + * openblas-arm64-build.patch +- Add update-alternatives mechanism for CBLAS +- Provide cmake module +- Delete info about host cpu from openblas_config.h for dynamic arch +- Add update-alternatives to 'preup' and 'post' requires list for + libraries +- Add README.SUSE + +--- Old: openblas-soname.patch New: README.SUSE openblas-arm64-build.patch Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.psLtGY/_old 2015-08-12 15:15:21.0 +0200 +++ /var/tmp/diff_new_pack.psLtGY/_new 2015-08-12 15:15:21.0 +0200 @@ -24,71 +24,144 @@ Group: Productivity/Scientific/Math Url:http://www.openblas.net Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1:README.SUSE # PATCH-FIX-UPSTREAM openblas-libs.patch: Link against libgfortran Patch0: openblas-libs.patch # PATCH-FIX-UPSTREAM c_xerbla_no-void-return.patch Patch1: c_xerbla_no-void-return.patch -# PATCH-FEATURE-OPENSUSE openblas-soname.patch -Patch2: openblas-soname.patch # PATCH-FIX-UPSTREAM openblas-noexecstack.patch -Patch3: 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 +ExclusiveArch: %ix86 ia64 ppc ppc64 x86_64 aarch64 BuildRequires: gcc-fortran BuildRequires: update-alternatives Requires(post): update-alternatives Requires(preun): update-alternatives %description -OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. The -project is supported by the Lab of Parallel Software and Computational Science, -ISCAS. http://www.rdcps.ac.cn +OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. -%package -n libopenblas0 +%package -n lib%{name}_serial0 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} + +%description -n lib%{name}_serial0 +OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. + +%package -n lib%{name}_serial-devel +Summary:Development libraries for OpenBLAS, serial version +Group: Development/Libraries/C and C++ +Requires: %{name}-devel-headers = %{version} +Requires: lib%{name}_serial0 = %{version} -%description -n libopenblas0 -OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. The -project is supported by the Lab of Parallel Software and Computational Science, -ISCAS. http://www.rdcps.ac.cn +%description -n lib%{name}_serial-devel +OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. +This package contains the development libraries for serial OpenBLAS version. -%package -n libopenblaso0 +%package -n lib%{name}_openmp0 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} -%description -n libopenblaso0 -OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. The -project is supported by the Lab of Parallel Software and Computational Science, -ISCAS. http://www.rdcps.ac.cn +%description -n lib%{name}_openmp0 +OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2015-05-06 07:48:46 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is openblas Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2014-12-10 23:43:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2015-05-06 07:48:48.0 +0200 @@ -1,0 +2,16 @@ +Wed Mar 25 08:05:20 UTC 2015 - dmitr...@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. + +--- Old: openblas-0.2.13.tar.gz New: openblas-0.2.14.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.B7Fvb4/_old 2015-05-06 07:48:49.0 +0200 +++ /var/tmp/diff_new_pack.B7Fvb4/_new 2015-05-06 07:48:49.0 +0200 @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: openblas -Version:0.2.13 +Version:0.2.14 Release:0 Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause @@ -112,8 +112,8 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 - cd .. + # prepare build for serial, threaded and OpenMP versions cp -ar OpenBLAS-%{version} openmp cp -ar OpenBLAS-%{version} threaded @@ -123,7 +123,7 @@ # Make serial, threaded and OpenMP versions make -C serial DYNAMIC_ARCH=1 USE_THREAD=0 USE_OPENMP=0 \ 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 make -C threaded DYNAMIC_ARCH=1 USE_THREAD=1 USE_OPENMP=0 LIBNAMESUFFIX=p \ FC=gfortran CC=gcc COMMON_OPT=%{optflags} NUM_THREADS=64 @@ -170,7 +170,7 @@ # done # Remove Config.cmake (we use custom libraries configuration) -rm %{buildroot}%{_prefix}/cmake/OpenBLASConfig.cmake +rm -rf %{buildroot}%{_libdir}/cmake/openblas/ %post -n libopenblas0 %_sbindir/update-alternatives --install \ ++ openblas-0.2.13.tar.gz - openblas-0.2.14.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/openblas-0.2.13.tar.gz /work/SRC/openSUSE:Factory/.openblas.new/openblas-0.2.14.tar.gz differ: char 13, line 1
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2014-12-10 23:44:15 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is openblas Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2014-10-18 09:10:27.0 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2014-12-10 23:43:56.0 +0100 @@ -1,0 +2,18 @@ +Wed Dec 3 16:06:49 UTC 2014 - dmitr...@opensuse.org + +- Update to version 0.2.13 + * Add SYMBOLPREFIX and SYMBOLSUFFIX makefile options +for adding a prefix or suffix to all exported symbol names +in the shared library. + * Remove openblas-0.1.0-soname.patch + * Add openblas-soname.patch + * Rebase openblas-noexecstack.patch + x86/x86-64: + * Add generic kernel files for x86-64. make TARGET=GENERIC + * Fix a bug of sgemm kernel on Intel Sandy Bridge. + * Fix c_check bug on some amd64 systems. + ARM: + * Support APM's X-Gene 1 AArch64 processors. + * Optimize trmm and sgemm. + +--- Old: openblas-0.1.0-soname.patch openblas-0.2.12.tar.gz New: openblas-0.2.13.tar.gz openblas-soname.patch Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.oeqSo4/_old 2014-12-10 23:43:58.0 +0100 +++ /var/tmp/diff_new_pack.oeqSo4/_new 2014-12-10 23:43:58.0 +0100 @@ -17,7 +17,7 @@ Name: openblas -Version:0.2.12 +Version:0.2.13 Release:0 Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause @@ -28,8 +28,8 @@ Patch0: openblas-libs.patch # PATCH-FIX-UPSTREAM c_xerbla_no-void-return.patch Patch1: c_xerbla_no-void-return.patch -# PATCH-FEATURE-OPENSUSE openblas-0.1.0-soname.patch -Patch2: openblas-0.1.0-soname.patch +# PATCH-FEATURE-OPENSUSE openblas-soname.patch +Patch2: openblas-soname.patch # PATCH-FIX-UPSTREAM openblas-noexecstack.patch Patch3: openblas-noexecstack.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -169,6 +169,9 @@ # execstack -c $lib # done +# Remove Config.cmake (we use custom libraries configuration) +rm %{buildroot}%{_prefix}/cmake/OpenBLASConfig.cmake + %post -n libopenblas0 %_sbindir/update-alternatives --install \ %{_libdir}/libblas.so.3 libblas.so.3 %{_libdir}/libopenblas.so.0 20 ++ openblas-0.2.12.tar.gz - openblas-0.2.13.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/openblas-0.2.12.tar.gz /work/SRC/openSUSE:Factory/.openblas.new/openblas-0.2.13.tar.gz differ: char 14, line 1 ++ openblas-noexecstack.patch ++ --- /var/tmp/diff_new_pack.oeqSo4/_old 2014-12-10 23:43:58.0 +0100 +++ /var/tmp/diff_new_pack.oeqSo4/_new 2014-12-10 23:43:58.0 +0100 @@ -1,24 +1,24 @@ -Index: OpenBLAS-0.2.9/exports/Makefile +Index: OpenBLAS-0.2.13/exports/Makefile === OpenBLAS-0.2.9.orig/exports/Makefile -+++ OpenBLAS-0.2.9/exports/Makefile -@@ -101,6 +101,7 @@ so : ../$(LIBSONAME) - ../$(LIBSONAME) : ../$(LIBNAME) linktest.c +--- OpenBLAS-0.2.13.orig/exports/Makefile OpenBLAS-0.2.13/exports/Makefile +@@ -118,6 +118,7 @@ else + endif ifneq ($(C_COMPILER), LSB) $(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \ + -Wl,-z,noexecstack \ - -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ + -Wl,--whole-archive $ -Wl,--no-whole-archive \ -Wl,-soname,$(LIBPREFIX).so.$(MAJOR_VERSION) $(EXTRALIB) $(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) echo OK. -@@ -122,6 +123,7 @@ so : ../$(LIBSONAME) - - ../$(LIBSONAME) : ../$(LIBNAME) linktest.c +@@ -145,6 +146,7 @@ else + ../$(LIBSONAME) : ../$(LIBNAME).renamed linktest.c + endif $(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \ + -Wl,-z,noexecstack \ - -Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \ + -Wl,--whole-archive $ -Wl,--no-whole-archive \ $(FEXTRALIB) $(EXTRALIB) $(CC) $(CFLAGS) $(LDFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) echo OK. -@@ -141,6 +143,7 @@ ifeq ($(OSNAME), SunOS) +@@ -164,6 +166,7 @@ ifeq ($(OSNAME), SunOS) so : ../$(LIBSONAME) $(CC) $(CFLAGS) $(LDFLAGS) -shared -o ../$(LIBSONAME) \ ++ openblas-soname.patch ++ Index: OpenBLAS-0.2.13/Makefile.system === --- OpenBLAS-0.2.13.orig/Makefile.system +++ OpenBLAS-0.2.13/Makefile.system @@ -844,7 +844,7 @@ endif ifndef LIBNAMESUFFIX LIBPREFIX =
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2014-10-18 09:09:47 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is openblas Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2014-08-20 10:51:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2014-10-18 09:10:27.0 +0200 @@ -1,0 +2,13 @@ +Fri Oct 17 13:09:58 UTC 2014 - dmitr...@opensuse.org + +- Update to version 0.2.12 + * Added CBLAS interface for ?omatcopy and ?imatcopy. + * Enable ?gemm3m functions. + * Added benchmark for ?gemm3m. + * Optimized multithreading lower limits. + * Disabled SYMM3M and HEMM3M functions because of segment violations. + x86/x86-64: + * Improved axpy and symv performance on AMD Bulldozer. + * Improved gemv performance on modern Intel and AMD CPUs. + +--- Old: openblas-0.2.11.tar.gz New: openblas-0.2.12.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.d9US4K/_old 2014-10-18 09:10:28.0 +0200 +++ /var/tmp/diff_new_pack.d9US4K/_new 2014-10-18 09:10:28.0 +0200 @@ -17,7 +17,7 @@ Name: openblas -Version:0.2.11 +Version:0.2.12 Release:0 Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause ++ openblas-0.2.11.tar.gz - openblas-0.2.12.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/openblas-0.2.11.tar.gz /work/SRC/openSUSE:Factory/.openblas.new/openblas-0.2.12.tar.gz differ: char 14, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2014-08-20 10:51:09 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is openblas Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2014-07-18 14:04:05.0 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2014-08-20 10:51:35.0 +0200 @@ -1,0 +2,12 @@ +Mon Aug 18 12:43:10 UTC 2014 - dmitr...@opensuse.org + +- Update to version 0.2.11 + * Added some benchmark codes. + x86/x86-64: + * Improved s/c/zgemm performance for Intel Haswell. + * Improved s/d/c/zgemv performance. + * Support the big numa machine.(EXPERIMENT) + ARM: + * Fix detection when cpuinfo uses Processor. + +--- Old: openblas-0.2.10.tar.gz New: openblas-0.2.11.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.mXfjAM/_old 2014-08-20 10:51:36.0 +0200 +++ /var/tmp/diff_new_pack.mXfjAM/_new 2014-08-20 10:51:36.0 +0200 @@ -17,7 +17,7 @@ Name: openblas -Version:0.2.10 +Version:0.2.11 Release:0 Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause ++ openblas-0.2.10.tar.gz - openblas-0.2.11.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/openblas-0.2.10.tar.gz /work/SRC/openSUSE:Factory/.openblas.new/openblas-0.2.11.tar.gz differ: char 14, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2014-07-18 14:03:54 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is openblas Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2014-06-16 21:29:35.0 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2014-07-18 14:04:05.0 +0200 @@ -1,0 +2,15 @@ +Thu Jul 17 20:44:58 UTC 2014 - dmitr...@opensuse.org + +- Update to version 0.2.10 + * Added BLAS extensions as following. +s/d/c/zaxpby, s/d/c/zimatcopy, s/d/c/zomatcopy. + * Added OPENBLAS_CORETYPE environment for dynamic_arch. (a86d34) + * Support outputing the CPU corename on runtime.(#407) + * Patched LAPACK to fix bug 114, 117, 118. + (http://www.netlib.org/lapack/bug_list.html) + * Disabled ?gemm3m for a work-around fix. (#400) + * Fixed lots of bugs for optimized kernels on sandybridge,Haswell, +bulldozer, and piledriver. + * Remove obsolete openblas-0.2.9-gcc-warnings.patch + +--- Old: openblas-0.2.9-gcc-warnings.patch openblas-0.2.9.tar.gz New: openblas-0.2.10.tar.gz Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.2XpWNw/_old 2014-07-18 14:04:07.0 +0200 +++ /var/tmp/diff_new_pack.2XpWNw/_new 2014-07-18 14:04:07.0 +0200 @@ -17,23 +17,21 @@ Name: openblas -Version:0.2.9 +Version:0.2.10 Release:0 Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause Group: Productivity/Scientific/Math Url:http://www.openblas.net Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-UPSTREAM openblas-0.2.8-libs.patch: Link against libgfortran +# PATCH-FIX-UPSTREAM openblas-libs.patch: Link against libgfortran Patch0: openblas-libs.patch # PATCH-FIX-UPSTREAM c_xerbla_no-void-return.patch Patch1: c_xerbla_no-void-return.patch # PATCH-FEATURE-OPENSUSE openblas-0.1.0-soname.patch Patch2: openblas-0.1.0-soname.patch -# PATCH-FIX-UPSTREAM openblas-0.2.8-noexecstack.patch +# PATCH-FIX-UPSTREAM openblas-noexecstack.patch Patch3: openblas-noexecstack.patch -# PATCH-FIX-UPSTREAM openblas-0.2.9-gcc-warnings.patch -- Fix GCC warnings (bug#385) -Patch4: openblas-0.2.9-gcc-warnings.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 ia64 ppc ppc64 x86_64 BuildRequires: gcc-fortran @@ -114,7 +112,6 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 -%patch4 -p1 cd .. # prepare build for serial, threaded and OpenMP versions ++ openblas-0.2.9.tar.gz - openblas-0.2.10.tar.gz ++ /work/SRC/openSUSE:Factory/openblas/openblas-0.2.9.tar.gz /work/SRC/openSUSE:Factory/.openblas.new/openblas-0.2.10.tar.gz differ: char 16, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit openblas for openSUSE:Factory
Hello community, here is the log from the commit of package openblas for openSUSE:Factory checked in at 2014-06-16 21:29:33 Comparing /work/SRC/openSUSE:Factory/openblas (Old) and /work/SRC/openSUSE:Factory/.openblas.new (New) Package is openblas Changes: --- /work/SRC/openSUSE:Factory/openblas/openblas.changes2014-04-16 07:28:51.0 +0200 +++ /work/SRC/openSUSE:Factory/.openblas.new/openblas.changes 2014-06-16 21:29:35.0 +0200 @@ -1,0 +2,30 @@ +Tue Jun 10 14:34:02 UTC 2014 - dmitr...@opensuse.org + +- Update to version 0.2.9 + * Update LAPACK to 3.5.0 version + * Fixed compatiable issues with Clang and Pathscale compilers. + * Added OPENBLAS_VERBOSE environment variable.(#338) + * Make OpenBLAS thread-pool resilient to fork via pthread_atfork. +(#294) + * Rewrote rotmg + * Fixed sdsdot bug. + * Improved the result for LAPACK testing. (#372) + x86/x86-64: + * Optimization on Intel Haswell. + * Enable optimization kernels on AMD Bulldozer and Piledriver. + * Detect Intel Haswell for new Macbook. + * To improve LAPACK testing, we fallback some kernels. (#372) +https://github.com/xianyi/OpenBLAS/wiki/Fixed-optimized-kernels-To-do-List + ARM: + * Support ARMv6 and ARMv7 ISA. + * Optimization on ARM Cortex-A9. +- Update patches: + * openblas-0.2.8-libs.patch + * openblas-0.2.8-noexecstack.patch + to + * openblas-libs.patch + * openblas-noexecstack.patch +- Fix gcc warnings (#385) + * openblas-0.2.9-gcc-warnings.patch + +--- Old: openblas-0.2.8-libs.patch openblas-0.2.8-noexecstack.patch v0.2.8.tar.gz New: openblas-0.2.9-gcc-warnings.patch openblas-0.2.9.tar.gz openblas-libs.patch openblas-noexecstack.patch Other differences: -- ++ openblas.spec ++ --- /var/tmp/diff_new_pack.IDlSW0/_old 2014-06-16 21:29:36.0 +0200 +++ /var/tmp/diff_new_pack.IDlSW0/_new 2014-06-16 21:29:36.0 +0200 @@ -17,22 +17,24 @@ Name: openblas -Version:0.2.8 +Version:0.2.9 Release:0 Summary:An optimized BLAS library based on GotoBLAS2 License:BSD-3-Clause Group: Productivity/Scientific/Math Url:http://www.openblas.net -Source0:https://github.com/xianyi/OpenBLAS/archive/v%{version}.tar.gz +Source0: https://github.com/xianyi/OpenBLAS/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM openblas-0.2.8-libs.patch: Link against libgfortran -Patch0: openblas-0.2.8-libs.patch +Patch0: openblas-libs.patch # PATCH-FIX-UPSTREAM c_xerbla_no-void-return.patch Patch1: c_xerbla_no-void-return.patch # PATCH-FEATURE-OPENSUSE openblas-0.1.0-soname.patch Patch2: openblas-0.1.0-soname.patch # PATCH-FIX-UPSTREAM openblas-0.2.8-noexecstack.patch -Patch3: openblas-0.2.8-noexecstack.patch -BuildRoot: %{_tmppath}/build +Patch3: openblas-noexecstack.patch +# PATCH-FIX-UPSTREAM openblas-0.2.9-gcc-warnings.patch -- Fix GCC warnings (bug#385) +Patch4: openblas-0.2.9-gcc-warnings.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 ia64 ppc ppc64 x86_64 BuildRequires: gcc-fortran BuildRequires: update-alternatives @@ -112,12 +114,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 - -# Bad licenses -# openblas 0.29 will contain lapack 3.5.0 with fixed files -rm lapack-netlib/DOCS/psfig.tex -rm lapack-netlib/lapacke/example/example_DGESV_rowmajor.c -rm lapack-netlib/lapacke/example/example_ZGESV_rowmajor.c +%patch4 -p1 cd .. # prepare build for serial, threaded and OpenMP versions ++ openblas-0.2.9-gcc-warnings.patch ++ diff --git a/driver/others/dynamic.c b/driver/others/dynamic.c index 7b7beb9..ec421d6 100644 --- a/driver/others/dynamic.c +++ b/driver/others/dynamic.c @@ -116,18 +116,24 @@ extern void openblas_warning(int verbose, const char * msg); static int get_vendor(void){ int eax, ebx, ecx, edx; - char vendor[13]; + + union + { +char vchar[16]; +int vint[4]; + } vendor; cpuid(0, eax, ebx, ecx, edx); - - *(int *)(vendor[0]) = ebx; - *(int *)(vendor[4]) = edx; - *(int *)(vendor[8]) = ecx; - vendor[12] = (char)0; - if (!strcmp(vendor, GenuineIntel)) return VENDOR_INTEL; - if (!strcmp(vendor, AuthenticAMD)) return VENDOR_AMD; - if (!strcmp(vendor, CentaurHauls)) return VENDOR_CENTAUR; + *(vendor.vint[0]) = ebx; + *(vendor.vint[1]) = edx; + *(vendor.vint[2]) = ecx; + + vendor.vchar[12] = '\0'; + + if (!strcmp(vendor.vchar, GenuineIntel)) return VENDOR_INTEL; + if (!strcmp(vendor.vchar, AuthenticAMD)) return VENDOR_AMD; + if (!strcmp(vendor.vchar, CentaurHauls)) return