gem5: gem-regression downloads test binaries to a fixed location outside of source tree with the newly added --bin-path option

Otherwise each --gem5-worktree would download its own copy of the test
binaries into its own source tree.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-02-23 00:00:02 +00:00
parent 2f7047024d
commit 0fdd354551
3 changed files with 7 additions and 3 deletions

View File

@@ -844,6 +844,7 @@ Incompatible archs are skipped.
# gem5
if not env['_args_given']['gem5_build_dir']:
env['gem5_build_dir'] = join(env['gem5_out_dir'], env['gem5_build_id'])
env['gem5_test_binaries_dir'] = join(env['gem5_out_dir'], 'test_binaries')
env['gem5_m5term'] = join(env['gem5_build_dir'], 'm5term')
env['gem5_build_build_dir'] = join(env['gem5_build_dir'], 'build')
env['gem5_executable_dir'] = join(env['gem5_build_build_dir'], env['gem5_arch'])