Commit 877bfad9 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Output compiler info in multiple lines

parent 7e6404bd
......@@ -141,14 +141,6 @@ def get_compiler_version(compiler):
for line in d:
return line
def get_sw_compiler(options):
"""Generate a string with all compiler versions"""
return "; ".join([
get_compiler_version(options.c_compiler),
get_compiler_version(options.cpp_compiler),
get_compiler_version(options.fortran_compiler)
])
PORTABILITY_FLAGS = dict()
PORTABILITY_FLAGS[("SPEC CPU2000", "Ubuntu", 32)] = """\
176.gcc=default=default=default:
......@@ -226,7 +218,9 @@ def generate_spec_config(options):
contents.append("iterations = %d" % options.iterations)
contents.append("")
contents.append("sw_os = %s %s %s" % (LINUX_NAME, LINUX_VERSION, LINUX_CODENAME))
contents.append("sw_compiler = %s" % get_sw_compiler(options))
contents.append("sw_compiler1 = %s" % get_compiler_version(options.c_compiler))
contents.append("sw_compiler2 = %s" % get_compiler_version(options.cpp_compiler))
contents.append("sw_compiler3 = %s" % get_compiler_version(options.fortran_compiler))
contents.append("sw_file = %s" % path_to_filesystem("."))
contents.append("sw_base_ptrsize = %d-bit" % BITSIZE)
contents.append("sw_peak_ptrsize = %d-bit" % BITSIZE)
......
Markdown is supported
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