title: Tensorflow bazel build error: crt/device_runtime.h: No such file or directory
body: <p>I tried to build tensorflow from source using bazel, howerver it always failed and showed the same error as following no matter what version I used:</p>
  
  <p><code>/usr/lib/gcc/x86_64-linux-gnu/4.9/include/stddef.h:213:32: fatal error: crt/device_runtime.h: No such file or directory</code>.</p>
  
  <p>gcc version: 4.9 / 5.4</p>
  
  <p>OS: Ubuntu 16.04.3</p>
  
  <p>tensorflow version: r1.0 - r1.3 (with and without GPU support)</p>
  
  <p>CUDA: 8.0.61</p>
  
  <p>CUDNN: 5.1</p>
  
  <p>LD_LIBRARY_PATH: <code>/usr/local/lib:/usr/lib/nvidia-375:/usr/local/cuda-8.0/lib:/usr/local/cuda-8.0/lib64</code></p>
  
  <p>I tried to locate this <code>device_runtime.h</code> file and I found it in the path</p>
  
  <p><code>/usr/local/cuda-8.0/targets/x86_64-linux/include</code> but when I put export the path to <code>$CPATH</code> or <code>CPLUS_INCLUDE_PATH</code>, nothing changed. I would like to know what is the solution to this issue. Thanks.</p>