Richard Shaw (hobbes1...@gmail.com) said: 
> I don't know why I didn't notice before but I was reviewing a
> build.log from a package and noticed it was only using -j2 when I have
> -j4 in my .rpmmacros. If mock doesn't use .rpmmacros from the user
> running mock then where does it get it from?

>From the system macro file:

%_smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \\\
        && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
        if [ "$RPM_BUILD_NCPUS" -gt 16 ]; then echo "-j16"; \\\
        elif [ "$RPM_BUILD_NCPUS" -gt 1 ]; then echo "-j$RPM_BUILD_NCPUS";
        fi)

Bill
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to