openblas/Revert-AVX512-capability-check-from-PR-1980-moved-to-build.patch
Egbert Eich 9df0d0912b Accepting request 966356 from home:eeich:branches:science
- Build PPC64LE libraries with the lastest gcc available to
  take advantage of instruction sets in later CPUs used in
  the CPU specific kernels (jsc#SLE-18143, bsc#1197721).
  For fortran use the stock compiler to avoid compatibility
  issues between different versions of libfortran.
  This is relevant for Leap/SLE only. It may be dropped once
  gcc < 10 is no longer supported.
- Do the same for x86_64 on SLE to make sure Cooperlake support
  is built properly.
- Remove:
  * Do-not-attempt-to-check-host-CPU-if-TARGET-is-set.patch
  * Create-independent-kernel-Makfile-configuration-when-building-DYNAMIC_ARCH.patch
  * For-DYNAMIC_ARCH-don-t-use-sbgemm_r-as-parameter.c-doesn-t-get-build.patch
  Instead, add from upstream:
  * Define-sbgemm_r-to-fix-DYNAMIC_ARCH-builds.patch
  * Remove-extraneous-and-wrong-definition-of-sbgemm_r-on-x86_64.patch
  * Fix-checks-for-AVX512-and-atomics.patch
  * Revert-AVX512-capability-check-from-PR-1980-moved-to-build.patch
  * Use-CC-and-full-command-line-instead-of-hard-coding-gcc-for-AVX512-checking.patch
  * Utilize-compiler-AVX512-capability-info-from-c_check-when-building-getarch.patch

  BLAS/LAPACK implementation (boo#1177260).  
  'openblas-common-devel' will provide the removed 'openblas-devel-headers'
  while the arch specific 'preferred' flavor will provide the removed
  'openblas-devel'.

OBS-URL: https://build.opensuse.org/request/show/966356
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=131
2022-04-01 07:59:26 +00:00

34 lines
948 B
Diff

From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Date: Wed Mar 23 15:22:13 2022 +0100
Subject: Revert AVX512 capability check from PR #1980 (moved to build)
Patch-mainline: Not yet
Git-repo: https://github.com/xianyi/OpenBLAS
Git-commit: 93a81856ae6a34c4329054744237d46ed347ccec
References:
Signed-off-by: Egbert Eich <eich@suse.de>
---
getarch.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/getarch.c b/getarch.c
index 00e544bc..e49eac1a 100644
--- a/getarch.c
+++ b/getarch.c
@@ -94,14 +94,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sys/sysinfo.h>
#endif
-#if defined(__x86_64__) || defined(_M_X64)
-#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX2__)) || (defined(__clang__) && __clang_major__ >= 6))
-#else
-#ifndef NO_AVX512
-#define NO_AVX512
-#endif
-#endif
-#endif
/* #define FORCE_P2 */
/* #define FORCE_KATMAI */
/* #define FORCE_COPPERMINE */