From ec4275365e01eefe26bddb6bc068abb02d642c59 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 17 Dec 2019 15:58:42 -0500 Subject: dmd releaseMode results in runtime errors - dmd compilation - "releaseMode" results in runtime errors - "inline" more than 10 times as slow --- org/spine_build_scaffold.org | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'org/spine_build_scaffold.org') 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) -- cgit v1.2.3