-
Notifications
You must be signed in to change notification settings - Fork 132
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
Use features to improve build times and reach more users? #442
Comments
why not just used the precompiled binaries? |
Sounds good, but there's few win/linux package managers (conda being a notable exception).
|
wait, i mean that the releases page on github has precompiled binaries available for download for mac, windows and linux. so they can download from there. no need to run any cargo command or use some package manager. i even have precompiled arm linux available. |
Oh they got that covered. All github release downloads blocked. Sigh, that's just what companies do... (Edit: This is sounding like I'm in a very special situation, but I've been working in these kind of environments for 20 years so I think it's not that uncommon for some industries) |
breaking it up with rust features is just not going to work well for cargo make as much of the code is also in scripts. usually you install a build tool only once and upgrade only if you must. so its a one time bump. another option is to install once and maybe upload the binary into your company binary artifact repository (artifactory, nexus so on....) |
I've just found a tool that maybe would help with it: https://crates.io/crates/cargo-quickinstall (I haven't tried it yet) Or we can draw an inspiration from it and create a super simple installation crate - e.g. |
@MartinKavik thanks for the idea. i was actually reading about it few days ago and found it interesting. at the moment, i'm not sure how mature it is, but if you want to investigate it and maybe start a discussion that will lead to a PR it would greatly help :) |
I've created the issue in When I try to use it -
So it seems to be at least safe to use already thanks to the fallback to standard |
The build pipeline builds a single package per hour. Most of the time, there's only one or two packages in the build queue, so it should be built soon. I've not been paying attention to quickinstall recently, so it looks like I've got some broken packages floating around in my build queue (I should really automate the process of cleaning those up). If anyone can think of a design for triggering a build on-demand and waiting for it to finish building, please open an issue, and I will put it at the top of my backlog (https://github.com/alsuren/cargo-quickinstall/projects/1). |
I'm pretty sure this project is available via |
Maybe it’s just me but the more deps involved, the greater the security
risk of a supply chain attack. Cargo Quickinstall does seem like a good way
to cut the build times though.
…On Sun, 31 Jul 2022 at 01:52, Dylan Anthony ***@***.***> wrote:
I'm pretty sure this project is available via cargo-quickinstall
now—though I've been using cargo-binstall
<https://github.com/ryankurte/cargo-binstall> to get at it. I'm not sure
about resolution priority, but you could support the cargo-binstall
format directly to not have to wait on cargo-quickinstall's build
pipeline.
—
Reply to this email directly, view it on GitHub
<#442 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGEJCAQRHRZJL33KD5RQRDVWXE45ANCNFSM4PKGPHYQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
On a fairly fast macbook pro (4core/8threads) it compiles in 3m 25s. For enterprise hardware with many levels of virus checkers, it takes longer. I wouldn't like to comment on how long it might take on a raspberry pi.
Is everything in cargo-make essential? Do all users use duckscript for example? I'd love to use cargo-make but currently I stand no chance of selling it to the team due to how much it pulls in.
If there were options to not include all the batteries, there's many more projects that would consider using cargo-make.
The text was updated successfully, but these errors were encountered: