[PATCH] cirrus.yml: Avoid base-devel group to speed up the build

Thomas Huth posted 1 patch 3 years, 7 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201001114919.159268-1-thuth@redhat.com
Maintainers: Ed Maste <emaste@freebsd.org>, Li-Wen Hsu <lwhsu@freebsd.org>
.cirrus.yml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
[PATCH] cirrus.yml: Avoid base-devel group to speed up the build
Posted by Thomas Huth 3 years, 7 months ago
The base-devel group pulls in a lot of stuff like various automake
versions that we do not really need for building QEMU. Let's directly
specify our requirements instead, then the job has to download way
less files and finishes more quickly (at least 5 minutes for me).

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 .cirrus.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.cirrus.yml b/.cirrus.yml
index d58782ce67..9f7d2c0a78 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -70,8 +70,7 @@ windows_msys2_task:
     - taskkill /F /IM gpg-agent.exe
     - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -Su"
     - C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -S --needed
-        base-devel
-        git
+        diffutils git grep make pkg-config sed
         mingw-w64-x86_64-python
         mingw-w64-x86_64-python-setuptools
         mingw-w64-x86_64-toolchain
@@ -81,7 +80,6 @@ windows_msys2_task:
         mingw-w64-x86_64-gtk3
         mingw-w64-x86_64-glib2
         mingw-w64-x86_64-ninja
-        mingw-w64-x86_64-make
         mingw-w64-x86_64-lzo2
         mingw-w64-x86_64-zstd
         mingw-w64-x86_64-libjpeg-turbo
-- 
2.18.2