Fix D and Ocaml compilers
[gruntmaster-daemon.git] / gruntmaster-compile
index 3be2013133ad5de1bf543d3f6e8cdcb448d45df4..2538cde310777a7dcd17f43f34e1128bfcbbe085 100755 (executable)
@@ -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=$?";
This page took 0.009883 seconds and 4 git commands to generate.