Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
spec.py
Commits
9b91e315
Commit
9b91e315
authored
Sep 10, 2010
by
Andreas Zwinkau
Browse files
Fix syntax errors
parent
1fad9a44
Changes
1
Hide whitespace changes
Inline
Side-by-side
spec.py
View file @
9b91e315
...
...
@@ -353,7 +353,7 @@ def generate_spec_config(options):
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
(
"."
))
assert
int
(
BITSIZE
),
"bitsize is "
,
BITSIZE
assert
int
(
BITSIZE
),
"bitsize is "
+
BITSIZE
contents
.
append
(
"sw_base_ptrsize = %d-bit"
%
BITSIZE
)
contents
.
append
(
"sw_peak_ptrsize = %d-bit"
%
BITSIZE
)
contents
.
append
(
""
)
...
...
@@ -391,7 +391,7 @@ def generate_spec_config(options):
if
__name__
==
"__main__"
:
(
options
,
args
)
=
parser
.
parse_args
()
conf
=
generate_spec_config
(
options
)
fh
=
open
(
"config/generated.cfg"
,
'w'
)
:
fh
=
open
(
"config/generated.cfg"
,
'w'
)
fh
.
write
(
conf
)
fh
.
close
()
if
options
.
config_only
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment