work_dir = os.path.abspath(ini.get("general", "workdir") or ".")
scripts_dir = os.path.abspath("../scripts")
tree_expire = 0
-other_builds = 0
cc_version = None
cc_command = "gcc"
if ini.has_option("phase1", "expire"):
tree_expire = ini.getint("phase1", "expire")
-if ini.has_option("phase1", "other_builds"):
- other_builds = ini.getint("phase1", "other_builds")
-
if ini.has_option("phase1", "cc_version"):
cc_version = ini.get("phase1", "cc_version").split()
if len(cc_version) == 1:
@properties.renderer
def GetNumJobs(props):
if props.hasProperty("max_builds") and props.hasProperty("nproc"):
- return str(int(int(props["nproc"]) / (props["max_builds"] + other_builds)))
+ return str(int(int(props["nproc"]) / props["max_builds"]))
else:
return "1"