From d25db3fcd4e80045fcbd85f1ca529ec695fda45d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 11 Oct 2024 12:11:26 +0300 Subject: Document which configurations are created for which package types in worker --- bbot/worker/worker.cxx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx index 285bf5e..7ad9e30 100644 --- a/bbot/worker/worker.cxx +++ b/bbot/worker/worker.cxx @@ -2386,6 +2386,28 @@ build (size_t argc, const char* argv[]) // bool create_install (!target_pkg && (install_root || bindist)); + // Here is the table of the configurations created for the different types + // of packages (see below for details on configurations created for the + // test installed case). Columns are package types (target, host, or + // module) and rows are configuration types created: + // + // target host module + // --------------------------------------------------------------- + // target yes build-time tests build-time tests + // host private yes build-time tests + // module private build-time tests yes + // install no install/bindist install/bindist + // + // And only if has run-time tests (only target package or host package for + // self-hosted configurations) or has build-time tests (only host or + // module package): + // + // target host module + // --------------------------------------------------------------- + // target installed yes build-time tests yes + // host installed private configure sys: yes + // module installed private build-time tests configure sys: + // Configuration where the package will be installed from. // dir_path effective_install_conf ( -- cgit v1.1