https://bugs.kde.org/show_bug.cgi?id=488116

            Bug ID: 488116
           Summary: krita doesn't detect xsimd 13 (and fails to build)
    Classification: Applications
           Product: krita
           Version: 5.2.3-beta1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: christo...@krop.fr
  Target Milestone: ---

Observed with our master build but the 5.2.3 beta tag isn't different in that
area:

CMake log:
[   74s] -- Could NOT find xsimd (Required is at least version
"8.1.0"), checked the following files:
[   74s]     /usr/lib64/cmake/xsimd/xsimdConfig.cmake (version 13.0.0)
[   74s]     /lib64/cmake/xsimd/xsimdConfig.cmake (version 13.0.0)
[   74s] 
[   74s] -- Could NOT find xsimd (Required is at least version "9"),
checked the following files:
[   74s]     /usr/lib64/cmake/xsimd/xsimdConfig.cmake (version 13.0.0)
[   74s]     /lib64/cmake/xsimd/xsimdConfig.cmake (version 13.0.0)
[   74s] 
[   74s] -- Could NOT find xsimd (Required is at least version "10"),
checked the following files:
[   74s]     /usr/lib64/cmake/xsimd/xsimdConfig.cmake (version 13.0.0)
[   74s]     /lib64/cmake/xsimd/xsimdConfig.cmake (version 13.0.0)
[   74s] 
[   74s] -- Could NOT find xsimd (Required is at least version "11"),
checked the following files:
[   74s]     /usr/lib64/cmake/xsimd/xsimdConfig.cmake (version 13.0.0)
[   74s]     /lib64/cmake/xsimd/xsimdConfig.cmake (version 13.0.0)
[   74s] 
[   74s] -- Could NOT find xsimd (Required is at least version "12"),
checked the following files:
[   74s]     /usr/lib64/cmake/xsimd/xsimdConfig.cmake (version 13.0.0)
[   74s]     /lib64/cmake/xsimd/xsimdConfig.cmake (version 13.0.0)

and build fails later because the XSIMD defines are missing:
[  216s] In file included from
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20240606T021953~0338882c3/libs/pigment/KoOptimizedPixelDataScalerU8ToU16FactoryImpl.cpp:11:
[  216s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20240606T021953~0338882c3/libs/pigment/KoOptimizedPixelDataScalerU8ToU16.h:145:49:
warning: "XSIMD_WITH_NEON" is not defined, evaluates to 0 [-Wundef]
[  216s]   145 | #elif defined(HAVE_XSIMD) && XSIMD_WITH_SSE2 ||
XSIMD_WITH_NEON || XSIMD_WITH_NEON64
[  216s]       |                                                
^~~~~~~~~~~~~~~
[  216s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20240606T021953~0338882c3/libs/pigment/KoOptimizedPixelDataScalerU8ToU16.h:145:68:
warning: "XSIMD_WITH_NEON64" is not defined, evaluates to 0 [-Wundef]
[  216s]   145 | #elif defined(HAVE_XSIMD) && XSIMD_WITH_SSE2 ||
XSIMD_WITH_NEON || XSIMD_WITH_NEON64
[  216s]       |

[ cut ]

[  314s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20240606T021953~0338882c3/libs/pigment/compositeops/KoStreamedMath.h:819:5:
warning: "XSIMD_VERSION_MAJOR" is not defined, evaluates to 0
[-Wundef]
[  314s]   819 | #if XSIMD_VERSION_MAJOR < 10
[  314s]       |     ^~~~~~~~~~~~~~~~~~~
[  314s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20240606T021953~0338882c3/libs/pigment/compositeops/KoRgbaInterleavers.h:27:55:
error: ‘batch’ was not declared in this scope; did you mean ‘rpmatch’?
[  314s]    27 | using enable_sized_vector_t = typename std::enable_if<batch<T,
A>::size == S, int>::type;
[  314s]       |                                                       ^~~~~
[  314s]       |                                                       rpmatch
[  314s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20240606T021953~0338882c3/libs/pigment/compositeops/KoRgbaInterleavers.h:27:65:
error: template argument 1 is invalid
[  314s]    27 | using enable_sized_vector_t = typename std::enable_if<batch<T,
A>::size == S, int>::type;
[  314s]       |                                                               
 ^
[  314s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20240606T021953~0338882c3/libs/pigment/compositeops/KoRgbaInterleavers.h:27:66:
error: expected identifier before ‘::’ token
[  314s]    27 | using enable_sized_vector_t = typename std::enable_if<batch<T,
A>::size == S, int>::type;
[  314s]       |                                                               
  ^~
[  314s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20240606T021953~0338882c3/libs/pigment/compositeops/KoRgbaInterleavers.h:98:87:
error: ‘enable_sized_vector_t’ has not been declared
[  314s]    98 |     template<bool aligned, typename T, typename A,
enable_sized_integral_t<T, 4> = 0, enable_sized_vector_t<T, A, 4> = 0>
[  314s]       |                                                               
                       ^~~~~~~~~~~~~~~~~~~~~
[  314s]
/home/abuild/rpmbuild/BUILD/krita-5.2.40git.20240606T021953~0338882c3/libs/pigment/compositeops/KoRgbaInterleavers.h:98:108:
error: expected ‘>’ before ‘<’ token
[  314s]    98 |     template<bool aligned, typename T, typename A,
enable_sized_integral_t<T, 4> = 0, enable_sized_vector_t<T, A, 4> = 0>
[  314s]       |

[ lots of other related errors after]

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to