Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Nov 2021 11:41:24 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8547737a73fa - main - misc/openmvg: fix build on non-x86
Message-ID:  <202111291141.1ATBfOm2041309@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit 8547737a73fad4e4649ca07895c743602e6f731a
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-11-29 11:35:12 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-11-29 11:35:12 +0000

    misc/openmvg: fix build on non-x86
    
    Tested on powerpc64, may still have issues on other architectures.
---
 misc/openmvg/files/patch-openMVG_matching_metric__simd.hpp | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/misc/openmvg/files/patch-openMVG_matching_metric__simd.hpp b/misc/openmvg/files/patch-openMVG_matching_metric__simd.hpp
new file mode 100644
index 000000000000..d5b98e1586ad
--- /dev/null
+++ b/misc/openmvg/files/patch-openMVG_matching_metric__simd.hpp
@@ -0,0 +1,12 @@
+--- openMVG/matching/metric_simd.hpp.orig	2021-11-29 11:14:30 UTC
++++ openMVG/matching/metric_simd.hpp
+@@ -17,7 +17,9 @@
+ #include <numeric>
+ 
+ #include <cstdint>
++#if defined(__amd64__) || defined(__i386__)
+ #include <immintrin.h>
++#endif
+ 
+ namespace openMVG {
+ namespace matching {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111291141.1ATBfOm2041309>