Set TF_IGNORE_MAX_BAZEL_VERSION=1
* Set TF_IGNORE_MAX_BAZEL_VERSION=1
This avoid breaking TensorFlow pipeline on Bazel CI every time when we have a new release
* Do it our way
* Use str instead of bool
* Use 1
---
platforms:
ubuntu1804:
+ environment:
+ TF_IGNORE_MAX_BAZEL_VERSION: 1
shell_commands:
- |-
echo '
@@ -9,7 +11,7 @@ platforms:
echo '
android_sdk_repository(name = "androidsdk")
android_ndk_repository(name = "androidndk")' >>WORKSPACE
- - "yes '' | ./configure"
+ - yes '' | ./configure
build_flags:
- "--config=opt"
# Suppress warning messages from all actions
@@ -18,6 +20,8 @@ platforms:
- "//tensorflow/tools/pip_package:build_pip_package"
# - "//tensorflow/examples/android:tensorflow_demo"
macos:
+ environment:
+ TF_IGNORE_MAX_BAZEL_VERSION: 1
shell_commands:
- |-
echo '
@@ -30,7 +34,7 @@ platforms:
- pip install -U --user pip six numpy wheel setuptools mock
- pip install -U --user keras_applications==1.0.6 --no-deps
- pip install -U --user keras_preprocessing==1.0.5 --no-deps
- - "yes '' | python3 ./configure.py"
+ - yes '' | python3 ./configure.py
build_flags:
- "--config=opt"
# Suppress warning messages from all actions
@@ -38,8 +42,10 @@ platforms:
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"
windows:
+ environment:
+ TF_IGNORE_MAX_BAZEL_VERSION: 1
batch_commands:
- - "echo.| python ./configure.py"
+ - echo.| python ./configure.py
build_flags:
- "--config=opt"
# Suppress warning messages from all actions
