projects
/
gruntmaster-daemon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
ab4d402
)
Fix D and Ocaml compilers
author
Marius Gavrilescu
<marius@ieval.ro>
Thu, 11 Feb 2016 23:20:47 +0000
(23:20 +0000)
committer
Marius Gavrilescu
<marius@ieval.ro>
Thu, 11 Feb 2016 23:20:47 +0000
(23:20 +0000)
gruntmaster-compile
patch
|
blob
|
blame
|
history
diff --git
a/gruntmaster-compile
b/gruntmaster-compile
index 3be2013133ad5de1bf543d3f6e8cdcb448d45df4..2538cde310777a7dcd17f43f34e1128bfcbbe085 100755
(executable)
--- 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 '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 'ocaml
c
', qw/-o/, $basename, $name when 'OCAML';
- exec '
dmd', qw/-version=ONLINE_JUDGE -O -release -inline -noboundscheck/
, $name when 'D';
+ exec 'ocaml
opt
', 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=$?";
when ('BRAINFUCK') {
system 'bfc', $name and die "bfc failed: errno=$! return=$?";
This page took
0.01132 seconds
and
4
git commands to generate.