]> mj.ucw.cz Git - eval.git/blob - config
eea4db1cc577240accddcca210a40c10c2157376
[eval.git] / config
1 # Configuration file for MO Evaluator
2 # (c) 2001 Martin Mares <mj@ucw.cz>
3
4 # Directories and users
5 MO_ROOT=/aux/mo
6 EVAL_USER=mo-eval
7 EVAL_GROUP=mo-eval
8 TEST_USERS="mo-test1 mo-test2"
9
10 # UID range assigned to contestants
11 CT_UID_MIN=65100
12 CT_UID_MAX=65199
13
14 # If the contestants are not present in /etc/passwd on the evaluating machine,
15 # we need a list of them (username<tab>fullname).
16 #CT_USER_LIST=userlist
17
18 # Test user for sandboxing
19 TEST_USER=${TEST_USER:mo-test1}
20
21 ### all of the following variables can be overriden in per-task config file
22
23 # Default task type (file or interactive)
24 TASK_TYPE=file
25
26 # Known source file extensions
27 EXTENSIONS="c C cpp p pas"
28
29 # Extra compiler flags for C (null, but can be overriden)
30 EXTRA_CFLAGS=
31
32 # Extra compiler flags for Pascal
33 EXTRA_PFLAGS=
34
35 # For each source extension, we must give compiler command
36 COMP_c='/usr/bin/gcc -O2 -g -o $EXE $EXTRA_CFLAGS $SRC'
37 COMP_C='/usr/bin/g++ -O2 -g -o $EXE $EXTRA_CFLAGS $SRC'
38 COMP_cpp="$COMP_C"
39 COMP_p='/usr/bin/fpc -Ci -Cr -g -O2 -So -Sg -o$EXE $EXTRA_PFLAGS $SRC'
40 COMP_pas="$COMP_p"
41
42 # Sandbox options used when compiling
43 COMP_SANDBOX_OPTS='-m65536 -t60 -w -e'
44
45 # Sandbox initializaton commands for compilation
46 COMP_SANDBOX_INIT=
47
48 # Sandbox options used when testing
49 TEST_SANDBOX_OPTS='-a2 -f -m$MEM_LIMIT -t$TIME_LIMIT'
50 # -w for wall clock measuring
51 # For stdio tasks append '-i$PROBLEM.in -o$PROBLEM.out'
52 SANDBOX_INIT=