From ad5e4348bc86581bcdc8f4d724bcd2be6462a8b82c8e6ad6f137c6847e8407be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 25 Feb 2020 06:31:34 +0000 Subject: [PATCH 1/2] Accepting request 772619 from home:namtrac:branches:science - 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 OBS-URL: https://build.opensuse.org/request/show/772619 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=87 --- OpenBLAS-0.3.7.tar.gz | 3 -- OpenBLAS-0.3.8.tar.gz | 3 ++ ...t-version-numbers-in-gcc-version-che.patch | 26 ----------- openblas.changes | 43 +++++++++++++++++++ openblas.spec | 12 +++--- 5 files changed, 51 insertions(+), 36 deletions(-) delete mode 100644 OpenBLAS-0.3.7.tar.gz create mode 100644 OpenBLAS-0.3.8.tar.gz delete mode 100644 gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch diff --git a/OpenBLAS-0.3.7.tar.gz b/OpenBLAS-0.3.7.tar.gz deleted file mode 100644 index d489c5b..0000000 --- a/OpenBLAS-0.3.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bde136122cef3dd6efe2de1c6f65c10955bbb0cc01a520c2342f5287c28f9379 -size 11986592 diff --git a/OpenBLAS-0.3.8.tar.gz b/OpenBLAS-0.3.8.tar.gz new file mode 100644 index 0000000..d0d4801 --- /dev/null +++ b/OpenBLAS-0.3.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8f86ade36f0dbed9ac90eb62575137388359d97d8f93093b38abe166ad7ef3a8 +size 12173881 diff --git a/gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch b/gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch deleted file mode 100644 index 9ab2467..0000000 --- a/gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch +++ /dev/null @@ -1,26 +0,0 @@ -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 - diff --git a/openblas.changes b/openblas.changes index 9aefae2..0a22a8c 100644 --- a/openblas.changes +++ b/openblas.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +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 + ------------------------------------------------------------------- Sun Dec 8 09:03:24 UTC 2019 - Martin Liška diff --git a/openblas.spec b/openblas.spec index bdbfa97..96cf1b3 100644 --- a/openblas.spec +++ b/openblas.spec @@ -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 @@ -128,8 +128,7 @@ Source2: README.HPC.SUSE # PATCH-FIX-UPSTREAM openblas-noexecstack.patch Patch1: openblas-noexecstack.patch # PATCH port -Patch3: openblas-s390.patch -Patch4: gcc10-Support-two-digit-version-numbers-in-gcc-version-che.patch +Patch2: openblas-s390.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -234,8 +233,7 @@ This package contains headers for OpenBLAS. %setup -q -n OpenBLAS-%{version} %patch1 -p1 -%patch3 -p1 -%patch4 -p1 +%patch2 -p1 %ifarch s390 sed -i -e "s@m32@m31@" Makefile.system %endif From 3202080ce882f1f8f25ff130a6a49cf6c55969cf3fd1a7c5aa090bf3aa10a090 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Wed, 26 Feb 2020 14:56:25 +0000 Subject: [PATCH 2/2] Accepting request 779439 from home:eeich:branches:science - Add support for gcc8/9 building (jsc#SLE-8604). OBS-URL: https://build.opensuse.org/request/show/779439 OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=88 --- openblas.changes | 5 +++++ openblas.spec | 40 ++++++++++++++++++++++++++++++++++------ 2 files changed, 39 insertions(+), 6 deletions(-) diff --git a/openblas.changes b/openblas.changes index 0a22a8c..48a5ad7 100644 --- a/openblas.changes +++ b/openblas.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/openblas.spec b/openblas.spec index 96cf1b3..a5b1687 100644 --- a/openblas.spec +++ b/openblas.spec @@ -64,12 +64,6 @@ ExclusiveArch: do_not_build %{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" %define compiler_family gnu %undefine c_f_ver @@ -78,6 +72,12 @@ ExclusiveArch: do_not_build %{bcond_without hpc} %endif +%if "%flavor" == "gnu7-hpc" +%define compiler_family gnu +%define c_f_ver 7 +%{bcond_without hpc} +%endif + %if "%flavor" == "gnu7-hpc-pthreads" %define compiler_family gnu %define c_f_ver 7 @@ -86,6 +86,34 @@ ExclusiveArch: do_not_build %{bcond_without hpc} %endif +%if "%flavor" == "gnu8-hpc" +%define compiler_family gnu +%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 "%flavor" == "gnu9-hpc" +%define compiler_family gnu +%define c_f_ver 9 +%{bcond_without hpc} +%endif + +%if "%flavor" == "gnu9-hpc-pthreads" +%define compiler_family gnu +%define c_f_ver 9 +%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}