Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IPDSnelting
spec.py
Commits
fbf0d6ba
Commit
fbf0d6ba
authored
Sep 08, 2010
by
Andreas Zwinkau
Browse files
Include primary cache size
parent
daaf227d
Changes
1
Hide whitespace changes
Inline
Side-by-side
spec.py
View file @
fbf0d6ba
...
...
@@ -240,6 +240,7 @@ def generate_spec_config(options):
contents
.
append
(
"hw_ncoresperchip = %d"
%
cores_per_chip
)
contents
.
append
(
"hw_vendor = %s"
%
cpuinfo
[
"vendor_id"
])
contents
.
append
(
"hw_memory = %s"
%
meminfo
[
"MemTotal"
])
contents
.
append
(
"hw_pcache = %s"
%
cpuinfo
[
"cache size"
])
contents
.
append
(
""
)
contents
.
append
(
"CC = %s"
%
options
.
c_compiler
)
contents
.
append
(
"CXX = %s"
%
options
.
cpp_compiler
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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