[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-list
Subject:    Re: SIMD-related package amd minimum supported instructions
From:       Robert-André_Mauchin <zebob.m () gmail ! com>
Date:       2021-04-17 15:37:58
Message-ID: 75475533-2c5f-4504-ae5a-87c9e36d561c () gmail ! com
[Download RAW message or body]

On 4/16/21 7:10 PM, Fabio Valentini wrote:
> On Fri, Apr 16, 2021 at 6:29 PM Robert-André Mauchin <zebob.m@gmail.com> 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@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic