(Re-)Build of executables
The davai-build command does 2 sequential things:
- Fetch sources interactively.
- Build in each flavour, submitting one batch job building sequentially for each compilation flavour (DP, SP, compiler...).
Build with gmkpack
Tasks:
Fetch sources:
from an IAL git ref:
gitref2pack: fetch/pull the sources from the requested Git reference and set one or several incrementalgmkpack's pack(s) – depending oncompilation_flavoursas set in config. The packs are then populated with the set of modifications, from the latest official tag to the contents of your branch (including non-commited modifications).from a bundle:
bundle2pack: fetch the sources of the projects as described in the bundle and set one or severalgmkpack's pack(s) – depending oncompilation_flavoursas set in config – and populate them with the projects.
pack2bin: compile sources and link necessary executables (i.e. those used in the tests), for each pack flavour.
In case the compilation fails, or if you need to (re-)modify the sources for any reason (e.g. fix an issue):
implement corrections in the branch (commited or not)
re-run the build:
davai-build -e(option
-eor--preexisting_packassumes the pack already preexists; this is a protection against accidental overwrite of an existing pack. The option can also be passed todavai-run_xp)and then if build successful
davai-run_tests
Build with [cmake/ecbuild...]
Not implemented yet.