ldc-developers / ldc2.snap

Snap package definition for LDC, the LLVM-based D compiler
11 stars 4 forks source link

Use release builds for ldc and ldc-bootstrap #5

Closed WebDrake closed 7 years ago

WebDrake commented 7 years ago

This reflects practice in current official release builds of LDC and should speed up both the bootstrap and packaged compilers.

WebDrake commented 7 years ago

@JohanEngelen looks OK to you ... ?

dnadlinger commented 7 years ago

Along the same lines, definitely also make sure that the LLVM build you are using is built in release mode (can check using llvm-config --build-mode).

WebDrake commented 7 years ago

@klickverbot Ah, thanks for the heads-up. I'll check.

In any case I do plan to move towards using a fresh build of the latest supported LLVM in the long run; it seems the sanest way to match up with other official LDC packages.

WebDrake commented 7 years ago
$ llvm-config --build-mode
RelWithDebInfo

... apparently.