phase1: remove unused 'cc_version'
authorThibaut VARÈNE <hacks@slashdirt.org>
Wed, 19 Oct 2022 14:24:46 +0000 (16:24 +0200)
committerPetr Štetiar <ynezz@true.cz>
Mon, 15 May 2023 15:36:01 +0000 (17:36 +0200)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
phase1/config.ini.example
phase1/master.cfg

index ccc7d31e431c23b53cf4230c3755785e43669cab..ceeace40fb554304b121e42b23104383819acba6 100644 (file)
@@ -10,7 +10,6 @@ status_user = example
 status_password = example
 expire = 1209600
 port = 9989
-cc_version = le 4.9
 git_ssh = true
 git_ssh_key = -----BEGIN RSA PRIVATE KEY-----
        MIIEpAIBAAKCAQEAuCJwo6OmrRDxcGfsMgBhq0vdzp2ZIdqnedFH8u6tVYLt9WDU
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))