Skip to content

[build] Pass number of CPUs as jobs parameter to make command for SONIC_MAKE_DEBS#7350

Merged
lguohan merged 1 commit intosonic-net:masterfrom
Metaswitch:jdt2/cpu_make
Apr 18, 2021
Merged

[build] Pass number of CPUs as jobs parameter to make command for SONIC_MAKE_DEBS#7350
lguohan merged 1 commit intosonic-net:masterfrom
Metaswitch:jdt2/cpu_make

Conversation

@joe-tricklebank-owens
Copy link
Contributor

Why I did it

There was an existing omission in the build jobs that SONIC_CONFIG_MAKE_JOBS wasn't being passed through to the underlying make command in SONIC_MAKE_DEBS, meaning we weren't fully utilizing all of the CPUs during builds.

How I did it

Added "-j$(SONIC_CONFIG_MAKE_JOBS)" to the make command

@jleveque
Copy link
Contributor

Thanks for the contribution, @joe-tricklebank-owens!

@lguohan lguohan merged commit 782b02d into sonic-net:master Apr 18, 2021
@joe-tricklebank-owens joe-tricklebank-owens deleted the jdt2/cpu_make branch April 19, 2021 09:42
raphaelt-nvidia pushed a commit to raphaelt-nvidia/sonic-buildimage that referenced this pull request May 23, 2021
…IC_MAKE_DEBS (sonic-net#7350)

There was an existing omission in the build jobs that SONIC_CONFIG_MAKE_JOBS wasn't being passed through to the underlying make command in SONIC_MAKE_DEBS, meaning we weren't fully utilizing all of the CPUs during builds.

Co-authored-by: Joe Tricklebank-Owens <Joseph.Tricklebank-Owens@metaswitch.com>
carl-nokia pushed a commit to carl-nokia/sonic-buildimage that referenced this pull request Aug 7, 2021
…IC_MAKE_DEBS (sonic-net#7350)

There was an existing omission in the build jobs that SONIC_CONFIG_MAKE_JOBS wasn't being passed through to the underlying make command in SONIC_MAKE_DEBS, meaning we weren't fully utilizing all of the CPUs during builds.

Co-authored-by: Joe Tricklebank-Owens <Joseph.Tricklebank-Owens@metaswitch.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants