- 编译前先安装依赖:
xcode 9.2或者更高
使用 brew包管理工具安装python
brew install python


安装依赖:
pip install -U --user pip numpy wheel packaging requests opt_einsum

pip install -U --user keras_preprocessing --no-deps

brew install bazelisk 配置时会自动安装bazel5.3.0版本

克隆TensorFlow源码:
git clone https://github.com/tensorflow/tensorflow.git

配置:

编译源码:


Bug解决中...










