Skip to content
Snippets Groups Projects
Commit dcb487fd authored by Mark Olesen's avatar Mark Olesen
Browse files

wmake : set WM_NCOMPPROCS automatically when both WM_HOSTS and WM_SCHEDULER are set

This substantially eases enabling/disabling distributed compiling
For example,
 - export WM_HOSTS="host1:N ... hostN:N"  as usual
 - simply set/unset WM_SCHEDULER

etc/aliases.{sh,csh} added aliases for enabling/disabling wmakeScheduler
 - alias wmSchedON='export WM_SCHEDULER=$WM_PROJECT_DIR/wmake/wmakeScheduler'
 - alias wmSchedOFF='unset WM_SCHEDULER'

Removed wmakeLockScheduler, identical to wmakeScheduler except a 'sleep'
parent a382bdac
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment