[PATCH 00/24] CI/build-sys fixes to enable Rust more widely

marcandre.lureau@redhat.com posted 24 patches 1 week, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250919133320.240145-1-marcandre.lureau@redhat.com
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Yonggang Luo <luoyonggang@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Kohei Tokunaga <ktokunaga.mail@gmail.com>, Warner Losh <imp@bsdimp.com>, Kyle Evans <kevans@freebsd.org>, Ed Maste <emaste@freebsd.org>, Li-Wen Hsu <lwhsu@freebsd.org>
There is a newer version of this series
configure                                     |  26 ++-
meson.build                                   |  19 +-
.gitlab-ci.d/buildtest.yml                    |  70 +++----
.gitlab-ci.d/cirrus.yml                       |   4 +-
.gitlab-ci.d/container-cross.yml              |  12 --
.gitlab-ci.d/crossbuild-template.yml          |   4 +-
.gitlab-ci.d/crossbuilds.yml                  |  72 ++-----
.gitlab-ci.d/static_checks.yml                |   6 +-
.gitlab-ci.d/windows.yml                      |   8 +-
scripts/archive-source.sh                     |   5 +-
.../ci/setup/ubuntu/ubuntu-2204-aarch64.yaml  |   5 +-
.../ci/setup/ubuntu/ubuntu-2204-s390x.yaml    |   5 +-
tests/docker/Makefile.include                 |   1 -
tests/docker/common.rc                        |  11 +-
tests/docker/dockerfiles/alpine.docker        |   6 +-
tests/docker/dockerfiles/centos9.docker       |   4 +
.../dockerfiles/debian-all-test-cross.docker  |   8 -
.../dockerfiles/debian-amd64-cross.docker     |  18 +-
.../dockerfiles/debian-arm64-cross.docker     |  18 +-
.../dockerfiles/debian-armhf-cross.docker     |  21 +-
.../dockerfiles/debian-i686-cross.docker      |  20 +-
.../debian-legacy-test-cross.docker           |  11 +-
.../dockerfiles/debian-mips64el-cross.docker  | 180 ------------------
.../dockerfiles/debian-mipsel-cross.docker    | 180 ------------------
.../dockerfiles/debian-ppc64el-cross.docker   |  18 +-
.../dockerfiles/debian-riscv64-cross.docker   |  10 +-
.../dockerfiles/debian-s390x-cross.docker     |  18 +-
tests/docker/dockerfiles/debian.docker        |  18 +-
.../dockerfiles/emsdk-wasm32-cross.docker     |   2 +-
.../dockerfiles/fedora-rust-nightly.docker    |  18 +-
.../dockerfiles/fedora-win64-cross.docker     |  15 +-
tests/docker/dockerfiles/fedora.docker        |  18 +-
tests/docker/dockerfiles/opensuse-leap.docker |   7 +-
tests/docker/dockerfiles/ubuntu2204.docker    |   7 +-
tests/lcitool/libvirt-ci                      |   2 +-
tests/lcitool/projects/qemu.yml               |   3 +-
tests/lcitool/refresh                         |  56 +++---
tests/vm/freebsd                              |   4 +-
38 files changed, 320 insertions(+), 590 deletions(-)
delete mode 100644 tests/docker/dockerfiles/debian-mips64el-cross.docker
delete mode 100644 tests/docker/dockerfiles/debian-mipsel-cross.docker
[PATCH 00/24] CI/build-sys fixes to enable Rust more widely
Posted by marcandre.lureau@redhat.com 1 week, 2 days ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

This patch series fixes a number of issues with the build system and CI and
enable Rust for many of our jobs, getting us closer to enable Rust by default.

Marc-André Lureau (24):
  gitlab-ci: fix 'needs' property type must be array
  scripts/archive-source: speed up downloading subprojects
  scripts/archive-source: silence subprojects downloads
  configure: fix rust meson configuration
  configure: set the bindgen cross target
  RFC: configure: use the same machine as the host triple by default
  tests/docker/common: print errors to stderr
  tests/docker: use fully qualified image name for emsdk
  tests/docker/common: print meson log on configure failure
  lcitool: update, switch to f41
  lcitool/qemu: include libclang-rt for TSAN
  lcitool/alpine: workaround bindgen issue
  tests/lcitool: add missing rust-std dep
  tests: move mips to debian-legacy-test-cross
  tests/lcitool: update to debian13
  build-sys: cfi_debug and safe_stack are not compatible
  tests/docker: add ENABLE_RUST environment
  tests/lcitool: enable rust & refresh
  configure: set the meson executable suffix/ext
  tests/freebsd: enable Rust
  meson: rust-bindgen limit allowlist-file to srcdir/include
  WIP: tests/docker: add rust to debian-legacy-test-cross
  WIP: gitlab-ci: enable rust for msys2-64bit
  WIP: cirrus/macos: enable Rust

 configure                                     |  26 ++-
 meson.build                                   |  19 +-
 .gitlab-ci.d/buildtest.yml                    |  70 +++----
 .gitlab-ci.d/cirrus.yml                       |   4 +-
 .gitlab-ci.d/container-cross.yml              |  12 --
 .gitlab-ci.d/crossbuild-template.yml          |   4 +-
 .gitlab-ci.d/crossbuilds.yml                  |  72 ++-----
 .gitlab-ci.d/static_checks.yml                |   6 +-
 .gitlab-ci.d/windows.yml                      |   8 +-
 scripts/archive-source.sh                     |   5 +-
 .../ci/setup/ubuntu/ubuntu-2204-aarch64.yaml  |   5 +-
 .../ci/setup/ubuntu/ubuntu-2204-s390x.yaml    |   5 +-
 tests/docker/Makefile.include                 |   1 -
 tests/docker/common.rc                        |  11 +-
 tests/docker/dockerfiles/alpine.docker        |   6 +-
 tests/docker/dockerfiles/centos9.docker       |   4 +
 .../dockerfiles/debian-all-test-cross.docker  |   8 -
 .../dockerfiles/debian-amd64-cross.docker     |  18 +-
 .../dockerfiles/debian-arm64-cross.docker     |  18 +-
 .../dockerfiles/debian-armhf-cross.docker     |  21 +-
 .../dockerfiles/debian-i686-cross.docker      |  20 +-
 .../debian-legacy-test-cross.docker           |  11 +-
 .../dockerfiles/debian-mips64el-cross.docker  | 180 ------------------
 .../dockerfiles/debian-mipsel-cross.docker    | 180 ------------------
 .../dockerfiles/debian-ppc64el-cross.docker   |  18 +-
 .../dockerfiles/debian-riscv64-cross.docker   |  10 +-
 .../dockerfiles/debian-s390x-cross.docker     |  18 +-
 tests/docker/dockerfiles/debian.docker        |  18 +-
 .../dockerfiles/emsdk-wasm32-cross.docker     |   2 +-
 .../dockerfiles/fedora-rust-nightly.docker    |  18 +-
 .../dockerfiles/fedora-win64-cross.docker     |  15 +-
 tests/docker/dockerfiles/fedora.docker        |  18 +-
 tests/docker/dockerfiles/opensuse-leap.docker |   7 +-
 tests/docker/dockerfiles/ubuntu2204.docker    |   7 +-
 tests/lcitool/libvirt-ci                      |   2 +-
 tests/lcitool/projects/qemu.yml               |   3 +-
 tests/lcitool/refresh                         |  56 +++---
 tests/vm/freebsd                              |   4 +-
 38 files changed, 320 insertions(+), 590 deletions(-)
 delete mode 100644 tests/docker/dockerfiles/debian-mips64el-cross.docker
 delete mode 100644 tests/docker/dockerfiles/debian-mipsel-cross.docker

-- 
2.51.0