Browse Source

fly e043c4d, set cache to tmp dir

Kslr 6 years ago
parent
commit
11dddd9864
1 changed files with 1 additions and 1 deletions
  1. 1 1
      infra/bazel/build.bzl

+ 1 - 1
infra/bazel/build.bzl

@@ -29,7 +29,7 @@ def _go_command(ctx):
     "GOOS="+ctx.attr.os,
     "GOARCH="+ctx.attr.arch,
     "GOROOT_FINAL=/go",
-    "GOCACHE=@D",
+    "GOCACHE=${TMPDIR}/gocache"
   ]
   
   if ctx.attr.mips: # https://github.com/golang/go/issues/27260