mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fix the core detection on Linux.
This commit is contained in:
parent
6e583e5d3e
commit
b83b596ba0
@ -40,7 +40,7 @@ def load():
|
||||
try:
|
||||
for l in output.split('\n'):
|
||||
count = l.split(':')[1].strip()
|
||||
if count > cpus:
|
||||
if int(count) > ncpus:
|
||||
ncpus = int(count)
|
||||
except:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user