diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-25 11:33:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-25 11:33:33 +0100 |
commit | d2e43b44e8855b7ee7b79782358dee45099efccc (patch) | |
tree | b6dd4c6cf2a46f31df970692a4aed40056dff35e /eclass/go-module.eclass | |
parent | 1a256280f70812d1ae23f0ce2a2569291b6609da (diff) |
gentoo auto-resync : 25:09:2022 - 11:33:33
Diffstat (limited to 'eclass/go-module.eclass')
-rw-r--r-- | eclass/go-module.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass index 681a5bca5561..8047d498b08d 100644 --- a/eclass/go-module.eclass +++ b/eclass/go-module.eclass @@ -26,7 +26,9 @@ # If the software has a directory named vendor in its # top level directory, the only thing you need to do is inherit the # eclass. If it doesn't, you need to also create a dependency tarball and -# host it somewhere, for example in your dev space. +# host it somewhere, for example in your dev space. It's recommended that +# a format supporting parallel decompression is used and developers should +# use higher levels of compression like '-9' for xz. # # Here is an example of how to create a dependency tarball. # The base directory in the GOMODCACHE setting must be go-mod in order @@ -36,7 +38,7 @@ # # $ cd /path/to/project # $ GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw -# $ tar -acf project-1.0-deps.tar.xz go-mod +# $ XZ_OPT='-T0 -9' tar -acf project-1.0-deps.tar.xz go-mod # # @CODE # |