Skip to content

Commit 509ea3e

Browse files
committed
build/deb: use custom cache for PPA builder
1 parent 3135765 commit 509ea3e

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎build/deb/ethereum-swarm/deb.rules‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# Uncomment this to turn on verbose mode.
55
#export DH_VERBOSE=1
66

7+
# Launchpad rejects Go's access to $HOME/.cache, use custom folder
8+
export GOCACHE /tmp/go-build
9+
710
override_dh_auto_build:
811
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}}
912

‎build/deb/ethereum/deb.rules‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# Uncomment this to turn on verbose mode.
55
#export DH_VERBOSE=1
66

7+
# Launchpad rejects Go's access to $HOME/.cache, use custom folder
8+
export GOCACHE /tmp/go-build
9+
710
override_dh_auto_build:
811
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}}
912

0 commit comments

Comments
 (0)