make clean patch128 jhcr.exe

Build Artifacts

jhcr.exe

Build Info

Started on DESKTOP-M41NKJD MSYS_NT-10.0-19044 x86_64 at 2023-11-23 18:02:38 and ran for 118 seconds till 2023-11-23 18:04:36.
rm -f  out/table.j  out/parser.j  out/list.j  out/stringtable.j  out/modified.j  out/wrap-around.j  out/print.j  out/convert.j  out/context.j  out/types.j  out/instruction.j  out/interpreter.j  out/init.j  out/api.j
rm -f src/runtime/convert.j src/runtime/types.j src/Hot/Types.hs src/Hot/CommonJHash.hs
rm -f jhcr.exe
PATCH_LVL=128 bash src/process.sh src/runtime/table.j out/table.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/parser.j out/parser.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/list.j out/list.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/stringtable.j out/stringtable.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/modified.j out/modified.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/wrap-around.j out/wrap-around.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/print.j out/print.j JHCR_
cabal run --ghc-options=-DPATCH_LVL=128 convert -- common-1.28.j
Build profile: -w ghc-9.6.2 -O1
In order, the following will be built (use -v for more details):
 - jass-hot-code-reload-1.0.0 (exe:convert) (configuration changed)
Warning: jhcr.cabal:32:3: The field "hs-source-dir" is deprecated in the Cabal
specification version 1.2. Please use 'hs-source-dirs'
Warning: jhcr.cabal:14:3: The field "hs-source-dir" is deprecated in the Cabal
specification version 1.2. Please use 'hs-source-dirs'
Configuring executable 'convert' for jass-hot-code-reload-1.0.0..
Preprocessing executable 'convert' for jass-hot-code-reload-1.0.0..
Building executable 'convert' for jass-hot-code-reload-1.0.0..
[1 of 5] Compiling Data.Composeable ( src\Data\Composeable.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\convert\build\convert\convert-tmp\Data\Composeable.o ) [Flags changed]
[2 of 5] Compiling Jass.Ast         ( src\Jass\Ast.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\convert\build\convert\convert-tmp\Jass\Ast.o ) [Flags changed]
[3 of 5] Compiling Jass.Parser      ( src\Jass\Parser.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\convert\build\convert\convert-tmp\Jass\Parser.o ) [Flags changed]
[4 of 5] Compiling Jass.Printer     ( src\Jass\Printer.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\convert\build\convert\convert-tmp\Jass\Printer.o ) [Flags changed]
[5 of 5] Compiling Main             ( src\convert.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\convert\build\convert\convert-tmp\Main.o ) [Flags changed]
[6 of 6] Linking C:\\tools\\msys64\\home\\lohyu\\jhcr\\dist-newstyle\\build\\x86_64-windows\\ghc-9.6.2\\jass-hot-code-reload-1.0.0\\x\\convert\\build\\convert\\convert.exe [Objects changed]
PATCH_LVL=128 bash src/process.sh src/runtime/convert.j out/convert.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/context.j out/context.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/types.j out/types.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/instruction.j out/instruction.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/interpreter.j out/interpreter.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/init.j out/init.j JHCR_
PATCH_LVL=128 bash src/process.sh src/runtime/api.j out/api.j JHCR_
cabal build --ghc-options=-DPATCH_LVL=128 jhcr
Build profile: -w ghc-9.6.2 -O1
In order, the following will be built (use -v for more details):
 - jass-hot-code-reload-1.0.0 (exe:jhcr) (configuration changed)
Warning: jhcr.cabal:32:3: The field "hs-source-dir" is deprecated in the Cabal
specification version 1.2. Please use 'hs-source-dirs'
Warning: jhcr.cabal:14:3: The field "hs-source-dir" is deprecated in the Cabal
specification version 1.2. Please use 'hs-source-dirs'
Configuring executable 'jhcr' for jass-hot-code-reload-1.0.0..
Preprocessing executable 'jhcr' for jass-hot-code-reload-1.0.0..
Building executable 'jhcr' for jass-hot-code-reload-1.0.0..
[ 1 of 21] Compiling Data.Composeable ( src\Data\Composeable.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Data\Composeable.o ) [Flags changed]
[ 2 of 21] Compiling Hot.CommonJHash  ( src\Hot\CommonJHash.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\CommonJHash.o ) [Source file changed]
[ 3 of 21] Compiling Hot.Types        ( src\Hot\Types.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\Types.o ) [Source file changed]
[ 4 of 21] Compiling Jass.Ast         ( src\Jass\Ast.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Jass\Ast.o ) [Flags changed]
[ 5 of 21] Compiling Hot.Var          ( src\Hot\Var.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\Var.o ) [Flags changed]
[ 6 of 21] Compiling Hot.JassHelper   ( src\Hot\JassHelper.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\JassHelper.o ) [Flags changed]
[ 7 of 21] Compiling Hot.Init.Stubs   ( src\Hot\Init\Stubs.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\Init\Stubs.o ) [Flags changed]
[ 8 of 21] Compiling Hot.Init.Rename  ( src\Hot\Init\Rename.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\Init\Rename.o ) [Flags changed]
[ 9 of 21] Compiling Hot.Init.Auto    ( src\Hot\Init\Auto.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\Init\Auto.o ) [Flags changed]
[10 of 21] Compiling Hot.Ast          ( src\Hot\Ast.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\Ast.o ) [Flags changed]
[11 of 21] Compiling Hot.Instruction  ( src\Hot\Instruction.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\Instruction.o ) [Flags changed]
[12 of 21] Compiling Hot.Instruction.Opt.Rewrite ( src\Hot\Instruction\Opt\Rewrite.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\Instruction\Opt\Rewrite.o ) [Flags changed]
[13 of 21] Compiling Hot.Instruction.Opt.Rewrite.SomeRules ( src\Hot\Instruction\Opt\Rewrite\SomeRules.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\Instruction\Opt\Rewrite\SomeRules.o ) [Flags changed]
[14 of 21] Compiling Hot.HandleCode   ( src\Hot\HandleCode.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\HandleCode.o ) [Flags changed]
[15 of 21] Compiling Jass.LCA         ( src\Jass\LCA.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Jass\LCA.o ) [Flags changed]
[16 of 21] Compiling Hot.Instruction.Compiler ( src\Hot\Instruction\Compiler.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Hot\Instruction\Compiler.o ) [Flags changed]
[17 of 21] Compiling Jass.Opt.Rewrite ( src\Jass\Opt\Rewrite.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Jass\Opt\Rewrite.o ) [Flags changed]
[18 of 21] Compiling Jass.Parser      ( src\Jass\Parser.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Jass\Parser.o ) [Flags changed]
[19 of 21] Compiling Jass.Opt.Rewrite.SomeRules ( src\Jass\Opt\Rewrite\SomeRules.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Jass\Opt\Rewrite\SomeRules.o ) [Flags changed]
[20 of 21] Compiling Jass.Printer     ( src\Jass\Printer.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Jass\Printer.o ) [Flags changed]
[21 of 21] Compiling Main             ( src\Main.hs, C:\\tools\msys64\home\lohyu\jhcr\dist-newstyle\build\x86_64-windows\ghc-9.6.2\jass-hot-code-reload-1.0.0\x\jhcr\build\jhcr\jhcr-tmp\Main.o ) [Flags changed]
[22 of 22] Linking C:\\tools\\msys64\\home\\lohyu\\jhcr\\dist-newstyle\\build\\x86_64-windows\\ghc-9.6.2\\jass-hot-code-reload-1.0.0\\x\\jhcr\\build\\jhcr\\jhcr.exe [Objects changed]
rm -f jhcr.exe
strip $(cabal list-bin  jhcr)
upx -qq $(cabal list-bin  jhcr) -o jhcr.exe
  24019456 ->   4835328   20.13%    win64/pe     jhcr.exe