[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to manage packages that require native acceleration code



On Mon, Sep 12, 2022 at 10:05:36AM -0400, Aaron Boxer wrote:
> My codec project uses SIMD code for x86 and AArch64 architectures. Also, as
> there are different versions of SIMD i.e. SSE vs AVX vs AVX2, the project
> uses a library that builds multiple versions of the accelerated code and
> chooses which version to use at runtime.
This sounds good.

> My package currently has a `march-native` error logged for certain
> architectures.
-march=native is not compatible with the approach you just described. And
you indeed must not use it when building packages.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: