eigen3/0001-Do-stack-allignment-on-ppc.patch
Asterios Dramis 7716988db7 Accepting request 477847 from home:adra:branches:science
Update to version 3.3.3, Added new build requirements, Rebased patches to apply cleanly

OBS-URL: https://build.opensuse.org/request/show/477847
OBS-URL: https://build.opensuse.org/package/show/science/eigen3?expand=0&rev=6
2017-03-08 23:59:11 +00:00

23 lines
1.3 KiB
Diff

From 91025c823045259bad2297850625a08fbf986043 Mon Sep 17 00:00:00 2001
From: Dinar Valeev <dvaleev@suse.com>
Date: Thu, 31 Jul 2014 12:51:13 +0000
Subject: [PATCH] Do stack allignment on ppc
---
Eigen/src/Core/util/Macros.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: eigen-eigen-67e894c6cd8f/Eigen/src/Core/util/Macros.h
===================================================================
--- eigen-eigen-67e894c6cd8f.orig/Eigen/src/Core/util/Macros.h
+++ eigen-eigen-67e894c6cd8f/Eigen/src/Core/util/Macros.h
@@ -701,7 +701,7 @@ namespace Eigen {
// certain common platform (compiler+architecture combinations) to avoid these problems.
// Only static alignment is really problematic (relies on nonstandard compiler extensions),
// try to keep heap alignment even when we have to disable static alignment.
- #if EIGEN_COMP_GNUC && !(EIGEN_ARCH_i386_OR_x86_64 || EIGEN_ARCH_ARM_OR_ARM64 || EIGEN_ARCH_PPC || EIGEN_ARCH_IA64)
+ #if EIGEN_COMP_GNUC && !(EIGEN_ARCH_i386_OR_x86_64 || EIGEN_ARCH_ARM_OR_ARM64 || EIGEN_ARCH_IA64)
#define EIGEN_GCC_AND_ARCH_DOESNT_WANT_STACK_ALIGNMENT 1
#elif EIGEN_ARCH_ARM_OR_ARM64 && EIGEN_COMP_GNUC_STRICT && EIGEN_GNUC_AT_MOST(4, 6)
// Old versions of GCC on ARM, at least 4.4, were once seen to have buggy static alignment support.