From 509ea3ef9b5317329f829c5cabe620c0e5f457e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Thu, 28 Feb 2019 16:33:59 +0200 Subject: [PATCH] build/deb: use custom cache for PPA builder --- build/deb/ethereum-swarm/deb.rules | 3 +++ build/deb/ethereum/deb.rules | 3 +++ 2 files changed, 6 insertions(+) diff --git a/build/deb/ethereum-swarm/deb.rules b/build/deb/ethereum-swarm/deb.rules index 98e2ab030..ad7e275ff 100644 --- a/build/deb/ethereum-swarm/deb.rules +++ b/build/deb/ethereum-swarm/deb.rules @@ -4,6 +4,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +# Launchpad rejects Go's access to $HOME/.cache, use custom folder +export GOCACHE /tmp/go-build + override_dh_auto_build: build/env.sh /usr/lib/go-1.11/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}} diff --git a/build/deb/ethereum/deb.rules b/build/deb/ethereum/deb.rules index 98e2ab030..ad7e275ff 100644 --- a/build/deb/ethereum/deb.rules +++ b/build/deb/ethereum/deb.rules @@ -4,6 +4,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +# Launchpad rejects Go's access to $HOME/.cache, use custom folder +export GOCACHE /tmp/go-build + override_dh_auto_build: build/env.sh /usr/lib/go-1.11/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}