class tensorflow(Wig):
	git_uri = 'https://github.com/tensorflow/tensorflow'
	tarball_uri = 'https://github.com/tensorflow/tensorflow/archive/v{RELEASE_VERSION}.tar.gz'
	last_release_version = '1.0.1'
	dependencies = ['bazel', 'pip', 'numpy']

@@ -236,8 +236,286 @@
 numpy'%5D%0A
+%09%0A%09def setup(self):%0A%09%09self.before_configure += %5BS.export('PYTHON_BIN_PATH', '$(which python)'),%0A%09%09%09S.export('CC_OPT_FLAGS', '-march=default'),%0A%09%09%09S.export('TF_NEED_JEMALLOC', 0),%0A%09%09%09S.export('TF_NEED_GCP', 0),%0A%09%09%09S.export('TF_NEED_HDFS', 0),%0A%09%09%09S.export('TF_ENABLE_XLA', 1)%0A%09%09%5D%0A

Update tensorflow.py