Summary: | eutils.eclass get_number_of_jobs wrong for UML | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Stok <mike> |
Component: | New packages | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nall |
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | eutils.patch |
Description
Mike Stok
2003-01-09 10:17:44 UTC
Actually a little experimentation says that changing the * 2 to + 1 in export MAKEOPTS="${MAKEOPTS} -j$((`grep -c ^processor /proc/cpuinfo` * 2))" seems to be the minimal change. This gives 1 job on UML and nprocs + 1 on regular x86. UML means I'm runnibg the gentoo in a User Mode Linux machine (there are at least 2 meanings of UML I'm aware of, sorry for any confusion) martin, not sure why my first reassign didn't work... Created attachment 7227 [details, diff]
eutils.patch
Have a look if this fixes it. Also added some other stuff, nall please verify.
Nall, have a look at comment #4. looks great to me... Seems OK to me - I got -j1 for my UML instance. Fixed. Fixed. |