From: Marius Gavrilescu Date: Thu, 11 Feb 2016 23:20:47 +0000 (+0000) Subject: Fix D and Ocaml compilers X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=commitdiff_plain;h=12c4881b366d0b5dcb673fe7f30a6970b39926ba Fix D and Ocaml compilers --- diff --git a/gruntmaster-compile b/gruntmaster-compile index 3be2013..2538cde 100755 --- a/gruntmaster-compile +++ b/gruntmaster-compile @@ -31,8 +31,8 @@ given ($format){ 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'; + exec 'ocamlopt', qw/-o/, $basename, $name when 'OCAML'; + exec 'gdc', qw/-DONLINE_JUDGE -Wall -O2 -frelease -fno-bounds-check -o/, $basename, $name when 'D'; when ('BRAINFUCK') { system 'bfc', $name and die "bfc failed: errno=$! return=$?";