From 51b4927d504619bd7793eb9946bfd1fdcfd53000 Mon Sep 17 00:00:00 2001 From: Antanas Masevicius Date: Fri, 21 Feb 2020 12:01:04 +0200 Subject: [PATCH] Do not use XGO to build ARM64 target --- ci/packages/package.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ci/packages/package.go b/ci/packages/package.go index 5a4481a009..55f1546347 100644 --- a/ci/packages/package.go +++ b/ci/packages/package.go @@ -96,10 +96,14 @@ func PackageLinuxDebianArm64() error { if err := goGet("github.com/debber/debber-v0.3/cmd/debber"); err != nil { return err } - if err := sh.RunV("bin/build_xgo", "linux/arm64"); err != nil { + envi := map[string]string{ + "GOOS": "linux", + "GOARCH": "arm64", + } + if err := sh.RunWith(envi, "bin/build"); err != nil { return err } - if err := packageDebian("build/myst/myst_linux_arm64", "arm64"); err != nil { + if err := packageDebian("build/myst/myst", "arm64"); err != nil { return err } return env.IfRelease(storage.UploadArtifacts)