diff options
author | 2022-02-18 16:52:23 +0000 | |
---|---|---|
committer | 2022-02-18 16:52:23 +0000 | |
commit | 281ad89a65f9fad9ad00f616b53c93ed2f4af419 (patch) | |
tree | b00b1c75e282274db01d79e9e172a16ac11bf4fc | |
parent | 2022-02-18 16:22:08 UTC (diff) | |
parent | go-module.eclass: set a default for GOMODCACHE (diff) | |
download | gentoo-281ad89a65f9fad9ad00f616b53c93ed2f4af419.tar.gz gentoo-281ad89a65f9fad9ad00f616b53c93ed2f4af419.tar.bz2 gentoo-281ad89a65f9fad9ad00f616b53c93ed2f4af419.zip |
Merge updates from master
-rw-r--r-- | eclass/go-module.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index 00f5169ea6e2..53f4a0269421 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -82,6 +82,12 @@ export GO111MODULE=on # See "go help environment" for information on this setting export GOCACHE="${T}/go-build" +# Set the default for the go module cache +# This could potentially be shared so that all go packages put the +# modules they download in a shared location. +# See "go help environment" for information on this setting +export GOMODCACHE="${T}/go-mod" + # The following go flags should be used for all builds. # -modcacherw makes the build cache read/write # -v prints the names of packages as they are compiled |