diff options
| author | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2022-10-20 16:33:01 +0200 |
|---|---|---|
| committer | Cristián Maureira-Fredes <cristian.maureira-fredes@qt.io> | 2023-02-02 00:21:18 +0100 |
| commit | f799f1dd678cd17b59436a0c3a734135841eaa10 (patch) | |
| tree | daec6b6ce7bb7e01db9c0409ac80ca49c685a0c8 /build_scripts/platforms/linux.py | |
| parent | 945424bd2e94673a465460c4c4a32b7738b912e0 (diff) | |
build: introduce log level
Removed the "quiet" and "verbose" older approach,
and introduced a 3-level configuration so we can switch
between them depending of the amount of output we need.
By default, the log level is set to INFO,
but it can be changed to VERBOSE and QUIET.
The older "--verbose-build" and "--quiet" options were deprecated.
The new way for setting the log level is:
--log-level=quiet
--log-level=verbose
--log-level=info (default)
The default option was made less verbose, controlling the output
of the logging module, and cmake:
for verbose it uses DEBUG, quiet uses ERROR, and no option uses INFO.
Change-Id: Ida0289e3ea0ed09b7489a7513254137bba186fd0
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'build_scripts/platforms/linux.py')
| -rw-r--r-- | build_scripts/platforms/linux.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_scripts/platforms/linux.py b/build_scripts/platforms/linux.py index df99de823..ecfa248d6 100644 --- a/build_scripts/platforms/linux.py +++ b/build_scripts/platforms/linux.py @@ -3,6 +3,7 @@ from pathlib import Path +from ..log import log from ..config import config from ..options import OPTION from ..utils import (copy_icu_libs, copydir, copyfile, find_files_using_glob, @@ -20,6 +21,8 @@ def prepare_standalone_package_linux(pyside_build, _vars, cross_build=False): copy_qt_conf = True should_copy_icu_libs = True + log.info("Copying files...") + if config.is_internal_shiboken_generator_build(): constrain_modules = ["Core", "Network", "Xml", "XmlPatterns"] copy_plugins = False |
