Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Rust build compiles without full parallelization?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
NightMonkey
Guru
Guru


Joined: 21 Mar 2003
Posts: 357
Location: Philadelphia, PA

PostPosted: Thu Oct 17, 2024 8:41 pm    Post subject: Rust build compiles without full parallelization? Reply with quote

Howdy. I know many users experience slow dev-lang/rust compile times, and often just reach for rust-bin. Totally makes sense to do that. But, I'm curious why building rust it it apparently ignores MAKEOPTS job parameters, and drops to using only one core, or even less? Is this just an unavoidable feature of building Rust from source code that its build just cannot be fully parallelized? (I think GCC does shows similar behavior.)

Thanks for the considered and kind replies. :)
_________________
:D
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9798
Location: almost Mile High in the USA

PostPosted: Thu Oct 17, 2024 9:52 pm    Post subject: Reply with quote

I also occasionally see this behavior -- there's something in the build that's causing this. However most of the times I do see it using more than one core, and usually a lot of cores. You might see some strange behavior with distcc however.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum