• K
    Update release Linux configs in the root bazelrc · d66aeda6
    Kanglan Tang 提交于
    The following changes are included:
    - Starting from TF2.13v, TensorFlow uses Clang as compiler for Linux. Thus, we update the toolchain in release_cpu_linux and release_gpu_linux configs.
    - Preserve the old linux build options in the unsupported_cpu_linux and unsupported_gpu_linux configs. If your project fails to build with Clang, you can use these unsupported flags to replace the release flags in your build command. However, please note that the old toolchain is no longer officially supported by TensorFlow and the unsupported configs will be removed soon. We strongly recommend that you migrate to Clang as your compiler for TensorFlow Linux builds. Instructions are available in the official documentation: https://www.tensorflow.org/install/source#install_clang_recommended_linux_only. Another good alternative is to use our Docker containers to build and test TensorFlow: https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/tf_sig_build_dockerfiles.
    - Add official linker options and container environment settings to release linux configs.
    - Deduplicate build options in cpu.bazelrc and gpu.bazelrc.
    - Delete outdated CI jobs.
    
    PiperOrigin-RevId: 564620926
    d66aeda6
.bazelrc 30.9 KB