-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[openmvs] add arm support #33101
[openmvs] add arm support #33101
Conversation
ports/openmvs/fix-arm.patch
Outdated
-SET(OpenMVS_USE_SSE ON CACHE BOOL "Enable SSE optimizations") | ||
+cmake_policy(SET CMP0127 NEW) | ||
+cmake_dependent_option(OpenMVS_USE_SSE "Enable SSE optimizations" ON "NOT CMAKE_SYSTEM_PROCESSOR MATCHES \"^(arm|ARM|aarch64|AARCH64).\"" OFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patches out what is aleady an option?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From upstream: cdcseacave/openMVS#1042
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What should we do with this PR next? Are we waiting for the upstream to apply the dg0yt's suggestion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Cheney-W You are the reviewer. It is up to you give guidance whether to avoid the patch because it can be avoided, or to simply accept the patch for being accepted upstream.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah the alternative is to check the VCPKG_TARGET_ARCHITECTURE
and set OpenMVS_USE_SSE
accordingly. The result is the same.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@autoantwort Could you please apply this modification to this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Cheney-W Done
fc4e69f
to
f60e4bb
Compare
Currently it fails because SSE is also enables on the arm platform