Skip to content

Commit

Permalink
go-module.eclass: set a reasonable default for the go build cache
Browse files Browse the repository at this point in the history
Signed-off-by: William Hubbs <[email protected]>
  • Loading branch information
williamh committed Jan 6, 2020
1 parent 15d554a commit 7524c55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eclass/go-module.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ BDEPEND=">=dev-lang/go-1.12"
# this will become the default in the future.
export GO111MODULE=on

# Set the default for the go build cache
# See "go help environment" for information on this setting
export GOCACHE="${T}/go-build"

# The following go flags should be used for all builds.
# -mod=vendor stopps downloading of dependencies from the internet.
# -v prints the names of packages as they are compiled
Expand Down

0 comments on commit 7524c55

Please sign in to comment.