set cache to tmp dir

This commit is contained in:
Shelikhoo
2020-06-01 07:28:23 -05:00
committed by Nicholas Wang
parent 4de72b4225
commit b5433d2980
+1
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