tests/lcitool: Remove g++ from the containers (except for the MinGW one)

We don't need C++ for the normal QEMU builds anymore, so installing
g++ in each and every container seems to be a waste of time and disk
space. The only container that still needs it is the Fedora MinGW
container that builds the only remaining C++ code in ./qga/vss-win32/
and we can install it there with an extra project yml file instead.

Message-ID: <20240516084059.511463-4-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Thomas Huth 2024-05-16 10:40:57 +02:00
parent 9ebe09e633
commit fd77b25bbd
4 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,6 @@ packages:
- ccache
- findutils
- flex
- g++
- gcc
- gcc-native
- glib2

View File

@ -0,0 +1,4 @@
# Additional packages that are required to build the code in qga/vss-win32/
---
packages:
- g++

View File

@ -22,7 +22,6 @@ packages:
- findutils
- flex
- fuse3
- g++
- gcc
- gcc-native
- gcovr

View File

@ -192,6 +192,7 @@ try:
"s390x-softmmu,s390x-linux-user"))
generate_dockerfile("fedora-win64-cross", "fedora-38",
project='qemu,qemu-win-installer',
cross="mingw64",
trailer=cross_build("x86_64-w64-mingw32-",
"x86_64-softmmu"))