Work around the bazel bug around /showIncludes logic on windows GPU builds.

PiperOrigin-RevId: 321310704
Change-Id: Ie5182dd706696f8c5f425cec02919ca998bb15e8
This commit is contained in:
Gunhan Gulsoy 2020-07-15 00:24:00 -07:00 committed by TensorFlower Gardener
parent fb1c37b0db
commit 03cb974777

View File

@ -187,6 +187,7 @@ def _get_win_cuda_defines(repository_ctx):
# the same tmp directory
escaped_cxx_include_directories = [
_get_nvcc_tmp_dir_for_windows(repository_ctx),
"C:\\\\botcode\\\\w",
]
for path in escaped_include_paths.split(";"):
if path: