From 11dddd9864b97ed381eac59eeb788baff2f20624 Mon Sep 17 00:00:00 2001 From: Kslr Date: Fri, 17 May 2019 17:35:34 +0800 Subject: [PATCH] fly e043c4d, set cache to tmp dir --- infra/bazel/build.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/bazel/build.bzl b/infra/bazel/build.bzl index ceb65fd8..968d5935 100644 --- a/infra/bazel/build.bzl +++ b/infra/bazel/build.bzl @@ -29,7 +29,7 @@ def _go_command(ctx): "GOOS="+ctx.attr.os, "GOARCH="+ctx.attr.arch, "GOROOT_FINAL=/go", - "GOCACHE=@D", + "GOCACHE=${TMPDIR}/gocache" ] if ctx.attr.mips: # https://github.com/golang/go/issues/27260