[Rpm-maint] [rpm-software-management/rpm] [Feature Req] Add "IR code" itself as a rpm architecture target (Discussion #2842)
Michal Domonkos
notifications at github.com
Tue Feb 6 13:19:34 UTC 2024
This sounds a lot like distributing software written in byte-compiled languages such as Python, which is already covered by the `noarch` target and a set of RPM macros to aid the packaging process. Typically, the `.pyc` files are shipped alongside the source code itself in the same binary package, but if they're not, CPython will generate them on the fly and place wherever in the filesystem, much like what this proposal suggests with the "lower to machine code" step.
I think that's the extent to which RPM should deal with such specialized functionality. The primitives are already in place and widely used so adding support for such generic IR-code is "just" a matter of agreeing upon a mechanism on the distro level, as you suggested.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2842#discussioncomment-8382652
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/2842/comments/8382652 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240206/b1a58174/attachment.html>
More information about the Rpm-maint
mailing list