tests/lcitool: Remove g++ from the containers (except for the MinGW one)
authorThomas Huth <thuth@redhat.com>
Thu, 16 May 2024 08:40:57 +0000 (10:40 +0200)
committerThomas Huth <thuth@redhat.com>
Fri, 17 May 2024 09:16:28 +0000 (11:16 +0200)
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>
tests/lcitool/projects/qemu-minimal.yml
tests/lcitool/projects/qemu-win-installer.yml [new file with mode: 0644]
tests/lcitool/projects/qemu.yml
tests/lcitool/refresh

index d44737dc1df43f14a51200efe964f7df5395c677..6bc232a1c3e2b3e30f479ec0f356961c7a30c547 100644 (file)
@@ -7,7 +7,6 @@ packages:
  - ccache
  - findutils
  - flex
- - g++
  - gcc
  - gcc-native
  - glib2
diff --git a/tests/lcitool/projects/qemu-win-installer.yml b/tests/lcitool/projects/qemu-win-installer.yml
new file mode 100644 (file)
index 0000000..86aa222
--- /dev/null
@@ -0,0 +1,4 @@
+# Additional packages that are required to build the code in qga/vss-win32/
+---
+packages:
+ - g++
index 9173d1e36eedeb7541eb4f33557127156539ec08..b63b6bd8506ccae94c89804dc33be609fcbe8272 100644 (file)
@@ -22,7 +22,6 @@ packages:
  - findutils
  - flex
  - fuse3
- - g++
  - gcc
  - gcc-native
  - gcovr
index 174818d9c9b917f0a8a807abe6e1b17cf37224c0..789acefb757caa34d1dfa5610cdf37e4b1f6f594 100755 (executable)
@@ -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"))