stream: play with the STREAM benchmark

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-11-27 00:00:00 +00:00
parent ff14f6bdcf
commit c3f2045e1f
7 changed files with 181 additions and 9 deletions

View File

@@ -42,13 +42,13 @@ https://cirosantilli.com/linux-kernel-module-cheat#dhrystone
'-j', str(self.env['nproc']), LF,
'-C', os.path.join(self.env['submodules_dir'], 'dhrystone'), LF,
'CC={}'.format(self.env['gcc_path']), LF,
'CFLAGS={}'.format(' '.join(cflags)), LF,
'CFLAGS_EXTRA={}'.format(' '.join(cflags)), LF,
'EXTRA_OBJS={}'.format(' '.join(extra_objs)), LF,
'OUT_DIR={}'.format(build_dir), LF,
]
+ extra_flags
)
if ret == 0 and env['copy_overlay']:
if ret == 0 and self.env['copy_overlay']:
self.sh.copy_file_if_update(
os.path.join(build_dir, 'dhrystone'),
os.path.join(self.env['out_rootfs_overlay_lkmc_dir'], self.root_relpath, 'dhrystone'),