qemu-e2k/.gitlab-ci.d
John Snow 66e2c6cbac configure: use 'mkvenv ensure meson' to bootstrap meson
This commit changes how we detect and install meson. It notably removes
'--meson='.

Currently, configure creates a lightweight Python virtual environment
unconditionally using the user's configured $python that inherits system
packages. Temporarily, we forced the use of meson source present via git
submodule or in the release tarball.

With this patch, we restore the ability to use a system-provided meson:

If Meson is installed in the build venv and meets our minimum version
requirements, we will use that Meson. This includes a system provided
meson, which would be visible via system-site packages inside the venv.

In the event that Meson is installed but *not for the chosen Python
interpreter*, not found, or of insufficient version, we will attempt to
install Meson from vendored source into the newly created Python virtual
environment. This vendored installation replaces both the git submodule
and tarball source mechanisms for sourcing meson.

As a result of this patch, the Python interpreter we use for both our
own build scripts *and* Meson extensions are always known to be the
exact same Python. As a further benefit, there will also be a symlink
available in the build directory that points to the correct, configured
python and can be used by e.g. manual tests to invoke the correct,
configured Python unambiguously.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20230511035435.734312-18-jsnow@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-05-18 08:53:51 +02:00
..
cirrus tests/lcitool: Add mtools and xorriso and remove genisoimage as dependencies 2023-05-16 09:14:18 +02:00
custom-runners gitlab: enable minimal device profile for aarch64 --disable-tcg 2023-05-10 16:02:06 +01:00
opensbi gitlab/opensbi: Move to docker:stable 2023-03-05 15:40:00 -08:00
base.yml gitlab: fix typo 2023-04-04 15:56:44 +01:00
buildtest-template.yml configure: use 'mkvenv ensure meson' to bootstrap meson 2023-05-18 08:53:51 +02:00
buildtest.yml scripts/device-crash-test: Add a parameter to run with TCG only 2023-04-27 14:58:11 +01:00
check-dco.py gitlab: add a CI job to validate the DCO sign off 2020-10-13 12:48:17 +02:00
check-patch.py .gitlab-ci.d/check-patch: tweak output for CI logs 2020-11-16 11:08:40 +00:00
cirrus.yml .gitlab-ci.d/cirrus: Drop the CI job for compiling with FreeBSD 12 2023-04-27 14:58:23 +01:00
container-core.yml tests/docker: remove the Debian base images 2022-09-20 17:22:08 +01:00
container-cross.yml tests/docker: use prebuilt toolchain for debian-hexagon-cross 2022-12-23 15:16:31 +00:00
container-template.yml gitlab: Use plain docker in container-template.yml 2023-03-01 10:32:25 +00:00
containers.yml testing: update ubuntu2004 to ubuntu2204 2023-03-01 10:31:46 +00:00
crossbuild-template.yml tests: ensure we export job results for some cross builds 2023-03-01 10:32:16 +00:00
crossbuilds.yml gitlab-ci.d/crossbuilds: Drop the 32-bit arm system emulation jobs 2023-03-08 08:57:42 +01:00
custom-runners.yml gitlab: extend custom runners with base_job_template 2023-03-01 10:31:35 +00:00
opensbi.yml gitlab/opensbi: Move to docker:stable 2023-03-05 15:40:00 -08:00
qemu-project.yml gitlab-ci: Remove job building EDK2 firmware binaries 2023-03-13 09:20:52 +01:00
stages.yml gitlab: drop 'containers-layer2' stage 2022-07-29 09:48:01 +01:00
static_checks.yml python: drop pipenv 2023-02-22 23:35:03 -05:00
windows.yml gitlab-ci: Cover SPICE in the MSYS2 job 2023-03-24 12:04:06 +01:00