krita 5.1 beta 1 fails to build on x86_64 with xsimd 8.1, which is the latest release In file included from /build/krita/src/krita-5.1.0-beta1/libs/pigment/compositeops/KoStreamedMath.h:14, from /build/krita/src/krita-5.1.0-beta1/libs/pigment/KoAlphaMaskApplicator.h:55: /build/krita/src/krita-5.1.0-beta1/libs/pigment/compositeops/KoRgbaInterleavers.h:15:40: error: ‘enable_sized_t’ in namespace ‘xsimd::kernel::detail’ does not name a template type 15 | using enable_sized_t = kernel::detail::enable_sized_t<T, S>; | ^~~~~~~~~~~~~~ From a quick look, enable_sized_t is only implemented for the neon architecture in 8.1
Git commit dcf4bf00bc3bcbc7910c5c6871ec621bde1c5b6a by L. E. Segovia. Committed on 22/06/2022 at 22:25. Pushed by lsegovia into branch 'master'. KoRgbaInterleavers: fix compilation with xsimd 8.1.0 M +4 -2 libs/pigment/compositeops/KoRgbaInterleavers.h https://invent.kde.org/graphics/krita/commit/dcf4bf00bc3bcbc7910c5c6871ec621bde1c5b6a
Git commit d88e952f0473c83a21c75b439521188059a9beb6 by L. E. Segovia. Committed on 22/06/2022 at 22:25. Pushed by lsegovia into branch 'krita/5.1'. KoRgbaInterleavers: fix compilation with xsimd 8.1.0 (cherry picked from commit dcf4bf00bc3bcbc7910c5c6871ec621bde1c5b6a) M +4 -2 libs/pigment/compositeops/KoRgbaInterleavers.h https://invent.kde.org/graphics/krita/commit/d88e952f0473c83a21c75b439521188059a9beb6
> From a quick look, enable_sized_t is only implemented for the neon architecture in 8.1 I moved it to the general namespace in one of the upstreams, sadly that one didn't make it into 8.1. The bug was fixed by using explicit definitions instead.