Meta-information is generally for OpenFOAM internal use only.
The format, content and meaning may be changed at anytime without prior notice. If any of these are changed, these are some of places that will need to be updated accordingly:
This file and its contents are to be tracked by git.
wmake -build-info
from the
OPENFOAM
define in wmake/rules/General/general
This file is never to be tracked by git, but may be present in shipped source archives.
wmake -build-info
from
git information and cached from previous wmake (api)Format: date +%y%m
2106
for the June-2021 release.Format: date +%y%m%d
0
or 1
which
indicates that it is unpatched or just released. Alternatively
it can have a patch value corresponding to the release date.The patch value is only meaningful together with the api value.
However, for development branches, the patch level should not be
ascribed too much meaning, but will often correspond to the last
merge with a maintenance (eg, master
) branch.
Changes in the build information must be reflected in information available in the final binaries. Conversely, it is necessary for later distributions to have a record of the same information.
property | source | saved |
---|---|---|
api | wmake/rules | api-info |
patch | manual (api-info) | build-info |
branch | git | build-info |
build | git | build-info |
The command wmake -build-info -check
is used to determine if
the saved information needs synchronization. The command
wmake -build-info -update
performs the synchronization.
The saved information is split into two separate files.
The api-info
file contains more permanent information,
whereas the build-info
is more transient in nature.
2021-06-09
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。