I want to time how long it takes to compile the latest version of Red Hat Enterprise Linux 6. I have downloaded the SRPMs from the Red Hat’s FTP server.
How do I time how long it takes to compile all of the packages?
I’m not going to blow up my workstation for days on end by testing this, but given a directory of SRPMS I don’t see why this wouldn’t work:
time (for RPM in $(ls *.srpm); do rpmbuild --rebuild $RPM; done)