git: 8547737a73fa - main - misc/openmvg: fix build on non-x86
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Nov 2021 11:41:24 UTC
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 {