fix build on powerpc64 by disabling altivec for now
This commit is contained in:
parent
fa30ed7074
commit
b118929b10
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-vendor_eigen_Eigen_src_Core_util_ConfigureVectorization_h,v 1.1 2021/06/27 13:34:27 jasper Exp $
|
||||
|
||||
Disable AltiVec for it breaks the build due to various undefined symbols (vec_sqrt, etc)
|
||||
|
||||
Index: vendor/eigen/Eigen/src/Core/util/ConfigureVectorization.h
|
||||
--- vendor/eigen/Eigen/src/Core/util/ConfigureVectorization.h.orig
|
||||
+++ vendor/eigen/Eigen/src/Core/util/ConfigureVectorization.h
|
||||
@@ -373,7 +373,7 @@
|
||||
#undef vector
|
||||
#undef pixel
|
||||
|
||||
- #elif defined __ALTIVEC__
|
||||
+ #elif defined __ALTIVEC__ && !defined(__OpenBSD__)
|
||||
|
||||
#define EIGEN_VECTORIZE
|
||||
#define EIGEN_VECTORIZE_ALTIVEC
|
Loading…
x
Reference in New Issue
Block a user