Re: Any interest in lang/rust-bin?
- In reply to: Janky Jay, III: "Re: Any interest in lang/rust-bin?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 Jun 2025 02:45:03 UTC
On Sat, 7 Jun 2025 16:27:11 -0600 "Janky Jay, III" <jankyj@unfs.us> wrote: > On 6/7/25 12:48PM, Sergei Vyshenski wrote: > > On 7 Jun 25 Sat 21:03, Gleb Popov wrote: > >> What about people that contribute to ports and run poudriere testport > >> on their little port and then having to wait an hour for rust to > >> compile? > > > > This fetches precompiled packages for dependencies (like rust) if > > these packages are available at the repository: > > > > poudriere testport -j jailname -v -p local -b latest -c -i -o > > category/port > > > > Key option here is "-b". > > > Of course, this is only true if the repo package version matches the > port version. If port version is newer, you're still building the > dependencies. Not sure it's technically possible or not (especially pkg side and build cluster side), but *splitting out documents from lang/rust and depend on it if option DOCS is enabled (currently default option), assuming the files to be just extracted or buildable without rust compiler, *splitting out source files from lang/rust and depend on it if option SOURCES is enabled (currently default option), assuming the files to be just extracted or buildable without rust compiler, *FLAVORize lang/rust with @default (build as currently) and @bin and @bin to be NO_BUILD and fetch official pkg for slimmed down lang/rust, *allow @default being newer than @bin, *if not yet exists, any way to indicate FAVOR part should be ignored on tracking dependencies by pkg and poudriere, (here, "poudriere" stands for any builder possible) *implement hook or something on build cluster to monitor lang/rust@default finished building on all supported archs and automatically commit changes in version for @bin flavor and re-generate INDEX to be fetched are what are wanted? > I've always hoped for an option in Poudriere that would allow the option > to build *ONLY* ports with non-default OPTIONS configured and simply > fetch whatever the latest repo package versions are for everything else. > That would probably save me about 20-30 build hours per month, which > would certainly be nice. > > Regards, > Janky Jay, III -- Tomoaki AOKI <junchoon@dec.sakura.ne.jp>