aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Jan Wilken Dörrie <jdoerrie@users.noreply.github.com>2016-06-28 20:24:27 +0200
committerGravatar Vijay Vasudevan <vrv@google.com>2016-06-28 11:24:27 -0700
commit6ebb3be47881f63cafa60e257811f29191d4fc1a (patch)
tree0d7f1e33fa86c71ebe6a171a0a8c1e4e9b7a80c0 /tools
parent522e3c95bde1b55b8d03c1633292d540409d3dd6 (diff)
Remove explicit dependency on Python 2.7 from crosstool_wrapper_driver_is_not_gcc (#3077)
Many superclusters need to compile TensorFlow from source due to an outdated glibc version (see #110). In @rdipietro's excellent workaround post (https://github.com/tensorflow/tensorflow/issues/110#issuecomment-219790730) he mentions issues with the referenced Python version in this file. I have issues as well, but of a different nature. In my case the build script is unable to find `libpython2.7.so.1.0`, since only Python 3 is present on my machine. The issue originates from `crosstool_wrapper_driver_is_not_gcc` where the only Python 2.7 exclusive feature is the `print` statement. By `import`ing `print_function from __future__` the explicit dependency can be dropped and both versions of Python are supported.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions