Description of problem: When rpmdev-setuptree creates a ~/.rpmmacros file than it sets "%_smp_mflags -j3" by default -- that's not wrong, but hardly ideal these days, as quad-core CPUs are nothing unusual anymore and even hexa-core CPUs are not that expensive anymore. I'm willing to sent a patch, but I'm not sure what the best default setting is. I tend to say it's something ugly looking like this: %_smp_mflags -j%(echo $(($(grep -c '^processor' /proc/cpuinfo 2> /dev/null || echo 4)*2))) (there might be a better way to write this, haven't checked (yet)). Version-Release number of selected component (if applicable): rpmdevtools-7.8-1.fc13.noarch
You're right, thanks for pointing this out. http://git.fedorahosted.org/git/?p=rpmdevtools.git;a=commitdiff;h=e899bc22dad072fe0334ebfdf0b0fa439980822b I took the same approach as rpm/redhat-rpm-config does, but modified it to return -j3 for < 3 processor machines. WDYT?
(In reply to comment #1) > You're right, thanks for pointing this out. I had to compile a kernel and wondered why it took so long on a hexa-core ;-) > http://git.fedorahosted.org/git/?p=rpmdevtools.git;a=commitdiff;h=e899bc22dad072fe0334ebfdf0b0fa439980822b > > I took the same approach as rpm/redhat-rpm-config does, but modified it to > return -j3 for < 3 processor machines. WDYT? Looks good, thx!
rpmdevtools-7.10-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/rpmdevtools-7.10-1.fc13
rpmdevtools-7.10-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.