digitalmars.D.ldc - CMAKE_BUILD_TYPE
- Joseph Rushton Wakeling (3/3) Feb 02 2017 Is it recommended to use a particular CMAKE_BUILD_TYPE setting
- Johan Engelen (6/9) Feb 02 2017 We use CMAKE_BUILD_TYPE to set up the D compiler flags.
- Joseph Rushton Wakeling (6/9) Feb 02 2017 Great, thanks. I came across this courtesy of trying to build
- Johan Engelen (3/7) Feb 02 2017 A release LLVM build also is _much_ faster than a debug build!
- Joseph Rushton Wakeling (4/5) Feb 02 2017 So I also noticed ;-) Same seems to also be true of LDC -- to
Is it recommended to use a particular CMAKE_BUILD_TYPE setting when building an LDC release? Or is this not used by LDC's build scripts?
Feb 02 2017
On Thursday, 2 February 2017 at 20:58:30 UTC, Joseph Rushton Wakeling wrote:Is it recommended to use a particular CMAKE_BUILD_TYPE setting when building an LDC release? Or is this not used by LDC's build scripts?We use CMAKE_BUILD_TYPE to set up the D compiler flags. For our release builds, we set it to "Release" (`-DCMAKE_BUILD_TYPE=Release`). -Johan
Feb 02 2017
On Thursday, 2 February 2017 at 22:06:47 UTC, Johan Engelen wrote:We use CMAKE_BUILD_TYPE to set up the D compiler flags. For our release builds, we set it to "Release" (`-DCMAKE_BUILD_TYPE=Release`).Great, thanks. I came across this courtesy of trying to build LLVM from scratch, and wondering why the build was taking up such an extraordinary amount of disk space ... all those debug symbols ;-) I'll add it to the snap package definition accordingly.
Feb 02 2017
On Thursday, 2 February 2017 at 22:28:15 UTC, Joseph Rushton Wakeling wrote:Great, thanks. I came across this courtesy of trying to build LLVM from scratch, and wondering why the build was taking up such an extraordinary amount of disk space ... all those debug symbols ;-)A release LLVM build also is _much_ faster than a debug build!
Feb 02 2017
On Thursday, 2 February 2017 at 22:43:41 UTC, Johan Engelen wrote:A release LLVM build also is _much_ faster than a debug build!So I also noticed ;-) Same seems to also be true of LDC -- to think of all the time I've spent waiting for those builds while testing my snap package definition ... :-P
Feb 02 2017