set cache to tmp dir

pull/2531/head
Shelikhoo 2019-04-16 09:15:37 +08:00 committed by Nicholas Wang
parent 4de72b4225
commit b5433d2980
No known key found for this signature in database
GPG Key ID: F20CA399C9BD9100
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