Commit 7d6a5543 authored by Christian Dietrich's avatar Christian Dietrich
Browse files

experiments/lib: call reconfigure on every new commit

Some build systems need a reconfigure. However, we do not want to
measure that, since it is single threaded and way too slow.
parent 49fffe49
......@@ -73,8 +73,7 @@ class HistoricalCompilation(Experiment, ClangHashHelper):
for commit in commits:
shell("cd %s; git reset --hard %s", src_path, commit[0])
info = {"commit": commit[0], "summary": commit[1]}
if self.project_name() == "lua":
self.rebuild(src_path, info, fail_ok=True)
if not info.get("failed"):
......@@ -68,6 +68,12 @@ class ClangHashHelper:
raise RuntimeError("Not a valid project")
def call_reconfigure(self, path):
if self.project_name() in ('lua',):
if self.project_name() in ('cpython',):
shell("cd %s/build; make config.status", path)
def call_make(self, path):
if self.project_name() in ("mbedtls", "cpython"):
return shell("cd %s/build; make -j %s", path, str(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment