Multi-arch support in Mock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I just pushed into updates-testing new release of Mock (1.4.11). It has nice new feature:

$ sudo dnf install qemu-user-static  # weak dependency
$ mock -r fedora-28-ppc64le --forcearch ppc64le shell

This will give you Fedora shell on different architecture. Emulated by QEMU. And of course you can build packages for
the different architectures this way.
You can do this for any architecture: aarch64, armhfp, ppc64, ppc64le, s390x.

People are asking me how much slower it is. Here are some data:

$ time mock -r fedora-28-x86_64 /tmp/tito/mock-1.4.11-1.fc28.src.rpm
real    0m56,341s
user    0m46,238s
sys     0m6,027s

$ time mock -r fedora-28-ppc64le --forcearch=ppc64le /tmp/tito/mock-1.4.11-1.fc28.src.rpm
real    11m9,576s
user    10m40,182s
sys     0m29,916s



$ time mock -r fedora-28-x86_64 --shell 'echo Ahoy'
real    0m1,199s
user    0m0,759s
sys     0m0,253s

$ time mock -r fedora-28-ppc64le --forcearch=ppc64le --shell 'echo Ahoy'
real    0m1,726s
user    0m1,228s
sys     0m0,319s



For full release notes see:
  https://github.com/rpm-software-management/mock/wiki/Release-Notes-1.4.11


Miroslav
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/CFJOJP7B5RPSSRSY7B5DITO4N2FBNB55/




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux