Bug 19543 - BuildManager (bm): Add option to limit cpus for parallel build
Summary: BuildManager (bm): Add option to limit cpus for parallel build
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords: Junior_job
Depends on:
Blocks:
 
Reported: 2016-10-05 21:21 CEST by Rémi Verschelde
Modified: 2016-10-05 21:22 CEST (History)
0 users

See Also:
Source RPM: bm-3.2-1.mga6
CVE:
Status comment:


Attachments

Description Rémi Verschelde 2016-10-05 21:21:45 CEST
Quite often I found my laptop lacking CPU power and memory when building a package in the background with -j$max_cpus and doing other stuff.

Having an option in bm to limit the number of cpus that can be used for parallel build would be nice.

It can already be achieved via

  bm --define '_smp_ncpus_max N'

where N is the wanted number.

But the macro's name is so hard to remember that a shorthand like `--cpus N` would be very welcome.
Rémi Verschelde 2016-10-05 21:22:04 CEST

Keywords: (none) => Junior_job


Note You need to log in before you can comment on or make changes to this bug.