projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15d554a
)
go-module.eclass: set a reasonable default for the go build cache
author
William Hubbs
<williamh@gentoo.org>
Mon, 6 Jan 2020 17:07:34 +0000
(11:07 -0600)
committer
William Hubbs
<williamh@gentoo.org>
Mon, 6 Jan 2020 17:08:39 +0000
(11:08 -0600)
Signed-off-by: William Hubbs <williamh@gentoo.org>
eclass/go-module.eclass
patch
|
blob
|
history
diff --git
a/eclass/go-module.eclass
b/eclass/go-module.eclass
index 9c11959fdf84e66f112cc0e16497b100a0664687..89b32ed1201ba5e517e63f9fd5d568f399ee5d7c 100644
(file)
--- a/
eclass/go-module.eclass
+++ b/
eclass/go-module.eclass
@@
-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