I am following This tutorial to build tensorflow from source because my GPU only has 3.0 CUDA compatibility (If you know where to find a build that would work for me let me know as well!). I am using Ubuntu 17.10, and Bazel 0.13.0. CUDA 9.0, CuDnn 1.7.3, nvidia-driver version 396. I am running bazel build --config=opt --config=cuda //tensorflow/tools --cxxopt="-D_GLIBCXX_USE_CXX11_ABI=0"
It builds most of the way then gives me a huge error saying it didn't find various CUDA libraries.