path tracing benchmark
Trass3r
un at known.com
Wed Aug 10 05:18:04 PDT 2011
> If I compile it with with LDC1 with Link Time Optimization + Interning:
> ldc -O3 -release -inline -output-bc smallpt2_d.d
>
> opt -std-compile-opts smallpt2_d.bc > smallpt2_do.bc
>
> llvm-ld -native -ltango-base-ldc -ltango-user-ldc -ldl -lm -lpthread
> -internalize-public-api-list=_Dmain -o=smallpt2_do smallpt2_do.bc
Is there a more convenient way to get LTO with LDC?
More information about the Digitalmars-d
mailing list