使用构建系统进行可重复的研究?
我正在做一个研究项目,涉及一系列程序,每个程序都会生成一个输出文件,该文件将成为下一个程序的输入。我希望能够轻松地重复用于创建所需输出的一系列命令。看起来 make 或任何其他构建系统都非常适合此任务,但是我看过的所有构建系统(除了 make 本身)似乎强烈偏向于从源代码构建可执行文件,而且我不知道如何用它们做任何其他事情。除了将源代码编译成可执行文件之外,是否有人有使用构建系统执行任务的经验?我可以轻松地使用构建系统来促进可重复的研究,还是应该寻找不同类型的工具?
I am doing a research project that involves a pipeline of programs, each generating an output file that becomes the input for the next program. I would like to make it easy to repeat the series of commands that I used to create the desired output. It seems like make or any other build system would be a good fit for this task, but all the build systems that I've looked at (except for maybe make itself) seem to be strongly biased toward building executabe files from source code, and I can't figure out how to do anything else with them. Does anyone have experience using a build system for tasks other than compiling source code into executables? Can I easily use a build system to facilitate reproducible research, or should I be looking for a different kind of tool?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我最终自己解决了这个问题。我正在使用普通的旧 (GNU) Makefile。
Well, I figured this out by myself eventually. I'm using plain old (GNU) Makefiles.