git: a0ead189b9ab - main - science/py-dlib: fix build on powerpc64le

Piotr Kubaj pkubaj at FreeBSD.org
Sun Apr 11 17:08:42 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a0ead189b9abf1d27877f719240dc23bb5e1881c

commit a0ead189b9abf1d27877f719240dc23bb5e1881c
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-04-11 17:08:35 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-04-11 17:08:35 +0000

    science/py-dlib: fix build on powerpc64le
    
    The patch has been committed to upstream and actually now breaks build.
---
 science/py-dlib/files/patch-dlib_simd_simd4f.h | 14 --------------
 1 file changed, 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


More information about the dev-commits-ports-all mailing list