fly e043c4d, set cache to tmp dir

pull/1712/head^2
Kslr 2019-05-17 17:35:34 +08:00
parent 2544c2f8f5
commit 11dddd9864
1 changed files with 1 additions and 1 deletions

View File

@ -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