为什么每次我运行文件时都会构建NS3
我正在研究NS3,并且正在使用./ns3 cmake包装器来运行.cc文件。问题在于,即使没有代码更改,NS3每次运行文件时都会构建所有依赖关系。这是预期的吗?这确实是在努力,我在NS3手册中看到它不应每次构建,只构建必要的内容
I am working on NS3 and I am using the ./ns3 cmake wrapper to run my .cc files. The issue is that the ns3 builds all the dependencies every time i run a file, even when there are no code changes. Is this expected? This is really hogging my time and I see in the NS3 manual that it should not build every single time, and builds only what is necessary
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您报告的行为不应发生,尤其是当您使用最新的NS-3.36.1版本时。如果与该版本或更高版本有关,请提交一个问题,其中包含足够的详细信息,以便维护者尝试重现该问题。无论如何,您甚至可以通过将
- no-Build
选项传递给./ ns3 Run Run
命令是否需要检查是否需要新构建。The behavior you report should not be happening, especially if you are using the latest ns-3.36.1 release. If it is with that release or later, please file an issue with enough details for a maintainer to try to reproduce the issue. In any case, you can suppress even checking whether a new build is needed by passing the
--no-build
option to./ns3 run
command.