techknowlogick / xgo

Go CGO cross compiler
MIT License
478 stars 79 forks source link

Bootstrap arm-5, 6 and 7 in bootstrap-pure not build.sh #192

Closed zeripath closed 1 year ago

zeripath commented 1 year ago

Bootstrapping of arm-5, -6 and -7 currently happens in build.sh because Go will install std to /usr/local/go/pkg/linux_arm. This PR simply bootstraps these in bootstrap and moves them to /usr/local/go/pkg/linux_arm-x as appropriate with build.sh creating a symbolic link as needed.

This should slightly speed up arm builds using xgo.

Signed-off-by: Andrew Thornton art27@cantab.net