☰

Bundle configuration

Author(s): The Ciao Development Team.

This module computes the values of bundle configuration flags (bundle_flags) based on configuration parameters the configuration rules (Manifest/*.hooks.pl files).

TODO: Write documentation for the syntax and semantics of configuration rules.

The configuration process may invoke external configuration tools if required.

The flags given in a configuration are recorded for each bundle (in build/bundlereg/<bundle>.bundlecfg_input) and given again in its next configurations, so that a configuration changes only the flags it names. The other values are computed again by the configuration rules, since they may depend on the environment. The option --fresh ignores the recorded flags, --unset <flag> forgets the recorded value of a flag, and --show-input shows the recorded flags.

Documentation on exports

Usage:bundle_flag_datum(Bundle,Name,Datum)

Datum (which implements bundle_flag) is the flag Name of Bundle: the element Name of its map flag (in its hooks), a flag derived from one of its foreign dependencies (see foreign_dep_flags), or the flag of one of its optional items (see item_flags); in this order.

Usage:config_flag_lit(Flag)

flag(F(V)) in the rules of a bundle flag (see bundlehooks_rt): the flag F (of the bundle of the flag being configured, unless qualified as B:F(V)) is configured, if not yet, and its value is V

No further documentation available for this predicate.

No further documentation available for this predicate.

Usage:bundleset_configure(BundleSet,Flags)

Configure the bundles specified in BundleSet using their configuration rules and the input provided by Flags and/or user interaction (if interactive_config flag is specified).

No further documentation available for this predicate.

No further documentation available for this predicate.

No further documentation available for this predicate.

No further documentation available for this predicate.

No further documentation available for this predicate.

No further documentation available for this predicate.

No further documentation available for this predicate.

No further documentation available for this predicate.