Install jdk 8.0 and bazel
Run configuration
./configure
Creat pip while with bazel
skylake cpu 6800k
bazel build --copt=-mfma --copt=-mavx -c opt --config=cuda --copt=-mfpmath=both //tensorflow/tools/pip_package:build_pip_package
bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg/
TF1.0
bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
sudo pip install /tmp/tensorflow_pkg/tensorflow-1.0.1-py2-none-any.whl
Install with pip
sudo pip install /tmp/tensorflow_pkg/tensorflow-0.12.1-py2-none-any.whl