[Build] use timespec_get to get current time#5252
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 |
swolchok
left a comment
There was a problem hiding this comment.
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.
comment doesn't match the code -- comment says above 29, code says 29 or later
|
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