LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0001-Disable-Altivec-for-ppc64le.patch of Package eigen3.openSUSE_Backports_SLE-12-SP3 (Project home:alarrosa:Backports:SLE-12-SP3:KDE)

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-bdd17ee3b1b3/Eigen/Core
===================================================================
--- eigen-eigen-bdd17ee3b1b3.orig/Eigen/Core
+++ eigen-eigen-bdd17ee3b1b3/Eigen/Core
@@ -114,7 +114,7 @@
         #endif
       #endif
     } // end extern "C"
-  #elif defined __ALTIVEC__
+  #elif defined __ALTIVEC__ && _CALL_ELF != 2 
     #define EIGEN_VECTORIZE
     #define EIGEN_VECTORIZE_ALTIVEC
     #include <altivec.h>