[SAoC] MLIR Support for LDC

kinke noone at nowhere.com
Fri Oct 18 22:25:00 UTC 2019

On Friday, 18 October 2019 at 22:18:29 UTC, Roberto Rosmaninho 
> $ ~/dlang/ldc/build/bin/ldc2 test.d
> And get the same error:
> Error: cannot find source code for runtime library file 
> 'object.d'
>        ldc2 might not be correctly installed.
>        Please check your ldc2.conf configuration file.
>        Installation instructions can be found at 
> http://wiki.dlang.org/LDC.
> Specify path to file 'object.d' with -I switch
> I'm not trying my code yet, this is just the master branch that 
> I'm trying to use.
> Any ideas or should I report this as a issue?

Looks like you simply haven't cloned the git submodules. Add 
--recursive to the git clone command, or do a `git submodule 
update --init` in an existing LDC repo. Note that CMake spits out 
a warning when the druntime isn't found and informs that only the 
compiler will be built.

More information about the Digitalmars-d mailing list