Просмотр исходного кода

fly e043c4d, set cache to tmp dir

Kslr 6 лет назад
Родитель
Сommit
11dddd9864
1 измененных файлов с 1 добавлено и 1 удалено
  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,
     "GOOS="+ctx.attr.os,
     "GOARCH="+ctx.attr.arch,
     "GOARCH="+ctx.attr.arch,
     "GOROOT_FINAL=/go",
     "GOROOT_FINAL=/go",
-    "GOCACHE=@D",
+    "GOCACHE=${TMPDIR}/gocache"
   ]
   ]
   
   
   if ctx.attr.mips: # https://github.com/golang/go/issues/27260
   if ctx.attr.mips: # https://github.com/golang/go/issues/27260