可以使用 FinalBuilder 每天构建一个 Fortran 项目(F77、F90 及更高版本)吗?
总结: 使用 Scons 或 Foray (TCBuild) 可能更好,因为它们可以解决 Fortran (Fortran 90) 依赖关系。
==========================================
每日构建或夜间构建是每天对程序的最新版本进行软件构建的做法。
要每天构建一个 Fortran 项目,似乎可以使用 cron、hudson、SCons 或 Foray(TCBuild)代码>.然而,分析 cron 的结果并不那么简单; hudson
或 Scons
的设计并未考虑到 Fortran; Foray(TCBuild)
瞄准F90。 (如果我错了,请在这里纠正我。)
同时,FinalBuilder 是 Delphi 的一个优秀的构建工具。我想知道是否可以利用 FinalBuilder 来自动化 Fortran 项目的日常构建?我想主要问题是解决依赖关系?
附: 以下 stackoverflow 页面中提到了 cron
和 hudson
:
自动化每日构建的最佳方式
Scons
可以在这里找到:
http://www.scons.org/
Foray(TCBuild)
已这里介绍一下
http://macresearch.org/tcbuild-new-build-tool-fortran
可以在这里获取:
http://code.google.com/p/foraytool/
Summarization: It is probably better using Scons or Foray (TCBuild) because they can solve Fortran (Fortran 90) dependencies.
========================================
To daily build a fortran project, it seems that one could use cron
, hudson
, SCons
or Foray(TCBuild)
. However, analyzing the outcome of cron
is not quite straightforward; hudson
or Scons
is not designed with fortran in mind; Foray(TCBuild)
aims at F90. ( Correct me here if I am wrong.)
Meanwhile, FinalBuilder is an excellent building tool for Delphi. I am wondering whether one can utilize FinalBuilder to automate the dailybuilding of a fortran project? I guess the main problem is to solve dependencies?
PS:cron
and hudson
have been mentioned in the following stackoverflow page:
Best Way of Automating Daily Build
Scons
can be found here:
http://www.scons.org/
Foray(TCBuild)
has been introduced here
http://macresearch.org/tcbuild-new-build-tool-fortran
and can be fetched here:
http://code.google.com/p/foraytool/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我没有使用 Fortran。
FinalBuilder 目前没有针对 Fortran 的内置操作。
FinalBuilder 可以执行任何可以通过命令提示符运行并捕获输出的内容。
FinalBuilder 6 引入了一项新功能,允许您创建 Action 输出监视器。这些监视器允许您触发不同的行为并基于查找特定的字符串
在输出中。
I am not using Fortran.
FinalBuilder currently does not have built in action for Fortran.
FinalBuilder can execute anything at that can run via a command prompt and capture the output.
FinalBuilder 6 introduced a new feature which allows you to create Action output monitors. These monitors allow you trigger different behaviors and based on finding specific strings
in the output.
如果您可以编写命令行或批处理文件来编译 Fortran 程序,那么您也可以让 FinalBuilder 来完成它。我曾经使用命令行操作构建我的 Delphi 程序,因为我的 FB 版本仅“本机”支持最高 D2006 并且我没有升级它。
但是我现在使用 Ant 脚本和 Hudson。非常适合我的 Delphi、FreePascal 和 C 程序。但必须承认,我已经 20 多年没有构建过 Fortran 程序了,所以我无法对依赖性问题发表评论。
If you can write a command line or batch file to compile your Fortran program then you can get FinalBuilder to do it too. I used to build my Delphi programs using a command line action because the version of FB that I have only supports up to D2006 "natively" and I haven't upgraded it.
However I now use Ant scripts and Hudson. Works a treat for my Delphi, FreePascal and C programs. Must admit though that I haven't built a Fortran prog for over 20 years so I'm not able to comment on the dependency issues.
最简单的方法是创建一个最终的构建器项目,它调用编译脚本,除了您必须做的所有准备工作:签出、运行测试等。我每天都使用它,它工作得很好,完美无缺。
因此,在 Fortran 中使用 Final Builder 非常简单。
the easiest way is to create a final builder project which calls the compiling script, in addition to all the preparing stuff you have to do: check out, run tests, etc. i use it every day and it works fine and flawlessly.
so it is very simple to use final builder with fortran.
我非常喜欢将 Final Builder 与 Delphi 或任何具有 MSBuild 集成的东西(如 Visual Studio、C++、C#)一起使用。
但我认为对于 fortran 项目,你最好使用 Hudson(现在是 Jenkins?),因为它可以让你以非常好的方式处理工件(结果),并且任何远程签入代码的人都可以对代码进行排队。远程构建。
我知道最终构建器也有服务器版本。您应该(如果您将有多个高级人员签入并需要将构建进行质量检查)考虑基于网络的解决方案(例如 Hudson/Jenkins 或 Final Builder Server)。
其次,看起来您正在谈论的工具有重叠,但不一定相互排斥。例如,您可以使用 Hudson 加 SCons 或 ForayBuild。一个更像是“make for fortran”,另一个更像是一个 Web 界面,用于触发构建批处理文件,然后启动 SCons 或其他东西。
I am a big fan of using Final Builder with Delphi or anything that has MSBuild integration (like Visual Studio, C++, C#).
But I would think you would be better off with Hudson (now Jenkins?) for fortran projects, because of the very nice way it lets you deal with artifacts (results), and the way that anybody who has remotely checked in code can queue a build remotely.
I know final builder has a server version too. You should (if you are going to have multiple senior level people checking in and needing to get builds to QA) consider a network based solution (like Hudson/Jenkins, or Final Builder Server).
Secondly, it looks like the tools you are talking about overlap, but don't necessarily preclude each other. YOu could use Hudson plus SCons or ForayBuild, for example. One is more like a "make for fortran", and the other is more of a web interface for triggering your build batch file, which would then launch SCons or something else.