diff options
| -rw-r--r-- | dub.sdl | 9 | ||||
| -rw-r--r-- | makefile | 12 | ||||
| -rw-r--r-- | org/spine_build_scaffold.org | 39 | 
3 files changed, 35 insertions, 25 deletions
| @@ -47,6 +47,11 @@ buildType     "ldc" {    buildOptions      "verbose" "optimize" "inline"    buildRequirements "allowWarnings"  } +buildType     "ldc-local" { +  dflags            "-O2" "-J=views" "-I=src/doc_reform" "-mcpu=native" +  buildOptions      "verbose" "optimize" "inline" +  buildRequirements "allowWarnings" +}  buildType     "ldc-release" {    dflags               "-O2" "-J=views" "-I=src/doc_reform"    buildOptions         "verbose" "optimize" "inline" "releaseMode" @@ -62,9 +67,9 @@ configuration "gdc" {    postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'spine-gdc'"  }  buildType     "gdc" { -  dflags               "-O2" "-J=views" "-I=src/doc_reform" +  dflags               "-O" "-J=views" "-I=src/doc_reform"    lflags               "-lz" -  buildOptions         "optimize" "inline" +  buildOptions         "inline"    buildRequirements    "allowWarnings"  }  buildType     "gdc-release" { @@ -105,10 +105,10 @@ all_ver_clean: clean tangle dmd_ver ldc_ver gdc_ver  all_debug_ver: dmd_debug_ver gdc_debug_ver ldc_debug_ver  all_debug_clean_ver: clean tangle dmd_debug_ver gdc_debug_ver ldc_debug_ver  dmd: dub_upgrade -	$(DUB) --compiler=dmd --config=dmd -b release +	$(DUB) --compiler=dmd --config=dmd --build=release-nobounds  	notify-send -t 0 'D dmd compiled test release executable ready' 'spine-dmd'  dmd_debug: -	$(DUB) --compiler=dmd --config=dmd -b debug +	$(DUB) --compiler=dmd --config=dmd --build=debug  dmd_ver: dub_upgrade  	$(DUB) --compiler=dmd --config=dmd-version  	mv bin/spine-dmd-ver bin-archive/spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT)-dmd @@ -122,10 +122,10 @@ dmd_rel_expunge_tangle: expunge skel tangle dmd_rel_tangle  dmd_debug_tangle: tangle  	$(DUB) --compiler=dmd --config=spine-dmd-debug  gdc: dub_upgrade -	$(DUB) --compiler=gdc --config=gdc -b release +	$(DUB) --compiler=gdc --config=gdc  	notify-send -t 0 'D gdc compiled test release executable ready' 'spine-gdc'  gdc_debug: -	$(DUB) --compiler=gdc --config=gdc -b debug +	$(DUB) --compiler=gdc --config=gdc --build=debug  gdc_ver: dub_upgrade  	$(DUB) --compiler=gdc --config=gdc-version  	mv bin/spine-gdc-ver bin-archive/spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT)-gdc @@ -139,10 +139,10 @@ gdc_rel_expunge_tangle: expunge skel tangle gdc_rel_tangle  gdc_debug_tangle: tangle  	$(DUB) --compiler=gdc --config=spine-gdc-debug  ldc: dub_upgrade -	$(DUB) --compiler=ldc2 --config=ldc -b release +	$(DUB) --compiler=ldc2 --config=ldc --build=release  	notify-send -t 0 'D ldc compiled test release executable ready' 'spine-ldc'  ldc_debug: -	$(DUB) --compiler=ldc2 --config=ldc -b debug +	$(DUB) --compiler=ldc2 --config=ldc --build=debug  ldc_ver: dub_upgrade  	$(DUB) --compiler=ldc2 --config=ldc-version  	mv bin/spine-ldc-ver bin-archive/spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT)-ldc diff --git a/org/spine_build_scaffold.org b/org/spine_build_scaffold.org index 49716d9..8da968c 100644 --- a/org/spine_build_scaffold.org +++ b/org/spine_build_scaffold.org @@ -243,7 +243,7 @@ all_debug_clean_ver: clean tangle dmd_debug_ver gdc_debug_ver ldc_debug_ver  #+BEGIN_SRC makefile :tangle ../makefile  dmd: dub_upgrade -	$(DUB) --compiler=dmd --config=dmd -b release +	$(DUB) --compiler=dmd --config=dmd --build=release-nobounds  	notify-send -t 0 'D dmd compiled test release executable ready' 'spine-dmd'  #+END_SRC @@ -251,7 +251,7 @@ dmd: dub_upgrade  #+BEGIN_SRC makefile :tangle ../makefile  dmd_debug: -	$(DUB) --compiler=dmd --config=dmd -b debug +	$(DUB) --compiler=dmd --config=dmd --build=debug  #+END_SRC  ******** version                                                    :version: @@ -284,7 +284,7 @@ dmd_debug_tangle: tangle  #+BEGIN_SRC makefile :tangle ../makefile  gdc: dub_upgrade -	$(DUB) --compiler=gdc --config=gdc -b release +	$(DUB) --compiler=gdc --config=gdc  	notify-send -t 0 'D gdc compiled test release executable ready' 'spine-gdc'  #+END_SRC @@ -292,7 +292,7 @@ gdc: dub_upgrade  #+BEGIN_SRC makefile :tangle ../makefile  gdc_debug: -	$(DUB) --compiler=gdc --config=gdc -b debug +	$(DUB) --compiler=gdc --config=gdc --build=debug  #+END_SRC  ******** version                                                    :version: @@ -325,7 +325,7 @@ gdc_debug_tangle: tangle  #+BEGIN_SRC makefile :tangle ../makefile  ldc: dub_upgrade -	$(DUB) --compiler=ldc2 --config=ldc -b release +	$(DUB) --compiler=ldc2 --config=ldc --build=release  	notify-send -t 0 'D ldc compiled test release executable ready' 'spine-ldc'  #+END_SRC @@ -333,7 +333,7 @@ ldc: dub_upgrade  #+BEGIN_SRC makefile :tangle ../makefile  ldc_debug: -	$(DUB) --compiler=ldc2 --config=ldc -b debug +	$(DUB) --compiler=ldc2 --config=ldc --build=debug  #+END_SRC  ******** version                                                    :version: @@ -881,9 +881,9 @@ dependency          "tinyendian"     version="~>0.2.0"       # http://code.dlang  ** default -time (dub --compiler=dmd -b release) -time (dub --compiler=ldc2 -b release) -time (dub --compiler=gdc -b release) +time (dub --compiler=dmd --build=release) +time (dub --compiler=ldc2 --build=release) +time (dub --compiler=gdc --build=release)  #+BEGIN_SRC sh  :tangle ../dub.sdl  configuration "default" { @@ -894,8 +894,8 @@ configuration "default" {  ** dmd -time (dub --compiler=dmd --config=dmd -b dmd) -time (dub --compiler=dmd --config=dmd -b dmd-release) +time (dub --compiler=dmd --config=dmd --build=dmd) +time (dub --compiler=dmd --config=dmd --build=dmd-release)  #+BEGIN_SRC sh  :tangle ../dub.sdl  configuration "dmd" { @@ -925,8 +925,8 @@ configuration "dmd-version" {  ** ldc -time (dub --compiler=ldc2 --config=ldc -b ldc) -time (dub --compiler=ldc2 --config=ldc -b ldc-release) +time (dub --compiler=ldc2 --config=ldc --build=ldc) +time (dub --compiler=ldc2 --config=ldc --build=ldc-release)  #+BEGIN_SRC sh  :tangle ../dub.sdl  configuration "ldc" { @@ -938,6 +938,11 @@ buildType     "ldc" {    buildOptions      "verbose" "optimize" "inline"    buildRequirements "allowWarnings"  } +buildType     "ldc-local" { +  dflags            "-O2" "-J=views" "-I=src/doc_reform" "-mcpu=native" +  buildOptions      "verbose" "optimize" "inline" +  buildRequirements "allowWarnings" +}  buildType     "ldc-release" {    dflags               "-O2" "-J=views" "-I=src/doc_reform"    buildOptions         "verbose" "optimize" "inline" "releaseMode" @@ -952,8 +957,8 @@ configuration "ldc-version" {  ** gdc -time (dub --compiler=gdc --config=gdc -b gdc) -time (dub --compiler=gdc --config=gdc -b gdc-release) +time (dub --compiler=gdc --config=gdc --build=gdc) +time (dub --compiler=gdc --config=gdc --build=gdc-release)  #+BEGIN_SRC sh  :tangle ../dub.sdl  configuration "gdc" { @@ -961,9 +966,9 @@ configuration "gdc" {    postGenerateCommands "/usr/bin/notify-send -t 0 'D executable ready' 'spine-gdc'"  }  buildType     "gdc" { -  dflags               "-O2" "-J=views" "-I=src/doc_reform" +  dflags               "-O" "-J=views" "-I=src/doc_reform"    lflags               "-lz" -  buildOptions         "optimize" "inline" +  buildOptions         "inline"    buildRequirements    "allowWarnings"  }  buildType     "gdc-release" { | 
