autobuild: add compiler version to results tarball
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 4 May 2018 03:26:47 +0000 (15:26 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Sat, 5 May 2018 02:32:42 +0000 (04:32 +0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
script/autobuild.py

index 0ac65f1..5a7b7bc 100755 (executable)
@@ -520,7 +520,7 @@ class buildlist(object):
     def write_system_info(self):
         filename = 'system-info.txt'
         f = open(filename, 'w')
-        for cmd in ['uname -a', 'free', 'cat /proc/cpuinfo']:
+        for cmd in ['uname -a', 'free', 'cat /proc/cpuinfo', 'cc --version']:
             print('### %s' % cmd, file=f)
             print(run_cmd(cmd, output=True, checkfail=False), file=f)
             print(file=f)