# HG changeset patch # User "Yann E. MORIN" # Date 1264803293 -3600 # Node ID fcc55af9aee5ccd7dfa727c9102acb0916e172ad # Parent 2a0656d9c905b3908f425dd334a418375d5e6e4e global: do not offer the renice option, let's the user handle that It's broken anyway. Eg.: - user is already niced at 10 - user configures to renice at 5 - breaks because user is not allowed to 'boost' his/her nice value Bette let the user handle the renice with: nice -XX ct-ng 'action' diff -r 2a0656d9c905 -r fcc55af9aee5 config/global/build-behave.in --- a/config/global/build-behave.in Sun Jan 24 22:53:51 2010 +0100 +++ b/config/global/build-behave.in Fri Jan 29 23:14:53 2010 +0100 @@ -28,14 +28,6 @@ Note: only the integer part of the load is allowed here (you can't enter 0.75 for example). -config NICE - int - prompt "Nice level" - default 0 - range 0 19 - help - Renices the build process up. - config USE_PIPES bool prompt "Use -pipe" diff -r 2a0656d9c905 -r fcc55af9aee5 scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Sun Jan 24 22:53:51 2010 +0100 +++ b/scripts/crosstool-NG.sh.in Fri Jan 29 23:14:53 2010 +0100 @@ -97,9 +97,6 @@ # Log real begining of build, now CT_DoLog INFO "Build started ${CT_STAR_DATE_HUMAN}" -# renice oursleves -CT_DoExecLog DEBUG renice ${CT_NICE} $$ - CT_DoStep DEBUG "Dumping user-supplied crosstool-NG configuration" CT_DoExecLog DEBUG grep -E '^(# |)CT_' .config CT_EndStep