internal change PiperOrigin-RevId: 912378366 Change-Id: I75afb03a078314710f74426ff0c32b778c3b6d1e
diff --git a/google3/third_party/libigl/include/igl/FastWindingNumberForSoups.h b/google3/third_party/libigl/include/igl/FastWindingNumberForSoups.h index 8b4e955..a0fbb09 100644 --- a/google3/third_party/libigl/include/igl/FastWindingNumberForSoups.h +++ b/google3/third_party/libigl/include/igl/FastWindingNumberForSoups.h
@@ -377,7 +377,7 @@ #define VM_SSE_STYLE 1 #ifdef __aarch64__ -#include "third_party/sse2neon/sse2neon.h" +#include "third_party/cpp/sse2neon/sse2neon.h" #else #include <emmintrin.h> #endif
diff --git a/google3/third_party/libigl/patches/02.cl_590168732.patch b/google3/third_party/libigl/patches/02.cl_590168732.patch index 0c0dce7..0276dd0 100644 --- a/google3/third_party/libigl/patches/02.cl_590168732.patch +++ b/google3/third_party/libigl/patches/02.cl_590168732.patch
@@ -4,9 +4,9 @@ The foregoing target uses libigl, which was using x86-specific intrinsics, therefore breaking the target when compiled on Arm architecture. - The common fix is to use "third_party/sse2neon/sse2neon.h". However, in g3 it lacked `_mm_getcsr` definition ([HEAD](http://google3/third_party/sse2neon/sse2neon.h) vs [GitHub](https://github.com/DLTcollab/sse2neon/blob/master/sse2neon.h)). When built on Arm, the missing function is replaced with a macro `_MM_SET_ROUNDING_MODE`, the delegate for the missing definition as per GitHub. + The common fix is to use "third_party/cpp/sse2neon/sse2neon.h". However, in g3 it lacked `_mm_getcsr` definition ([HEAD](http://google3/third_party/cpp/sse2neon/sse2neon.h) vs [GitHub](https://github.com/DLTcollab/sse2neon/blob/master/sse2neon.h)). When built on Arm, the missing function is replaced with a macro `_MM_SET_ROUNDING_MODE`, the delegate for the missing definition as per GitHub. - We might want to have "third_party/sse2neon/sse2neon.h" updated in future. + We might want to have "third_party/cpp/sse2neon/sse2neon.h" updated in future. This is part of the OnArm project (go/core-dev-onarm, go/onarm, go/multiarch), which is working on enabling Arm-based servers to be deployed at scale in Google data centers. @@ -31,7 +31,7 @@ #define VM_SSE_STYLE 1 +#ifdef __aarch64__ -+#include "third_party/sse2neon/sse2neon.h" ++#include "third_party/cpp/sse2neon/sse2neon.h" +#else #include <emmintrin.h> +#endif