View previous topic :: View next topic |
Author |
Message |
RIA77 Guru
Joined: 24 Feb 2016 Posts: 391
|
Posted: Sat Mar 27, 2021 3:38 pm Post subject: [tip] Shorter time to emerge Rust (use rust-bin) |
|
|
It may be needed to switch from source-based dev-lang/rust to binary-based dev-lang/rust-bin, for example to decrease build time.
emerge --ask --unmerge dev-lang/rust
emerge --ask --oneshot virtual/rust dev-lang/rust-bin
emerge --ask --update --deep @world
https://wiki.gentoo.org/wiki/User:Vazhnov/Knowledge_Base:replace_rust_with_rust-bin
Added '(use rust-bin)' into the title to make it clear that this isn't about compile time improvements. —Chiitoo |
|
Back to top |
|
|
xineg Tux's lil' helper
Joined: 14 Mar 2006 Posts: 115 Location: Australia.
|
Posted: Sat Mar 27, 2021 9:28 pm Post subject: |
|
|
Heh, I have never made a build of rust, I hate it with a passion, not just for it's build time either. Was thinking binary packages that are actually in portage isn't really a tip or a trick, however I guess you may have bought it to many peoples attention that have no idea that packages like Rust, OpenOffice, Firefox etc have binary packages, maybe you could do a list of them all? |
|
Back to top |
|
|
timeBandit Bodhisattva
Joined: 31 Dec 2004 Posts: 2719 Location: here, there or in transit
|
Posted: Mon Mar 29, 2021 1:19 pm Post subject: |
|
|
vortix wrote: | I guess you may have bought it to many peoples attention that have no idea that packages like Rust, OpenOffice, Firefox etc have binary packages, maybe you could do a list of them all? |
Code: | emerge -a app-portage/eix
eix -c -- -bin$ |
_________________ Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others. |
|
Back to top |
|
|
cboldt Veteran
Joined: 24 Aug 2005 Posts: 1046
|
Posted: Tue Mar 30, 2021 1:57 pm Post subject: |
|
|
Heh .. I did the eix command based on the OP and was suprized at how many -bin packages are "in the tree."
Code: | EIX_LIMIT=0 eix -# *-bin |
89 lines result ... |
|
Back to top |
|
|
pa4wdh l33t
Joined: 16 Dec 2005 Posts: 891
|
Posted: Tue Mar 30, 2021 2:52 pm Post subject: |
|
|
I actually hoped for a tip to actually decrease the build time of rust
You can also list all -bin packages with emerge:
The % tells it you're using a regex. _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3752 Location: Rasi, Finland
|
Posted: Tue Mar 30, 2021 4:43 pm Post subject: |
|
|
Me too!
Are we off-topic yet? _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 755 Location: /home
|
Posted: Wed Mar 31, 2021 5:54 am Post subject: |
|
|
cboldt wrote: | Heh .. I did the eix command based on the OP and was suprized at how many -bin packages are "in the tree."
89 lines result ... |
There are binary-only packages in tree without the -bin suffix. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3752 Location: Rasi, Finland
|
Posted: Wed Mar 31, 2021 10:07 am Post subject: |
|
|
Juippisi wrote: | There are binary-only packages in tree without the -bin suffix. | I believe most of the electron apps are without that suffix. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
cboldt Veteran
Joined: 24 Aug 2005 Posts: 1046
|
Posted: Wed Mar 31, 2021 12:25 pm Post subject: |
|
|
Juippisi wrote: | There are binary-only packages in tree without the -bin suffix. |
Yes. Obviously searching on "-bin" in the package name won't find those. nvidia drivers used to be binary only, likely still are, and I assume many games are delivered "only binary." Saved local compile time is the only choice for all of those!! |
|
Back to top |
|
|
|