[openmvg] builds on arm64 osx (#32868)

This commit is contained in:
Jinhwan Choi 2023-08-03 01:22:22 +09:00 committed by GitHub
parent 935261370b
commit 06aa33211a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 3 deletions

View File

@ -639,3 +639,18 @@ index 8a69c2344..1ed9a21fe 100644
FIND_LIBRARY(OSICLP_LIBRARY NAMES OsiClp) FIND_LIBRARY(OSICLP_LIBRARY NAMES OsiClp)
# locate Clp libraries # locate Clp libraries
diff --git a/src/openMVG/matching/metric_simd.hpp b/src/openMVG/matching/metric_simd.hpp
index 7e09f6ed..916c84e0 100644
--- a/src/openMVG/matching/metric_simd.hpp
+++ b/src/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 {

View File

@ -1,10 +1,10 @@
{ {
"name": "openmvg", "name": "openmvg",
"version": "2.0", "version": "2.0",
"port-version": 8, "port-version": 9,
"description": "open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.", "description": "open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.",
"license": "MPL-2.0-no-copyleft-exception", "license": "MPL-2.0-no-copyleft-exception",
"supports": "(x86 | x64) & !xbox", "supports": "(x86 | x64 | arm64) & !xbox",
"dependencies": [ "dependencies": [
"cereal", "cereal",
{ {

View File

@ -6046,7 +6046,7 @@
}, },
"openmvg": { "openmvg": {
"baseline": "2.0", "baseline": "2.0",
"port-version": 8 "port-version": 9
}, },
"openmvs": { "openmvs": {
"baseline": "2.1.0", "baseline": "2.1.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "6ddaa3bedcc57eb498c9e180bb8546a2726a1ddc",
"version": "2.0",
"port-version": 9
},
{ {
"git-tree": "3712d684593f777107e58a37bf601083a6351738", "git-tree": "3712d684593f777107e58a37bf601083a6351738",
"version": "2.0", "version": "2.0",