mirror of https://github.com/grpc/grpc.git
For ios build, bazel build needs to be invoked with: --ios_multi_cpu=armv7,arm64 build. This in turn gets picked as cpu based on the docs: --[no]experimental_enable_objc_cc_deps default: "true" Allows objc_* rules to depend on cc_library and causes any objc dependencies to be built with --cpu set to "ios_<--ios_cpu>" for any values in --ios_multi_cpu. This diff explicitly adds darwin config for cpu being ios_x86_64, ios_armv7, ios_armv7s and ios_arm64. We cant use ios_cpu as condition because its set to x86_64 by default and causes linux build break.pull/13011/head
parent
f2c6ceb892
commit
b96287a13f
1 changed files with 25 additions and 0 deletions
Loading…
Reference in new issue