Tensorflow building configuration

Options

As I know Upsquared doesn't support AVX. It may be necessary to compile tensorflow manually before use it. Otherwise we will get an error "Illegal instruction (core dumped)" after importing tensorflow library. What is the proper configuration of tensorflow building? In my project I'm going to use Python 2.7 on UP Squared with Intel Atom E3950.

Please specify the location of python. [Default is /home/MYUSER/virtualenv/tensorflow/bin/python]: ?
Please input the desired Python library path to use. Default is [/home/MYUSER/virtualenv/tensorflow/lib/python2.7/site-packages]: ?
Do you wish to build TensorFlow with jemalloc as malloc support? [Y/n]: ?
Do you wish to build TensorFlow with Google Cloud Platform support? [Y/n]: ?
Do you wish to build TensorFlow with Hadoop File System support? [Y/n]: ?
Do you wish to build TensorFlow with Amazon AWS Platform support? [Y/n]: ?
Do you wish to build TensorFlow with Apache Kafka Platform support? [Y/n]: ?
Do you wish to build TensorFlow with XLA JIT support? [y/N]: ?
Do you wish to build TensorFlow with GDR support? [y/N]: ?
Do you wish to build TensorFlow with VERBS support? [y/N]: ?
Do you wish to build TensorFlow with OpenCL SYCL support? [y/N]: ?
Do you wish to build TensorFlow with CUDA support? [y/N]: ?
Do you wish to download a fresh release of clang? (Experimental) [y/N]: ?
Do you wish to build TensorFlow with MPI support? [y/N]: ?
Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]: ?
Would you like to interactively configure ./WORKSPACE for Android builds? [y/N]: ?

Does anybody know best configuration for UP Squared? The building process is more less about 6 hours so it will be better to avoid random configuration until successful build.