aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-12-17 15:58:42 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-01-13 16:06:43 -0500
commitec4275365e01eefe26bddb6bc068abb02d642c59 (patch)
treea51164982ca4f7732087d6e916243042500d6942
parentfix >= 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.sdl2
-rw-r--r--org/spine_build_scaffold.org6
2 files changed, 6 insertions, 2 deletions
diff --git a/dub.sdl b/dub.sdl
index 92a2730..80537d0 100644
--- a/dub.sdl
+++ b/dub.sdl
@@ -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)