-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[openxr-loader] Fix package name and enable arm #23928
Conversation
75b96a7
to
3452955
Compare
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.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/openxr-loader/vcpkg.json
Valid values for the license field can be found in the documentation
3452955
to
8ed338d
Compare
8ed338d
to
262beea
Compare
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 is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 6fa767aca9474519b737f56fcf0a519023c8ee56 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/o-/openxr-loader.json b/versions/o-/openxr-loader.json
index f56d149..e576bd8 100644
--- a/versions/o-/openxr-loader.json
+++ b/versions/o-/openxr-loader.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "29282b8e08976099dea0e7b8aab03077c0047afd",
+ "git-tree": "4f55db29b61060220d599e61470a0db5e53a595c",
"version": "1.0.22",
"port-version": 2
},
262beea
to
2c28e98
Compare
2c28e98
to
c13905a
Compare
@bwrsandman ,Thanks for yur pr, I tested the usage on my local machine but failed, This is error log:
CMakeLists:
|
I updated it after testing. The find package should be OpenXR. The PR should be updated |
Also, I don't see why arm is disallowed since Android ARM is one of the biggest usecases for OpenXR (oculus Quest) |
The port installs |
c13905a
to
4112250
Compare
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 is a new experimental fast check for PR issues. Please let us know if this bot is helpful!
All manifest files must be formatted
./vcpkg format-manifest ports/*/vcpkg.json
Diff
diff --git a/ports/openxr-loader/vcpkg.json b/ports/openxr-loader/vcpkg.json
index 9b867d9..6c65bc3 100644
--- a/ports/openxr-loader/vcpkg.json
+++ b/ports/openxr-loader/vcpkg.json
@@ -5,7 +5,7 @@
"description": "A royalty-free, open standard that provides high-performance access to Augmented Reality (AR) and Virtual Reality (VR)—collectively known as XR—platforms and devices",
"homepage": "https://github.com/KhronosGroup/OpenXR-SDK",
"license": "Apache-2.0",
- "supports": "android|!(arm | uwp)",
+ "supports": "android | !(arm | uwp)",
"dependencies": [
"jsoncpp",
{
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout e79aaaaf3c1b157d29388951b5aa2672defc78b8 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/o-/openxr-loader.json b/versions/o-/openxr-loader.json
index 87bca6b..8e59894 100644
--- a/versions/o-/openxr-loader.json
+++ b/versions/o-/openxr-loader.json
@@ -1,7 +1,7 @@
{
"versions": [
{
- "git-tree": "9492018923238cff2976b1399f171817f80968a3",
+ "git-tree": "8d0ca56cad6ab2877b6d43ffe30dda20519d9091",
"version": "1.0.22",
"port-version": 2
},
4112250
to
4af53ef
Compare
@dg0yt I changed the package name with I also went and enabled arm after testing cross compiling to android armeabi-v7a and testing a host build on ARM linux (raspberry pi). One thing of note is that on linux it requires host to have |
I am also pretty sure OpenXR supports uwp for hololens. I don't have the means to test it though |
I tested the usage successfully:
|
Thanks! |
Describe the pull request
What does your PR fix?
Makes it easier to use openxr-loader and enabled arm
Previously it prints this with
find_package(openxr-loader
which is wrong and should haveOpenXR
.Now it prints:
Which triplets are supported/not supported? Have you updated the CI baseline?
I have removed the arm restriction after testing cross compiling to android and host compiling on linux arm
Does your PR follow the maintainer guide?
Yes
If you have added/updated a port: Have you run
./vcpkg x-add-version --all
and committed the result?Yes
If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/