Support auto-configuration of build-max-jobs
"build-max-jobs" and the "-j" option can now be set to "auto" to use the number of CPUs in the system. (Unlike build-cores, it doesn't use 0 to imply auto-configuration, because a) magic values are a bad idea in general; b) 0 is a legitimate value used to disable local building.) Fixes #1198.
Showing
- doc/manual/command-ref/conf-file.xml 3 additions, 3 deletionsdoc/manual/command-ref/conf-file.xml
- doc/manual/command-ref/opt-common.xml 3 additions, 2 deletionsdoc/manual/command-ref/opt-common.xml
- src/libmain/shared.cc 4 additions, 1 deletionsrc/libmain/shared.cc
- src/libstore/globals.cc 8 additions, 1 deletionsrc/libstore/globals.cc
Loading
Please register or sign in to comment