-
Notifications
You must be signed in to change notification settings - Fork 537
[Build] use timespec_get to get current time #5252
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5252
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 21094a9 with merge base 0342bab ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
@tarun292, @kirklandsign can you take a look please? |
@pytorchbot rebase |
Replace clock_gettime with timespec_get which works on Windows as well. For pytorch#4661
92bac8e
to
176f197
Compare
apparently timespec_get is only available in recent versions of Android. confluentinc/librdkafka#3044 |
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'll need to change this to fix the android failure, feel free to ping me for re-review
Thanks for the feedback. |
extension/llm/runner/util.h
Outdated
// above 29. | ||
#if defined(__ANDROID_API__) && __ANDROID_API__ < 29 |
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.
comment doesn't match the code -- comment says above 29, code says 29 or later
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.
Fixed.
Thank you! |
Replace clock_gettime with timespec_get which works on Windows as well. For #4661
Replace clock_gettime with timespec_get which works on Windows as well.
For #4661