diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-12-17 15:58:42 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2020-01-13 16:06:43 -0500 |
commit | ec4275365e01eefe26bddb6bc068abb02d642c59 (patch) | |
tree | a51164982ca4f7732087d6e916243042500d6942 | |
parent | fix >= dmd 2.088 asserts issue (offending removed) (diff) |
dmd releaseMode results in runtime errors
- dmd compilation
- "releaseMode" results in runtime errors
- "inline" more than 10 times as slow
-rw-r--r-- | dub.sdl | 2 | ||||
-rw-r--r-- | org/spine_build_scaffold.org | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -34,7 +34,7 @@ buildType "dmd-release" { } configuration "dmd-version" { dflags "-J=views" "-I=src/doc_reform" - buildOptions "verbose" "releaseMode" "optimize" "inline" + buildOptions "verbose" "optimize" targetName "spine-dmd-ver" postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'spine-dmd-ver'" } diff --git a/org/spine_build_scaffold.org b/org/spine_build_scaffold.org index 9d16a38..017a732 100644 --- a/org/spine_build_scaffold.org +++ b/org/spine_build_scaffold.org @@ -893,12 +893,16 @@ buildType "dmd-release" { } configuration "dmd-version" { dflags "-J=views" "-I=src/doc_reform" - buildOptions "verbose" "releaseMode" "optimize" "inline" + buildOptions "verbose" "optimize" targetName "spine-dmd-ver" postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'spine-dmd-ver'" } #+END_SRC + buildOptions "verbose" "optimize" // ok works quick compile + buildOptions "verbose" "optimize" "inline" // ok works takes ages to compile + buildOptions "verbose" "releaseMode" "optimize" "inline" // broken, runtime errors + ** ldc time (dub --compiler=ldc2 --config=ldc -b ldc) |