echo 'expect "Do you wish to build TensorFlow with MKL support? \[y/N\] "' >> configure.exp
echo 'send "N\r"' >> configure.exp
echo 'expect "Please specify optimization flags to use during compilation when bazel option \"--config=opt\" is specified \[Default is -march=native\]: "' >> configure.exp
echo 'send " -march=native\r"' >> configure.exp
echo 'expect "Do you wish to use jemalloc as the malloc implementation? \[Y/n\] "' >> configure.exp
echo 'send "Y\r"' >> configure.exp
echo 'expect "Do you wish to build TensorFlow with Google Cloud Platform support? \[y/N\] "' >> configure.exp
echo 'send "N\r"' >> configure.exp
echo 'expect "Do you wish to build TensorFlow with Hadoop File System support? \[y/N\] "' >> configure.exp
echo 'send "N\r"' >> configure.exp
echo 'expect "Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? \[y/N\] "' >> configure.exp
echo 'send "N\r"' >> configure.exp
echo 'expect "Do you wish to build TensorFlow with VERBS support? \[y/N\] "' >> configure.exp
echo 'send "N\r"' >> configure.exp
echo 'expect "Do you wish to build TensorFlow with OpenCL support? \[y/N\] "' >> configure.exp
echo 'send "N\r"' >> configure.exp
echo 'expect "Do you wish to build TensorFlow with CUDA support? \[y/N\] "' >> configure.exp