X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=gruntmaster-compile;h=adf2149705ee174356ed7d1912d5c6fbac64acd9;hp=3a0dac886e9248e41f8f96b9e651d390ec586db8;hb=0220f51aca25f4ca5953c73581381fc8161b0719;hpb=92fbf93360dc44a13c48ad68be8333a461927f36 diff --git a/gruntmaster-compile b/gruntmaster-compile index 3a0dac8..adf2149 100755 --- a/gruntmaster-compile +++ b/gruntmaster-compile @@ -30,7 +30,9 @@ given ($format){ exec 'go', qw/build -compiler gccgo/, $name, when 'GCCGO'; exec 'ghc', qw/-DONLINE_JUDGE -Wall -O2 -o/, $basename, $name when 'HASKELL'; exec 'rustc', qw/-O -o/, $basename, $name when 'RUST'; + exec 'obc', qw/-x -o/, $basename, $name when 'OBERON'; exec 'ocamlc', qw/-o/, $basename, $name when 'OCAML'; + exec 'dmd', qw/-version=ONLINE_JUDGE -O -release -inline -noboundscheck/, $name when 'D'; when ('BRAINFUCK') { system 'bfc', $name and die "bfc failed: errno=$! return=$?"; @@ -123,6 +125,10 @@ Compile commands for each format: ocamlc -o $output $input +=item OBERON + + obc -x -o $output $input + =item RUST rustc -O -o $output $input