You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build from source using the guide here. Following the same pattern as the build scripts, I do the below, but fail with the following bazel error:
In case anyone stumbles upon this (I did after upgrade to XCode 15.3 on an M1):
this bug stems from darwin_arm64 cpu configuration missing from the cares.BUILD file in third_party/cares folder of the gRPC version that TensorFlow is still using at time of writing (Jan 2020 or so, I believe). gRPC has long since included that fix (here).
I patched commit 4bdc149ac84738b06a592473595c1c9c2bd2a9a3 of TensorFlow, because that's the one MediaPipe 0.10.11 is using (most recent release at time of writing).
Until the gRPC used by TernsorFlow changes (and, if it does, I'm hoping it will include the corrected grpc/C-Ares build), you can easily recreate the patch for whatever version of TensorFlow you are using by checking out that commit into a separate branch, applying the patch, commiting, and then rebasing the branch on whatever commit or tag or branch of TensorFlow you need. (git show HEAD > patch_file_name.diff command can be used to make the patch file out of the previous commit, for anyone not familiar.)
Hello,
I'm trying to build from source using the guide here. Following the same pattern as the build scripts, I do the below, but fail with the following bazel error:
Workflow:
**Error output:**
Xcode version
Bazel version
Python version
Related
#1298
#1643
Thanks!
The text was updated successfully, but these errors were encountered: