On 4/16/21 7:10 PM, Fabio Valentini wrote:
On Fri, Apr 16, 2021 at 6:29 PM Robert-André Mauchin <zebob.m@xxxxxxxxx> wrote:
Hello,
I have a dependency that is a C++ library for SIMD (called highway).
This library requires SSE4 as its minimum required instruction set
("Supported targets: SSE4, AVX2, AVX-512, NEON (ARMv7 and v8), WASM
SIMD."). However the minimum for Fedora is SSE2. Am I still allowed to
package this despite the requirement being above what's minimum for
Fedora? It won't compile on old systems but building works fine in Koji.
Best regards,
Robert-André
Relevant FESCo discussion and decision:
https://pagure.io/fesco/issue/2569#comment-713002
The text that was voted on:
Libraries packaged in Fedora may require ISA extensions, however
any packaged application must not crash on any officially supported
architecture, either by providing a generic fallback implementation OR
by cleanly exiting when the requisite hardware support is unavailable.
It is still stuck in the pipeline to get the packaging guidelines
changed, though:
https://pagure.io/packaging-committee/issue/1044
Hope that helps.
Fabio
What if the problematic binary is just a test program used during build
and not shipped in the final package? It works on Koji and don't cause
any problem there and won't be a problem at all since the resulting
package is a headers only library.
Thanks,
Robert-André
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure