eigen3/0001-Disable-Altivec-for-ppc64le.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
705 B
Diff

From e4b0115a362a35a3ac6eacca9fbd7f57e7c02fb4 Mon Sep 17 00:00:00 2001
From: Dinar Valeev <dvaleev@suse.com>
Date: Wed, 30 Jul 2014 17:55:03 +0200
Subject: [PATCH] Disable Altivec for ppc64le
---
Eigen/Core | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: eigen-eigen-67e894c6cd8f/Eigen/Core
===================================================================
--- eigen-eigen-67e894c6cd8f.orig/Eigen/Core
+++ eigen-eigen-67e894c6cd8f/Eigen/Core
@@ -201,7 +201,7 @@
#undef bool
#undef vector
#undef pixel
- #elif defined __ALTIVEC__
+ #elif defined __ALTIVEC__ && _CALL_ELF != 2
#define EIGEN_VECTORIZE
#define EIGEN_VECTORIZE_ALTIVEC
#include <altivec.h>