[Pkg-golang-commits] [golang] 03/04: d/rules: Set GOCACHE to "off" during build to avoid shipping cache files.

Michael Hudson-Doyle mwhudson-guest at moszumanska.debian.org
Wed Jan 31 01:49:46 UTC 2018


This is an automated email from the git hooks/post-receive script.

mwhudson-guest pushed a commit to branch golang-1.10
in repository golang.

commit f8a8b96c5d1a12df3dda8a9678f8fb510168ff42
Author: Michael Hudson-Doyle <michael.hudson at canonical.com>
Date:   Wed Jan 31 14:44:34 2018 +1300

    d/rules: Set GOCACHE to "off" during build to avoid shipping cache files.
---
 debian/changelog | 1 +
 debian/rules     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3a397a8..be06939 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ golang-1.10 (1.10~rc1-1) UNRELEASED; urgency=medium
     Add to fix test failure in chroot.
   * d/patches/0003-cmd-vendor-github.com-google-pprof-cherry-pick-fix-t.patch:
     Add to fix test failure when $HOME is not writable.
+  * d/rules: Set GOCACHE to "off" during build to avoid shipping cache files.
 
  -- Michael Hudson-Doyle <mwhudson at debian.org>  Fri, 08 Dec 2017 14:35:16 +1300
 
diff --git a/debian/rules b/debian/rules
index 1f31c97..20fa83b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ export GOVER := $(shell perl -w -mDpkg::Version -e 'Dpkg::Version->new(`dpkg-par
 
 export GOROOT := $(CURDIR)
 export GOROOT_FINAL := /usr/lib/go-$(GOVER)
+export GOCACHE := off
 
 DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null)
 RUN_TESTS := true

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-golang/golang.git



More information about the pkg-golang-commits mailing list