Merge lp:~widelands-dev/widelands/use_more_processors into lp:widelands
Proposed by
kaputtnik
Status: | Merged |
---|---|
Merged at revision: | 8905 |
Proposed branch: | lp:~widelands-dev/widelands/use_more_processors |
Merge into: | lp:widelands |
Diff against target: |
12 lines (+2/-1) 1 file modified
compile.sh (+2/-1) |
To merge this branch: | bzr merge lp:~widelands-dev/widelands/use_more_processors |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
GunChleoc | Approve | ||
Review via email: mp+358020@code.launchpad.net |
Commit message
Use more processing units when using the compile script. Defaults to: max. processors -1
Description of the change
Reason for this change: https:/
The command nproc is part of gnu-coreutils: https:/
If only one processing unit is found, the command 'nproc --ignore=1' returns 1.
At least on linux the switch '-j ' is known to all compilers (gnu, clang and ninja). I have tested gnu and clang.
Maybe has to be tested on MacOs, if the compile script is used over there.
To post a comment you must log in.
Continuous integration builds have changed state:
Travis build 4179. State: passed. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 448416745. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ use_more_ processors- 3977.
Appveyor build 3977. State: success. Details: https:/