https://blog.csdn.net/qq_37674858/article/details/81095101
https://blog.csdn.net/yhily2008/article/details/79967118
https://docs.bazel.build/versions/master/install-ubuntu.html#step-1-install-required-packages
bazel-0.22.0-installer-linux-x86_64.sh
Invalid python path: usr/bin/python3.6 cannot be found.
Please specify the location of python. [Default is /usr/bin/python]: usr/bin/pyt
Found possible Python library paths:
/usr/local/lib/python3.6/dist-packages
/usr/lib/python3/dist-packages
Please input the desired Python library path to use. Default is [/usr/local/lib/python3.6/dist-packages]
https://blog.csdn.net/qq_33200967/article/details/80959325
Preconfigured Bazel build configs. You can use any of the below by adding "--config=<>" to your build command.
See .bazelrc for more details.
--config=mkl # Build with MKL support.
--config=monolithic # Config for mostly static monolithic build.
--config=gdr # Build with GDR support.
--config=verbs # Build with libverbs support.
--config=ngraph # Build with Intel nGraph support.
--config=dynamic_kernels # (Experimental) Build kernels into separate shared objects.
Preconfigured Bazel build configs to DISABLE default on features:
--config=noaws # Disable AWS S3 filesystem support.
--config=nogcp # Disable GCP support.
--config=nohdfs # Disable HDFS support.
--config=noignite # Disable Apache Ignite support.
--config=nokafka # Disable Apache Kafka support.
--config=nonccl # Disable NVIDIA NCCL support.
Configuration finished
https://blog.csdn.net/sycflash/article/details/7165946
https://blog.csdn.net/pamzerbhu/article/details/54574659
https://www.cnblogs.com/wangxiaocvpr/p/5385961.html
https://blog.csdn.net/sydpz1987/article/details/51493844
从源代码构建 TensorFlow 可能会消耗大量内存。如果系统内存有限,请使用以下命令限制 Bazel 的内存消耗量:--local_resources 2048,.5,1.0
。