diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-04-11 17:08:35 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-04-11 17:08:35 +0000 |
commit | a0ead189b9abf1d27877f719240dc23bb5e1881c (patch) | |
tree | 2c9c2e581d5e7e39b5ab94444316461f5ebb03ed /science/py-dlib | |
parent | 3d8b6a0bcff761b110ae960faae4009b2333122b (diff) | |
download | ports-a0ead189b9abf1d27877f719240dc23bb5e1881c.tar.gz ports-a0ead189b9abf1d27877f719240dc23bb5e1881c.zip |
science/py-dlib: fix build on powerpc64le
The patch has been committed to upstream and actually now breaks build.
Diffstat (limited to 'science/py-dlib')
-rw-r--r-- | science/py-dlib/files/patch-dlib_simd_simd4f.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/science/py-dlib/files/patch-dlib_simd_simd4f.h b/science/py-dlib/files/patch-dlib_simd_simd4f.h deleted file mode 100644 index d95e9cd91c12..000000000000 --- a/science/py-dlib/files/patch-dlib_simd_simd4f.h +++ /dev/null @@ -1,14 +0,0 @@ ---- dlib/simd/simd4f.h.orig 2021-01-11 12:18:36 UTC -+++ dlib/simd/simd4f.h -@@ -524,6 +524,11 @@ namespace dlib - - // ---------------------------------------------------------------------------------------- - -+#if defined(DLIB_HAVE_VSX) && !defined(vec_rsqrt) -+extern inline __vector float __attribute__((always_inline)) vec_rsqrt(const __vector float& a) -+ { return vec_div((__vector float){1, 1, 1, 1}, vec_sqrt(a)); } -+#endif -+ - inline simd4f reciprocal_sqrt (const simd4f& item) - { - #ifdef DLIB_HAVE_SSE2 |