| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
… dynamic lib, never strip swift symbols, add framework search paths, and bring in lstdc++
… trouble with the static build
Please @CatalinVoss, feel free to push as much as you need to complete taskcluster green, do not worry about abusing the resources: current usage is quite low, and we have implemented back in august optimizations that ensures high usages do not results in too high costs. Current figures shows this has been successfull, and your PR is more than welcome, so push as much as you need. |
Sorry, something went wrong.
|
@lissyx that's good to know. OK, thanks. |
Sorry, something went wrong.
… no longer a thing here. I suppose we could add a step to package the iOS static lib instead.
|
I think we're good on TC? |
Sorry, something went wrong.
There were à few failures but its all green after rerun. I'll gave à look tomorrow, hopefully. Thanks ! |
Sorry, something went wrong.
|
Yeah those didn't look related to me. OK |
Sorry, something went wrong.
They were not, but they were blocking executing a lot of the tests :) |
Sorry, something went wrong.
|
@CatalinVoss Looks good, there were two things I'm unsure about, please let us know if you need further changes or if that is good to go. Also @reuben can correct me but I think we would like to have that on r0.9 as well ? |
Sorry, something went wrong.
|
I don't think so. Not suitable for a point release in its current state. Would like to get more testing on it. I'll take a closer look at the PR as well this week. |
Sorry, something went wrong.
|
Looks like I don't have permissions to re-trigger that one failing windows test, but it doesn't look related |
Sorry, something went wrong.
Yeah dont worry about this one, it's past deadline Anyway and it's just an intermittent |
Sorry, something went wrong.
There was a problem hiding this comment.
I have a few minor comments that need to be addressed before merging but this looks great! Great find with ios_static_framework, this ended up being much simpler than I expected.
Sorry, something went wrong.
|
@CatalinVoss Sorry, but valgrind metadata tests on linux shows a memory leak regression: https://community-tc.services.mozilla.com/tasks/VizPwDWmRa-rx6i2f2z_1w/runs/0/logs/https%3A%2F%2Fcommunity-tc.services.mozilla.com%2Fapi%2Fqueue%2Fv1%2Ftask%2FVizPwDWmRa-rx6i2f2z_1w%2Fruns%2F0%2Fartifacts%2Fpublic%252Fvalgrind_extended.log |
Sorry, something went wrong.
@CatalinVoss It might just be some false-positive from Valgrind: ==4364== LEAK SUMMARY: ==4364== definitely lost: 0 bytes in 0 blocks ==4364== indirectly lost: 0 bytes in 0 blocks ==4364== possibly lost: 0 bytes in 0 blocks ==4364== still reachable: 96 bytes in 2 blocks ==4364== of which reachable via heuristic: ==4364== newarray : 9,280 bytes in 11 blocks And you would just have to update the exclusion lists: https://github.com/mozilla/DeepSpeech/blob/master/taskcluster/tc-valgrind-utils.sh#L5-L9 |
Sorry, something went wrong.
|
Looks like re-adding the flags that were dropped when moving from tf_cc_shared_object to cc_library fixed it: #3451 |
Sorry, something went wrong.
|
Merged with the fix. Thanks @CatalinVoss! |
Sorry, something went wrong.
|
(Please delete the upstream branch once you're done working on it) |
Sorry, something went wrong.
|
Thank you for that!! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR contributes a static build framework build pipeline for iOS, hopefully helping push #3061 along. Credit goes to @xiaoqunSun for pointing me to bazel's ios_static_framework.
Build the static framework like this:
If you want a smaller bundle and don't care about shipping apps with bitcode to Apple, you can drop the --apple_bitcode=embedded --copt=-fembed-bitcode flags.
Then the xcodebuild or Xcode app build should work to build a static framework that can be integrated into apps that can be shipped on the iOS App Store or via Testflight.
I tried my best to update the Taskcluster command, but don't want to overpromise.
I also added a basic Podspec which should provide the starting point for turning this into a Cocoa Pod if anyone wants to tackle submitting that somewhere.