+def compile_init(e):
+ boxdir = moe.box.setup(e)
+ pdir = e.cfgs["TASK_DIR"]
+ tdir = e.cfgs["TEST_DIR"]
+ shutil.copyfile(os.path.join(tdir, e.cfgs["SRC"]), os.path.join(boxdir, e.cfgs["SRC"]))
+ for x in e.cfgs["EXTRAS"].split() + e.cfgs["COMP_EXTRAS"].split()
+ xx = os.path.join(tdir, x)
+ if not os.path.isfile(xx):
+ xx = os.path.join(pdir, x)
+ e.log.verbose("Copying extra file %s\n" % xx)
+ shutil.copyfile(xx, os.path.join(boxdir, x))
+ pass
+
+def compile_run(e):
+ moe.box.show(e, "compiler input")
+ rc = moe.box.run(e, e.cfgs["COMP_SANDBOX_OPTS"], e.cfgs["COMP"])
+ moe.box.show(e, "compiler output")
+ pass
+
+def compile_done(e):