X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=gruntmaster-compile;h=be5dab5c3bccd03a3076c4061ee41c0dc078b0f7;hp=c83a03f883911459951b8cd45b616585ef69e143;hb=49b65824460a3f79c2fcd2a8bae9dd42534f64c9;hpb=34e1677139c95be7cb419d4813d83943a70f446e diff --git a/gruntmaster-compile b/gruntmaster-compile index c83a03f..be5dab5 100755 --- a/gruntmaster-compile +++ b/gruntmaster-compile @@ -31,6 +31,7 @@ given ($format){ exec 'ghc', qw/-DONLINE_JUDGE -Wall -O2 -o/, $basename, $name when 'HASKELL'; exec 'rustc', qw/-O -o/, $basename, $name when 'RUST'; 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=$?"; @@ -46,7 +47,7 @@ given ($format){ print OUT "#!/usr/bin/julia -O\n" if $_ eq 'JULIA'; print OUT "#!/usr/bin/perl\n" if $_ eq 'PERL'; print OUT "#!/usr/bin/php -d ONLINE_JUDGE=true\n" if $_ eq 'PHP'; - print OUT "#!/usr/bin/python\n" if $_ eq 'PYTHON'; + print OUT "#!/usr/bin/python2.7\n" if $_ eq 'PYTHON'; print OUT "#!/usr/bin/ruby\n" if $_ eq 'RUBY'; print OUT "#!/usr/bin/sbcl --script\n" if $_ eq 'SBCL'; print OUT while ;