Skip to content

Commit 460818c

Browse files
committed
Disable local cache for windows.
1 parent de3f7bf commit 460818c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1689,7 +1689,9 @@ def create_docker_build_script(script_name, container_install_dir, container_ci_
16891689
if FLAGS.container_memory:
16901690
baseargs += ["--memory", FLAGS.container_memory]
16911691

1692-
baseargs += ["--cache-from={}".format(k) for k in cachefrommap]
1692+
if target_platform() != "windows":
1693+
baseargs += ["--cache-from={}".format(k) for k in cachefrommap]
1694+
16931695
baseargs += ["."]
16941696

16951697
docker_script.cwd(THIS_SCRIPT_DIR)

0 commit comments

Comments
 (0)