[Rpm-maint] RFC: yum+rpm ppc64p7 patches
Phil Knirsch
pknirsch at redhat.com
Fri Mar 23 18:22:49 UTC 2012
Hi folks.
Here the promised patches to add support for adding a power7 optimized
arch to ppc64 for rpm and yum.
It's pretty similar to the ARM neon support code from dgilmore, only
that i needed to add the detection properly in rpm as well.
I've tested them to some degree with a local repository containing
packages build with --target ppc64p7 and then installing, removing and
updating the respective package. Selection worked as expected, preferred
ppc64p7 obviously on a Power7 box.
The detection code is a bit rough, both in yum and rpm, but i didn't
want to manually parse the C struct from /proc/self/auxv.
Let me know what you think of them. The toolchain guys i spoke with at
least were already pretty curious about it as they'd like to use it at
some point as well.
I'm on PTO next week, so no rush :)
Thanks & regards, Phil
--
Philipp Knirsch | Tel.: +49-711-96437-470
Supervisor Core Services | Fax.: +49-711-96437-111
Red Hat GmbH | Email: Phil Knirsch <pknirsch at redhat.com>
Hauptstaetterstr. 58 | Web: http://www.redhat.com/
D-70178 Stuttgart, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpm-4.9.1.2-ppc64p7.patch
Type: text/x-patch
Size: 2611 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20120323/dcdefd02/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-3.4.3-ppc64p7.patch
Type: text/x-patch
Size: 1548 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20120323/dcdefd02/attachment-0001.bin>
More information about the Rpm-maint
mailing list