Is LLVM10 still supported?
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Wed Oct 21 15:48:54 UTC 2020
On Wednesday, 21 October 2020 at 12:17:01 UTC, kinke wrote:
> On Wednesday, 21 October 2020 at 07:19:24 UTC, Ola Fosheim
> Grøstad wrote:
>> Whenever I modify some d code and rebuild with ninja, then
>> building ldc2.o is somewhat slow.
>
> Yes, by default, the entire frontend is compiled to a single
> object file. Use `-DCOMPILE_D_MODULES_SEPARATELY=ON` in the
> CMake cmdline to compile each module separately
> (https://github.com/ldc-developers/ldc/blob/37a27eb9e558669afe5deacadd5780d5542fdcba/CMakeLists.txt#L142).
Makes sense. Separate compilation makes more sense for tweaking.
Thanks!
More information about the digitalmars-d-ldc
mailing list