-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crossbuild is slow #176
Comments
The later part isn't 100% accurate as it's only true for builds with Lines 152 to 163 in 2e745da
When I think there are 2 things that can be improved:
|
Fixed with #208 |
Currently promu spins up a new docker container for each crossbuild target, with the respective native toolchain installed.
promu/cmd/crossbuild.go
Lines 198 to 203 in 2e745da
Since Go 1.5 this isn't necessary any more: https://dave.cheney.net/2015/08/22/cross-compilation-with-go-1-5
Using this "new" feature speeds up the crossbuild process significantly. For the PromQL language server the speed up is more than 10x.
Since crossbuilding is the slowest part of the Prometheus CI, it would make sense to update promu to use the crossbuild capabilities of newer go releases.
The text was updated successfully, but these errors were encountered: