[Rpm-maint] [rpm-software-management/rpm] Add znver1 arches with 32-bit + 64-bit variants and proper CPU detection (#1035)

Neal Gompa (ニール・ゴンパ) notifications at github.com
Sun Feb 2 01:56:41 UTC 2020

This change adds the ability for RPM to detect systems running on AMD Ryzen systems and allow the installation of packages that are built specifically for this subarchitecture.

As part of this change, a new `%x86_64` macro has been introduced to alias all 64-bit x86 architecture variants in the same manner that the `%ix86` macro has done for 32-bit x86 architecture variants.

This patch was originally authored by @berolinux and revised by both of us and has been in use in OpenMandriva since near the start of the development of OpenMandriva Lx 4.0 in early 2018. It has undergone several iterations in OpenMandriva, and now I'm confident that it is ready to land in RPM upstream.

Aside from making it possible to build RPMs with Ryzen specific optimizations and ensure those packages are properly selected, the integration of this patch upstream will restore full architecture compatibility of OpenMandriva RPMs with upstream RPM.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Add znver1 arches with 32-bit + 64-bit variants and proper CPU detection

-- File Changes --

    M lib/rpmrc.c (38)
    M macros.in (6)
    M rpmrc.in (11)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200201/69e04632/attachment.html>

More information about the Rpm-maint mailing list