aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-11-01 08:51:58 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2024-11-04 10:39:49 +0200
commit9bd9d3f9b219e77c0a6b39b7c846d3ad471a3316 (patch)
tree33c472134ec250604c2e8fe79e97060cafc4680b /doc
parent0710d41d9bca93c3d045242859dbe74aa12e93f7 (diff)
Document support for configuration-specific dependencies in *-build-config values
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.cli15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/manual.cli b/doc/manual.cli
index 64275ce..e22cfd4 100644
--- a/doc/manual.cli
+++ b/doc/manual.cli
@@ -2576,7 +2576,11 @@ variables, and dependencies are passed to the \l{bpkg-pkg-build(1)} command at
the \c{bpkg.configure.build} step. The package-specific configuration
variables for this and/or the separate test packages are passed to
\l{bpkg-pkg-build(1)} at the \c{bpkg.configure.build} and
-\c{bpkg.test-separate-installed.configure.build} steps. For example:
+\c{bpkg.test-separate-installed.configure.build} steps. The dependencies of
+these packages can be configured at these steps in various configurations by
+specifying the package-specific \c{--config-uuid} option(s) and configuration
+variables or the \c{[?]sys:} prefix (see \l{bbot#arch-worker configuration
+UUIDs}). For example:
\
network-build-config: config.libfoo.network=true; Enable networking API.
@@ -2620,6 +2624,15 @@ load-tests-build-config:
;
Enable load testing.
\\
+
+default-build-config:
+\\
+# Configure libbar-tests package's dependency libfoo as system on the
+# bpkg.test-separate-installed.configure.build step, since it is
+# already installed as a dependency of libbar.
+#
+{ --config-uuid=00000000-0000-0000-0000-000000000005 }+ ?sys:libfoo/*
+\\
\
Note that options with values can only be specified using the single argument