How to build SPIR-V supported LDC?

kinke kinke at libero.it
Tue Apr 24 09:22:38 UTC 2018


On Tuesday, 24 April 2018 at 08:09:18 UTC, Sobaya wrote:
> But cmake error occured.
> The error message is
> "
> CMake Error at CMakeLists.txt:659 (message):
>   Unexpected failure executing llvm-build: llvm-build: fatal 
> error: missing
>   LLVMBuild.txt file at:
>   '/home/sobaya/git/llvm/lib/Target/SPIRV/LLVMBuild.txt'
> "
>
> What's wrong?

You didn't clone recursively and so don't have the SPIR-V target 
git submodule. `git submocule update --init` should do the trick 
now.


More information about the digitalmars-d-ldc mailing list