13 from util import Lazy |
13 from util import Lazy |
14 |
14 |
15 from mira.report import Report, Report_Content |
15 from mira.report import Report, Report_Content |
16 from mira.case import Case |
16 from mira.case import Case |
17 from mira.tools import tool |
17 from mira.tools import tool |
18 from mira import schedule |
18 from mira import schedule, misc |
19 from mira.environment import scheduler |
19 from mira.environment import scheduler |
20 |
20 |
21 |
21 |
22 # build and evaluation tools |
22 # build and evaluation tools |
23 |
23 |
179 {'timing': extract_isabelle_run_timing(log)}, {'log': log}, result) |
179 {'timing': extract_isabelle_run_timing(log)}, {'log': log}, result) |
180 |
180 |
181 |
181 |
182 def isabelle_makeall(env, case, paths, dep_paths, playground, usedir_options=default_usedir_options, |
182 def isabelle_makeall(env, case, paths, dep_paths, playground, usedir_options=default_usedir_options, |
183 more_settings='', target='all', make_options=()): |
183 more_settings='', target='all', make_options=()): |
|
184 |
|
185 # FIXME!? |
|
186 if 'lxbroy10' in misc.hostnames(): |
|
187 make_options += ('-j', '8') |
|
188 usedir_options += " -M 6 -q 2 -i false -d false" |
|
189 more_settings += ''' |
|
190 ML_PLATFORM="x86_64-linux" |
|
191 ML_HOME="/home/polyml/polyml-svn/x86_64-linux" |
|
192 ML_SYSTEM="polyml-5.4.1" |
|
193 ML_OPTIONS="-H 8000 --gcthreads 6" |
|
194 ''' |
184 |
195 |
185 isabelle_home = paths[0] |
196 isabelle_home = paths[0] |
186 dep_path = dep_paths[0] if dep_paths else None |
197 dep_path = dep_paths[0] if dep_paths else None |
187 prepare_isabelle_repository(isabelle_home, env.settings.contrib, dep_path, |
198 prepare_isabelle_repository(isabelle_home, env.settings.contrib, dep_path, |
188 usedir_options=usedir_options, more_settings=more_settings) |
199 usedir_options=usedir_options, more_settings=more_settings) |