phase1: remove unused 'cc_version'
[buildbot.git] / phase1 / master.cfg
index be3c3fac05462784ab5d405bda238ce7883abfa5..0c836d7fe9cce3ceb678494284543d8eeaff61db 100644 (file)
@@ -214,7 +214,6 @@ c['prioritizeBuilders'] = prioritizeBuilders
 work_dir = os.path.abspath(ini.get("general", "workdir") or ".")
 scripts_dir = os.path.abspath("../scripts")
 tree_expire = 0
-cc_version = None
 
 cc_command = "gcc"
 cxx_command = "g++"
@@ -227,11 +226,6 @@ git_ssh_key = None
 if ini.has_option("phase1", "expire"):
        tree_expire = ini.getint("phase1", "expire")
 
-if ini.has_option("phase1", "cc_version"):
-       cc_version = ini.get("phase1", "cc_version").split()
-       if len(cc_version) == 1:
-               cc_version = ["eq", cc_version[0]]
-
 if ini.has_option("general", "git_ssh"):
        git_ssh = ini.getboolean("general", "git_ssh")
 
@@ -715,9 +709,7 @@ for target in targets:
                property = "cc_command",
                description = "Finding gcc command",
                command = [
-                       "../findbin.pl", "gcc",
-                       cc_version[0] if cc_version is not None else '',
-                       cc_version[1] if cc_version is not None else ''
+                       "../findbin.pl", "gcc", "", "",
                ],
                haltOnFailure = True))
 
@@ -726,9 +718,7 @@ for target in targets:
                property = "cxx_command",
                description = "Finding g++ command",
                command = [
-                       "../findbin.pl", "g++",
-                       cc_version[0] if cc_version is not None else '',
-                       cc_version[1] if cc_version is not None else ''
+                       "../findbin.pl", "g++", "", "",
                ],
                haltOnFailure = True))