From 9bd9d3f9b219e77c0a6b39b7c846d3ad471a3316 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 1 Nov 2024 08:51:58 +0200 Subject: Document support for configuration-specific dependencies in *-build-config values --- doc/manual.cli | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'doc') 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 -- cgit v1.1