mirror of https://github.com/v2ray/v2ray-core
set cache to tmp dir
parent
4de72b4225
commit
b5433d2980
|
@ -30,6 +30,7 @@ def _go_command(ctx):
|
||||||
"GOARCH="+ctx.attr.arch,
|
"GOARCH="+ctx.attr.arch,
|
||||||
#"GOROOT_FINAL=/go",
|
#"GOROOT_FINAL=/go",
|
||||||
"GO111MODULE=on",
|
"GO111MODULE=on",
|
||||||
|
"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
|
||||||
|
|
Loading…
Reference in New Issue