Commit 9b91e315 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Fix syntax errors

parent 1fad9a44
...@@ -353,7 +353,7 @@ def generate_spec_config(options): ...@@ -353,7 +353,7 @@ def generate_spec_config(options):
contents.append("sw_compiler2 = %s" % get_compiler_version(options.cpp_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_compiler3 = %s" % get_compiler_version(options.fortran_compiler))
contents.append("sw_file = %s" % path_to_filesystem(".")) contents.append("sw_file = %s" % path_to_filesystem("."))
assert int(BITSIZE), "bitsize is ",BITSIZE assert int(BITSIZE), "bitsize is "+BITSIZE
contents.append("sw_base_ptrsize = %d-bit" % BITSIZE) contents.append("sw_base_ptrsize = %d-bit" % BITSIZE)
contents.append("sw_peak_ptrsize = %d-bit" % BITSIZE) contents.append("sw_peak_ptrsize = %d-bit" % BITSIZE)
contents.append("") contents.append("")
...@@ -391,7 +391,7 @@ def generate_spec_config(options): ...@@ -391,7 +391,7 @@ def generate_spec_config(options):
if __name__ == "__main__": if __name__ == "__main__":
(options, args) = parser.parse_args() (options, args) = parser.parse_args()
conf = generate_spec_config(options) conf = generate_spec_config(options)
fh = open("config/generated.cfg", 'w'): fh = open("config/generated.cfg", 'w')
fh.write(conf) fh.write(conf)
fh.close() fh.close()
if options.config_only: if options.config_only:
......
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