]> mj.ucw.cz Git - moe.git/blob - config
Implemented submit --force
[moe.git] / config
1 # Configuration file for MO Evaluator
2 # (c) 2001 Martin Mares <mj@ucw.cz>
3
4 # Directories and users
5 MO_ROOT=/home/mo
6 EVAL_USER=mo-eval
7 EVAL_GROUP=mo-eval
8 TEST_USERS="mo-test1 mo-test2"
9
10 # Test user for sandboxing
11 TEST_USER=${TEST_USER:mo-test1}
12
13 ### all of the following variables can be overriden in per-task config file
14
15 # Known source file extensions
16 EXTENSIONS="c C cpp p pas"
17
18 # Extra compiler flags (null, but can be overriden)
19 EXTRA_CFLAGS=
20
21 # For each source extension, we must give compiler command
22 COMP_c='/usr/bin/gcc -O2 -g -o $EXE $EXTRA_CFLAGS $SRC'
23 COMP_C='/usr/bin/g++ -O2 -g -o $EXE $EXTRA_CFLAGS $SRC'
24 COMP_cpp="$COMP_C"
25 COMP_p='/usr/bin/fpc -Ci -Cr -g -O2 -So -Sg -o$EXE $EXTRA_CFLAGS $SRC'
26 COMP_pas="$COMP_p"
27
28 # Sandbox options used when compiling
29 COMP_SANDBOX_OPTS='-m65536 -t60 -w -e'
30
31 # Sandbox options used when testing
32 TEST_SANDBOX_OPTS='-a2 -f -m$MEM_LIMIT -t$TIME_LIMIT'
33 # -w for wall clock measuring
34 # For stdio tasks append '-i$PROBLEM.in -o$PROBLEM.out'