tensorflow: Download of fresh release of clang fails on TF 2.10.0-2.11.0
Click to expand!
Issue Type
Build/Install
Source
source
Tensorflow Version
2.11.0-rc2
Custom Code
No
OS Platform and Distribution
MacOS 13.0
Mobile device
No response
Python version
3.10.6
Bazel version
5.3.0
GCC/Compiler version
XCode 14.1
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
When requesting the option during `./configure`:
Do you wish to download a fresh release of clang? (Experimental) [y/N]: y
Clang will be downloaded and used to compile tensorflow.
Compilation fails immediately:
Starting local Bazel server and connecting to it...
ERROR: Config value 'download_clang' is not defined in any .rc file
The issue has been present since 2.5.0 at least, and it is present today in TF 2.10.0 and TF 2.11.0.
### Standalone code to reproduce the issue
```shell
When running `./configure`, select `y` when asked:
Do you wish to download a fresh release of clang? (Experimental) [y/N]: y
Clang will be downloaded and used to compile tensorflow.
Proceed with regular compilation after completing .configure:
bazel build //tensorflow/tools/pip_package:build_pip_package
### Relevant log output
```shell
The file `.tf_configure_bazelrc`:
build --action_env PYTHON_BIN_PATH="/opt/local/bin/python3"
build --action_env PYTHON_LIB_PATH="/opt/local/Library/Frameworks/Python.framework/Versions/3.10/li>
build --python_path="/opt/local/bin/python3"
build --config=download_clang
build:opt --copt=-Wno-sign-compare
build:opt --host_copt=-Wno-sign-compare
test --flaky_test_attempts=3
test --test_size_filters=small,medium
test:v1 --test_tag_filters=-benchmark-test,-no_oss,-gpu,-nomac,-no_mac,-oss_serial
test:v1 --build_tag_filters=-benchmark-test,-no_oss,-gpu,-nomac,-no_mac
test:v2 --test_tag_filters=-benchmark-test,-no_oss,-gpu,-nomac,-no_mac,-oss_serial,-v1only
test:v2 --build_tag_filters=-benchmark-test,-no_oss,-gpu,-nomac,-no_mac,-v1only
</details>
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (13 by maintainers)
I am running a compilation test using TF 2.11.0-rc2 codebase with the readded lines. Will keep you posted.