diff options
author | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-07-31 21:34:54 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-07-31 21:34:54 +0800 |
commit | 46d4721519f80074795a0631f5bab875433a1cc6 (patch) | |
tree | d228d167fdd596dad1b4aa64f9a4f497f549fa64 | |
parent | 454382e81a106dcaf6ed8b044e65ce053ea21664 (diff) | |
download | dexon-46d4721519f80074795a0631f5bab875433a1cc6.tar dexon-46d4721519f80074795a0631f5bab875433a1cc6.tar.gz dexon-46d4721519f80074795a0631f5bab875433a1cc6.tar.bz2 dexon-46d4721519f80074795a0631f5bab875433a1cc6.tar.lz dexon-46d4721519f80074795a0631f5bab875433a1cc6.tar.xz dexon-46d4721519f80074795a0631f5bab875433a1cc6.tar.zst dexon-46d4721519f80074795a0631f5bab875433a1cc6.zip |
build: explicitly name all packages to be cross-compiled (#17288)
-rw-r--r-- | build/ci.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build/ci.go b/build/ci.go index b3a986dca..ff23e15fd 100644 --- a/build/ci.go +++ b/build/ci.go @@ -147,6 +147,9 @@ var ( debEthereum, } + // Packages to be cross-compiled by the xgo command + allCrossCompiledArchiveFiles = append(allToolsArchiveFiles, swarmArchiveFiles...) + // Distros for which packages are created. // Note: vivid is unsupported because there is no golang-1.6 package for it. // Note: wily is unsupported because it was officially deprecated on lanchpad. @@ -1009,7 +1012,7 @@ func doXgo(cmdline []string) { if *alltools { args = append(args, []string{"--dest", GOBIN}...) - for _, res := range allToolsArchiveFiles { + for _, res := range allCrossCompiledArchiveFiles { if strings.HasPrefix(res, GOBIN) { // Binary tool found, cross build it explicitly args = append(args, "./"+filepath.Join("cmd", filepath.Base(res))) |