File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 4747 dist : xenial
4848 go : 1.13.x
4949 script :
50+ - cat /proc/cpuinfo
51+ - free -h
5052 - go run build/ci.go install
5153 - go run build/ci.go test -coverage $TEST_PACKAGES
5254
Original file line number Diff line number Diff line change @@ -229,6 +229,9 @@ func doInstall(cmdline []string) {
229229
230230 if * arch == "" || * arch == runtime .GOARCH {
231231 goinstall := goTool ("install" , buildFlags (env )... )
232+ if runtime .GOARCH == "arm64" {
233+ goinstall .Args = append (goinstall .Args , "-p" , "1" )
234+ }
232235 goinstall .Args = append (goinstall .Args , "-v" )
233236 goinstall .Args = append (goinstall .Args , packages ... )
234237 build .MustRun (goinstall )
@@ -241,6 +244,7 @@ func doInstall(cmdline []string) {
241244 os .RemoveAll (filepath .Join (path , "pkg" , runtime .GOOS + "_arm" ))
242245 }
243246 }
247+
244248 // Seems we are cross compiling, work around forbidden GOBIN
245249 goinstall := goToolArch (* arch , * cc , "install" , buildFlags (env )... )
246250 goinstall .Args = append (goinstall .Args , "-v" )
You can’t perform that action at this time.
0 commit comments