commit | a9a1d5a673ad085777e6a8b14cbe39a427493e51 | [log] [tgz] |
---|---|---|
author | Anna R <annarev@google.com> | Fri Sep 14 12:44:31 2018 -0700 |
committer | TensorFlower Gardener <gardener@tensorflow.org> | Fri Sep 14 12:50:07 2018 -0700 |
tree | f4a7cdb32238367a9036074aeb722f1a7a105bce | |
parent | 9da83f0701bcece95372ee8da09f886dfd2fa2a1 [diff] [blame] |
Add --config=v2 option to the .bazelrc file. PiperOrigin-RevId: 213027176
diff --git a/configure.py b/configure.py index 52a5137..e9d162f 100644 --- a/configure.py +++ b/configure.py
@@ -1572,6 +1572,9 @@ if is_windows(): set_windows_build_flags(environ_cp) + # Add a config option to build TensorFlow 2.0 API. + write_to_bazelrc('build:v2 --define=tf_api_version=2') + if get_var( environ_cp, 'TF_SET_ANDROID_WORKSPACE', 'android workspace', False,