[Debian-med-packaging] Bug#1129475: libsimde-dev: simde.pc : Please allowed not to use OpenMP compulsorily.
Michael R. Crusoe
crusoe at debian.org
Mon Mar 30 09:13:51 BST 2026
On Mon, 02 Mar 2026 10:12:23 +0900 Kyuma Ohta <whatisthis.sowhat at gmail.com> wrote:
> Package: libsimde-dev
> Version: 0.8.4~rc3-4
> Severity: wishlist
>
> Dear Maintainer,
>
> Pkgconfig SIMDE, using OpenMP compulsorily.
>
> --- From /usr/share/pkgconfig/cimde.pc ---
> Cflags: -I${includedir} -DSIMDE_ENABLE_OPENMP -fopenmp-simd
> --- End ---
>
> But, SIMDE can use *without* OpenMP.
> So, I strongly wish available to use both SIMDE and pkgconfig
> *both with or without* OpenMP.
Dear Ohta,
From upstream's README:
> Some compilers allow you to enable OpenMP SIMD without enabling the full OpenMP. In such cases there is no runtime dependency on OpenMP and no runtime overhead; SIMDe will just be faster.
https://github.com/simd-everywhere/simde?tab=readme-ov-file#openmp-4-simd
(Disclaimer, I'm also the maintainer of SIMDe upstream)
The flag "-fopenmp-simd" is indeed the GCC flag for enabling the OpenMP SIMD flags without the runtime.
Since GCC is the default compiler for Debian, I felt comfortable putting GCC specific compiler options here.
More information about the Debian-med-packaging
mailing list