summaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/externalproject.py
AgeCommit message (Collapse)Author
2025-08-26Print external project logfile on CI systemsTobias Diez
2024-12-19mtest: move determine_worker_count to utils, generalizePaolo Bonzini
It is useful to apply a limit to the number of processes even outside "meson test", and specifically for clang tools. In preparation for this, generalize determine_worker_count() to accept a variable MESON_NUM_PROCESSES instead of MESON_TESTTHREADS, and use it throughout instead of multiprocessing.cpu_count(). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-12-13Use SPDX-License-Identifier consistentlyDylan Baker
This replaces all of the Apache blurbs at the start of each file with an `# SPDX-License-Identifier: Apache-2.0` string. It also fixes existing uses to be consistent in capitalization, and to be placed above any copyright notices. This removes nearly 3000 lines of boilerplate from the project (only python files), which no developer cares to look at. SPDX is in common use, particularly in the Linux kernel, and is the recommended format for Meson's own `project(license: )` field
2023-02-01treewide: add future annotations importEli Schwartz
2022-06-17always run external projects multi-threaded if possibleStaz M
The check for if the project supports the -j flag was needlessly complex. We support two types of project: - waf, always supports -j - make, if GNU, supports -j We never checked waf, and the make check assumed that the entire command, rather than just the last component, was "make". It also neglects "gmake". Since any possible build command *may* support -j, always run the --version check. Detect either build command in the output.
2022-06-17always set DESTDIR via the environment for external projectsStaz M
It doesn't matter whether it is make or not, because make, too, supports setting it via the env. This reduces the use of special cases in the code.
2021-09-14unused variable -- open() does not need "as f"Eli Schwartz
2021-08-20external-project: Add support for WAF build systemXavier Claessens
Fixes: #7638
2021-06-29fix: Always explicitly set encoding for text files (fixes #8263)Daniel Mensinger
2021-03-04mass rewrite of string formatting to use f-strings everywhereEli Schwartz
performed by running "pyupgrade --py36-plus" and committing the results
2021-01-29external_project: Improve loggingXavier Claessens
Write output of 'make' and 'make install' into log files as well when not verbose.
2020-09-13externalproject: Fix typing annotationXavier Claessens
2020-09-13external-project: Add typing annotationXavier Claessens
2020-09-13external-project: New module to build configure/make projectsXavier Claessens
This adds an experimental meson module to build projects with other build systems. Closes: #4316