Skip to content

add nproc to rust builds - #3968

Merged
joshrwolf merged 1 commit into
wolfi-dev:mainfrom
joshrwolf:rust-jobs
Jul 27, 2023
Merged

add nproc to rust builds#3968
joshrwolf merged 1 commit into
wolfi-dev:mainfrom
joshrwolf:rust-jobs

Conversation

@joshrwolf

Copy link
Copy Markdown
Member

obligatory make rust go brrrrr.

it looks like JOBS isn't set, so we were defaulting to 2. the build isn't insanely multithreaded, but it's still a significant boost. on my test machine (43x172), this resulted in:

os on  rust-jobs [$!?] took 50m51s

vs

os on  rust-jobs [$!?] took 20m22s

@joshrwolf
joshrwolf requested a review from a team as a code owner July 27, 2023 14:20
@joshrwolf
joshrwolf requested review from deitch and imjasonh July 27, 2023 14:20
@joshrwolf
joshrwolf force-pushed the rust-jobs branch 2 times, most recently from 07040fb to 3b8b40f Compare July 27, 2023 14:29
Signed-off-by: Josh Wolf <josh@wolfs.io>
@joshrwolf joshrwolf changed the title add nproc to rust builds, switch to git-checkout add nproc to rust builds Jul 27, 2023
@joshrwolf
joshrwolf enabled auto-merge July 27, 2023 15:40
@joshrwolf
joshrwolf added this pull request to the merge queue Jul 27, 2023
Merged via the queue into wolfi-dev:main with commit 420d45a Jul 27, 2023
@joshrwolf
joshrwolf deleted the rust-jobs branch July 27, 2023 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants