如何用树来构建gem5? [英] How to build gem5 out of tree?

查看:76
本文介绍了如何用树来构建gem5?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正常的构建命令:

scons build/ARM/gem5.opt

将构建版本放置在源代码树中的位置:

places the build inside the source tree at:

build/

如何将其放置在自定义位置?

How to place it in a custom location?

我找不到任何相关的scons选项.

I could not find any relevant scons options.

推荐答案

I asked on the mailing list and the devs showed me that the following works:

scons /any/path/that/you/want/build/ARM/gem5.opt

gem5的构建系统只是神奇地解析了路径,并从中提取了拱门和opt.

gem5's build system just parses the path magically, and extracts the arch and opt from it.

build/部分是必需的.

在gem5 8e11ea0e5862f2b088b4b21c32933b623b84efcc上测试

Tested on gem5 8e11ea0e5862f2b088b4b21c32933b623b84efcc

这篇关于如何用树来构建gem5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆