Bug#1032443: webkit2gtk: Consider building with clang instead to speed up build time

Alberto Garcia berto at igalia.com
Sun May 12 22:05:01 BST 2024


On Mon, Mar 06, 2023 at 04:07:36PM -0500, Jeremy Bícha wrote:

> I heard that the time to build webkit2gtk can be noticeably reduced
> if we build it with clang.

I'm going to start using clang for the 2.45.x branch since it's the
recommended compiler to build Skia:

   https://skia.org/docs/user/build/#supported-and-preferred-compilers

The problem is that it doesn't work in some architectures, this is
s390x:

Source/WTF/wtf/simde/arm/neon.h:8808:11: error: _Float16 is not supported on this target
  typedef _Float16 simde_float16;
          ^
Source/WTF/wtf/simde/arm/neon.h:34339:47: error: _Float16 is not supported on this target
    return simde_vceq_f16(a, simde_vdup_n_f16(SIMDE_FLOAT16_VALUE(0.0)));
                                              ^
Source/WTF/wtf/simde/arm/neon.h:8975:38: note: expanded from macro 'SIMDE_FLOAT16_VALUE'
  #define SIMDE_FLOAT16_VALUE(value) SIMDE_FLOAT16_C(value)
                                     ^
Source/WTF/wtf/simde/arm/neon.h:8813:55: note: expanded from macro 'SIMDE_FLOAT16_C'
    #define SIMDE_FLOAT16_C(value) HEDLEY_STATIC_CAST(_Float16, (value))
                                                      ^

So I guess I'll start with amd64

Berto



More information about the Pkg-webkit-maintainers mailing list