Re: Building skia with clang(-cl)

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

 



On Thursday 23 of April 2020, Miklos Vajna wrote:
> Hi,
>
> In short, I would like to hear what others think about using clang(-cl)
> for building skia.

 Just for completeness, there's one more option, and that's using Clang-cl 
instead of MSVC for everything. E.g. Mozilla does it, it is already possible 
to build LO that way (and I think Stephan does that regularly?).

 I'm not promoting this option though, as there are drawbacks to it too. 
Clang-cl currently builds noticeably more slowly then MSVC with 
enabled-by-default PCHs (for half a year I still haven't managed to get into 
Clang my PCH patches *sigh*), and I don't know how much testing 
Clang-cl-built LO has received. At least at this point it's probably better 
to just go with the gbuild hack I've created.

> The reason for the difference is that skia developers focus on
> good performance with clang, so building their codebase with gcc or msvc
> works, but the result is not as great as it could be.

 Note that this is primarily about Windows, as elsewhere Skia is currently 
used only by the "gen" VCL backend, which AFAIK ~nobody uses.

-- 
 Luboš Luňák
 l.lunak@xxxxxxxxxxxxx
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux