Xcode version must be specified to use an Apple CROSSTOOL

前端 未结 5 431
庸人自扰
庸人自扰 2021-01-30 03:22

I try to build tensorflow-serving using bazel but I\'ve encountered some errors during the building

ERROR:/private/var/tmp/_bazel_Kakadu/3f0c35881c95d2c43f04614         


        
5条回答
  •  醉话见心
    2021-01-30 03:59

    bazel clean --expunge 
    sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
    sudo xcodebuild -license
    bazel clean --expunge 
    bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
    

提交回复
热议问题