From 67b814bee039d1a6b0fd941729b4473ae1571f3a Mon Sep 17 00:00:00 2001 From: memsharded Date: Wed, 22 Oct 2025 17:05:28 +0200 Subject: [PATCH] CONAN_DEFAULT_BUILD_PROFILE env-var --- reference/environment.rst | 11 ++++++----- tutorial/other_features.rst | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/reference/environment.rst b/reference/environment.rst index 8058f1700b4b..68d986a873ec 100644 --- a/reference/environment.rst +++ b/reference/environment.rst @@ -21,12 +21,13 @@ By default, if it is not defined, it will be ``/.conan2``. like those that can happen in CI, need to use a separate cache, and defining ``CONAN_HOME`` is the way to do it. -CONAN_DEFAULT_PROFILE ---------------------- +CONAN_DEFAULT_PROFILE, CONAN_DEFAULT_BUILD_PROFILE +-------------------------------------------------- -The default profile will be the ``"default"`` file in the Conan cache. This environment variable allows to define -a different default name. There are also ``conf`` items ``core:default_profile`` and ``core:default_build_profile`` -to define such default profile names, this env-var should be used only when the ``conf`` is not enough. +The default profile will be the ``"default"`` file in the Conan cache. These environment variables allow to define +a different default for the host and build profiles respectively. There are also equivalent ``conf`` items +``core:default_profile`` and ``core:default_build_profile`` to define such default profile names. +In general, env-vars should be used only when the ``conf`` is not enough. Remote login variables diff --git a/tutorial/other_features.rst b/tutorial/other_features.rst index e68959dfcbb1..2d7468b42952 100644 --- a/tutorial/other_features.rst +++ b/tutorial/other_features.rst @@ -33,7 +33,7 @@ Removing unused packages from the cache .. warning:: - The least recently used feature is in **preview**. + The (lru) least recently used feature is in **preview**. See :ref:`the Conan stability` section for more information.