-
Notifications
You must be signed in to change notification settings - Fork 58
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
ERROR: No toolchain found for cpu 'armeabi-v7a'. #5
Comments
Workaround: Delete the tools/cpp directory. I think I know what happened here. The //tools/cpp/... directory was copied from an older version of https://github.com/google/bazel/tree/master/tools/cpp. The copy went out of date. Not sure what this impacts and if there were any patches applied to it. |
Cool, I saw your other reply. Can you show me how you configured this in .blazerc file? I think that it is needed to compile this correctly. |
What I've done so far is a bit screwed up.
git clone --recursive https://github.com/google/bazel bazel git clone --recursive https://github.com/mzhaom/trunk.git bazel_trunk
cat ~/.bazelrc |
Thanks, this worked! |
Thanks for the report and suggested fix! I integrated tools/cpp from bazel upstream, which should fix the issue now. The reason I kept another copy was I would like to extend the crosstool definition to cover other compilers like LRTE, which I'm working as another project. |
I encountered this during build:
bazel build examples/...:all
.................
ERROR: No toolchain found for cpu 'armeabi-v7a'.
I am building on x86, why do I need arm?
The text was updated successfully, but these errors were encountered: