diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2024-05-06 14:14:49 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2024-05-06 14:14:52 -0400 |
commit | 16532cbf2a360b8ffa47d7b72dab2b204a912153 (patch) | |
tree | ec630db7d97afe7c06e4859a8cbaab28cf4cd039 /org/config_make.org | |
parent | set nixVersions.nix_2_21 (diff) |
work on more generic install + instructions
Diffstat (limited to 'org/config_make.org')
-rw-r--r-- | org/config_make.org | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/org/config_make.org b/org/config_make.org index 9e36285..abae71c 100644 --- a/org/config_make.org +++ b/org/config_make.org @@ -128,7 +128,7 @@ flake-check: echo -e '❯❯ nix build ".#spine-ldc" --print-build-logs |& nom\n❯❯ nix build ".#spine-dmd" --print-build-logs |& nom\n'; \ echo -e '❯❯ make -s\n❯❯ make -s nix-build-ldc\n❯❯ make -s nix-build-dmd\n'; \ echo -e '❯❯ make -s ldc\n❯❯ make -s dmd\n'; \ - echo -e '❯❯ $(DUB) --compiler=ldc2 --build=ldc2\n❯❯ $(DUB) --compiler=dmd --build=dmd\n'; + echo -e '❯❯ $(DUB) --compiler=ldmd2 --build=ldmd2\n❯❯ $(DUB) --compiler=dmd --build=dmd\n'; nix-devshell: echo -ne '\n❯❯ nix flake update && nix flake check --show-trace && nix flake show && nix develop ".#devShell"\n\n❯❯ nix build ".#default" --print-build-logs\n❯❯ nix build ".#spine-dmd" --print-build-logs\n❯❯ nix build ".#spine-ldc" --print-build-logs\n❯❯ nix build ".#spine-gdc" --print-build-logs\n\n'; \ @@ -164,7 +164,6 @@ buildPhase: exit 1; \ fi; \ echo "$${DC_} used as D compiler to build $${pname}"; \ - export DFLAGS="-O2 -inline"; \ dub build --compiler=$${DC} --build=$${DC_} --combined --skip-registry=all; checkPhase: @@ -623,7 +622,7 @@ all_clean: clean tangle dmd ldc gdc all_ver_clean: clean tangle dmd_ver ldc_ver gdc_ver dmd: dub_upgrade - $(DUB) --compiler=dmd --build=dmd --build=release-nobounds + $(DUB) --compiler=dmd --build=dmd notify-send -t 0 'D dmd compiled test release executable ready' 'spine-dmd' # assumes git tags with program version @@ -663,22 +662,26 @@ gdc_rel_tangle: tangle gdc_rel_expunge_tangle: expunge skel tangle gdc_rel_tangle ldc: dub_upgrade - $(DUB) --compiler=ldc2 --build=ldc2 --build=release + $(DUB) --compiler=ldmd2 --build=ldmd2 notify-send -t 0 'D ldc compiled test release executable ready' 'spine-ldc' +#ldc: dub_upgrade +# $(DUB) --compiler=ldc2 --build=ldc2 +# notify-send -t 0 'D ldc compiled test release executable ready' 'spine-ldc' + # assumes git tags with program version ldc_ver: dub_upgrade - $(DUB) --compiler=ldc2 --config=ldc-version + $(DUB) --compiler=ldmd2 --config=ldc-version mv bin/spine-ldc-ver bin-archive/spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT)-ldc - notify-send -t 0 'D ldc2 compiled test release executable ready' 'spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT)-ldc' + notify-send -t 0 'D ldc2 (ldmd2) compiled test release executable ready' 'spine-$(PROG_VER_DECLARED)-tag-$(PROG_VER_GIT)-ldc' ldc_clean_ver: clean tangle ldc_ver ldc_rel: expunge skel tangle - $(DUB) --compiler=ldc2 --config=spine-release + $(DUB) --compiler=ldmd2 --config=ldmd2 ldc_rel_tangle: tangle - $(DUB) --compiler=ldc2 --config=spine-ldc + $(DUB) --compiler=ldmd2 --config=ldmd2 ldc_rel_expunge_tangle: expunge skel tangle ldc_rel_tangle |