Hello, I'd like to ask your opinion on the idea of creating binary rpms in 
parallel. It seems possible: I looked at packageBinaries() and it has a 
straightforward for loop with no obvious dependencies between iterations. Each 
iteration could be in its own thread via pthreads.

The reason I would like to do this is that we use rpm in Yocto project, and
a) making binary rpms is a part of image building process in Yocto; there's 
generally no common package feed, so a lot of time is spent on building rpms on 
the local machine.
b) some of the source packages produce a lot of very small binary packages; for 
instance we package glibc locales, or perl modules separately. In embedded 
world constraining disk space usage is important, so this has to be done. This 
makes rpm building really slow - several minutes or more, as it iterates over 
them one by one.

Opinions?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/211
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to