XiaoMi / mobile-ai-bench

Benchmarking Neural Network Inference on Mobile Devices
Apache License 2.0
353 stars 57 forks source link

com_google_protobuf Build Error #26

Closed vikablask90 closed 5 years ago

vikablask90 commented 5 years ago

/private/var/tmp/_bazel_slice/4dad7a7745975e897b9323b66e817b04/external/com_google_protobuf/BUILD:355:1: Linking of rule '@com_google_protobuf//:protoc' failed (Exit 1): cc_wrapper.sh failed: error executing command

lee-bin commented 5 years ago

Make sure your environment is the same with https://github.com/XiaoMi/mobile-ai-bench/blob/master/README.md#environment-requirement

hanton commented 5 years ago

hi @newway1995 , I have the same issue when running on Mac.

Fixing it by turning on build:cross_compile --distinct_host_configuration=true in tools/bazel.rc