Building against LLVM 6.0

David Nadlinger code at klickverbot.at
Sun Apr 15 14:30:59 UTC 2018


On 15 Apr 2018, at 11:12, Per Nordlöw via digitalmars-d-ldc wrote:
> Now that https://github.com/ldc-developers/ldc/pull/2608 is in can I 
> try building LDC myself against LLVM-6.0?

You should be able to, yes.

> If so which build settings control which version of LLVM it builds 
> against?
>
> If I only have LLVM 6.0 installed will it work automatically?

It should pick it up automatically, yes, but you can also use 
-DLLVM_CONFIG=<path to llvm-config executable> or -DLLVM_ROOT_DIR=<path 
to llvm installation> to explicitly specify which version to use.

  — David


More information about the digitalmars-d-ldc mailing list