Workaround for the TensorFlow pipeline.
Workaround for
until the proper fix is upstreamed to TensorFlow.
@@ -11,6 +11,11 @@ platforms:
android_ndk_repository(name = "androidndk")' >>WORKSPACE
- touch .bazelrc
- "./tensorflow/tools/ci_build/builds/configured CPU"
+ build_flags:
+ # TODO(laszlocsomor): remove "--cxxopt='--std=c++11'" after cr/200219133
+ # is merged to upstream TensorFlow, it's a temporary workaround for
+ # https://github.com/bazelbuild/bazel/issues/5365.
+ - "--cxxopt='--std=c++11'"
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"
- "//tensorflow/examples/android:tensorflow_demo"
@@ -25,6 +30,11 @@ platforms:
android_ndk_repository(name = "androidndk")' >>WORKSPACE
- touch .bazelrc
- "./tensorflow/tools/ci_build/builds/configured CPU"
+ build_flags:
+ # TODO(laszlocsomor): remove "--cxxopt='--std=c++11'" after cr/200219133
+ # is merged to upstream TensorFlow, it's a temporary workaround for
+ # https://github.com/bazelbuild/bazel/issues/5365.
+ - "--cxxopt='--std=c++11'"
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"
- "//tensorflow/examples/android:tensorflow_demo"
@@ -35,5 +45,9 @@ platforms:
- "--copt=-w"
- "--host_copt=-w"
- "--define=override_eigen_strong_inline=true"
+ # TODO(laszlocsomor): remove "--cxxopt='--std=c++11'" after cr/200219133
+ # is merged to upstream TensorFlow, it's a temporary workaround for
+ # https://github.com/bazelbuild/bazel/issues/5365.
+ - "--cxxopt='--std=c++11'"
build_targets:
- "//tensorflow/tools/pip_package:build_pip_package"
