Hello, on Mittwoch, 24. November 2010, Adrian Schröter wrote:
Wouldn't it be enough to build for one target, say i586?
yes ... but if you need it for building x86_64 packages you need to maintain export filters manually. And you can build dependency loops via cross architecture, which are harder to detect and would increase the build time a lot.
Hmm, what about a "first build wins" concept? If a noarch package needs a rebuild, schedule it for every arch where a rebuild is needed (i586, x86_64 and maybe additionally ppc64 if you want to move some load there). So far, nothing new here except the additional build job for ppc64. Let's assume the build on ppc64 is finished first. As soon as the package from ppc64 is finished, - copy the RPM to i586 and x86_64 - remove the build of that package from the i586 and x86_64 scheduler queue and mark it as successfully built. (You could call it a very fast build ;-)) - (in case i586 build has already started, do not copy over the package built on ppc64 to i586.) Yes, I know that sounds hacky, but if I get your description right, it should cause less problems than using a separate noarch scheduler. If a BuildRequire'd package changes on one arch after copying in the package from the ppc64 build, re-add it to the scheduler for rebuild - but this will probably happen already.
So far we always believed it is too much trouble. But you can try it of course.
Adrian, there's a reason why I wrote "that's the advantage if you come up with ideas without knowing all the technical details" in my first mail ;-) As long as we talk about the concept or some not-too-creative perl sniplets, I can most probably follow you. However, I'm afraid my perl knownledge is not good enough for something like the scheduler, and (bigger problem) I don't have enough time to read and understand all the code. Regards, Christian Boltz --
Axel, algerisch gegen neuen Linkschreibung Die neue recht Schreibung hat aber einen nicht unter schaetzbaren vor Teil gegen ueber der alten recht Schreibung: so werden zum bei Spiel viele lange Woerter nicht mehr zu Samen geschrieben. [Axel Woelke und Vlad Berditchevskiy in datk] -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org