Skip to content

Commit

Permalink
build/deb: use custom cache for PPA builder
Browse files Browse the repository at this point in the history
  • Loading branch information
karalabe committed Feb 28, 2019
1 parent 3135765 commit 509ea3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/deb/ethereum-swarm/deb.rules
Expand Up @@ -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}}

Expand Down
3 changes: 3 additions & 0 deletions build/deb/ethereum/deb.rules
Expand Up @@ -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}}

Expand Down

0 comments on commit 509ea3e

Please sign in to comment.