set cache to tmp dir

pull/2141/head
Shelikhoo 2019-04-16 09:15:37 +08:00
parent e043c4d12e
commit 969d134681
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
1 changed files with 1 additions and 0 deletions

View File

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