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
Add windows JNI support #44257
Add windows JNI support #44257
Conversation
💊 CI failures summary and remediationsAs of commit e62256e (more details on the Dr. CI page):
2 failures not recognized by patterns:
🚧 1 ongoing upstream failure:These were probably caused by upstream breakages that are not fixed yet: ci.pytorch.org: 2 failed
This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group. This comment has been revised 157 times. |
|
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.
sorry, ignore it
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.
Fixes #44363
|
|
Lingering TODOs:
|
Edit: I think the fix is to update WDYT @dreiss? |
@mszhanyi I don't imagine this PR is going to change dramatically by fixing the remaining two build errors, so if you'd like to review it I think this PR is quite close. |
Waiting for this PR to be merged. |
I think these errors are a fixture of flaky builds and upstream breakages. I'll try to rebuild a bit later. |
5600e82 is a temporary commit while we wait for the commits to land in fbjni. |
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.
These changes LGTM.
Codecov Report
@@ Coverage Diff @@
## master #44257 +/- ##
==========================================
- Coverage 68.31% 68.26% -0.05%
==========================================
Files 410 410
Lines 53582 53614 +32
==========================================
- Hits 36602 36598 -4
- Misses 16980 17016 +36
Continue to review full report at Codecov.
|
@peterjc123 @mszhanyi I think this is good once CI passes. WDYT? |
…glesource.com/platform/libnativehelper/+/brillo-m9-dev/include/nativehelper/jni.h) with one difference: JNIEXPORT is defined per the Windows JDK.
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.
Again, this LGTM.
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.
@ezyang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
These errors seem to be related to git funniness because of a rebase - seems to be a fluke and should be OK to merge. |
Fixes #32516