Skip to content

Commit

Permalink
Update tf_configure.bzl
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeyoo authored Feb 17, 2020
1 parent cb85a05 commit 908e27b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion third_party/tf/tf_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def _read_dir(repository_ctx, src_dir):
print(src_dir)
src_dir = src_dir.replace("/", "\\")
print(src_dir)
src_dir = "C:\\Python36\\lib\\site-packages\\tensorflow_core\\include"
src_dir = "/c/Python36/lib/site-packages/tensorflow_core/include"
find_result = _execute(
repository_ctx,
["cmd.exe", "/c", "dir", src_dir, "/b", "/s", "/a-d"],
Expand All @@ -78,6 +78,7 @@ def _read_dir(repository_ctx, src_dir):
# src_files will be used in genrule.outs where the paths must
# use forward slashes.
result = find_result.stdout.replace("\\", "/")
print(result)
else:
find_result = _execute(
repository_ctx,
Expand Down

0 comments on commit 908e27b

Please sign in to comment.