diff options
author | Dan Willemsen <dwillemsen@google.com> | 2018-02-28 02:38:50 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-02-28 02:38:50 +0000 |
commit | 8cd85b6cf5761f5e29d9ef2e747f65beb8acdc52 (patch) | |
tree | 88c331547004491e2f502a04bbb4b6eb12e21331 | |
parent | 441d2c91c71fab78cc08e848779e36d1f4f6c644 (diff) | |
parent | 54b56f22594bd8611622dd73a711634bacf16413 (diff) | |
download | build-tools-8cd85b6cf5761f5e29d9ef2e747f65beb8acdc52.tar.gz |
Turn off GOCACHE when building go
am: 54b56f2259
Change-Id: I61bd3ba5bf6f1f55a833626d6a6753acf2fae387
-rwxr-xr-x | build-prebuilts.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build-prebuilts.sh b/build-prebuilts.sh index 7dbf590a..bd57af2d 100755 --- a/build-prebuilts.sh +++ b/build-prebuilts.sh @@ -163,6 +163,7 @@ if [ -n ${build_go} ]; then export GOROOT_BOOTSTRAP=${TOP}/prebuilts/go/${OS}-x86 export GOROOT_FINAL=./prebuilts/go/${OS}-x86 export GO_TEST_TIMEOUT_SCALE=100 + export GOCACHE=off ./make.bash rm -rf ../pkg/bootstrap GOROOT=$(pwd)/.. ../bin/go install -race std |