qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] travis.yml: Use the libfdt from the distro instead of the su


From: Thomas Huth
Subject: Re: [PATCH] travis.yml: Use the libfdt from the distro instead of the submodule
Date: Thu, 19 Jan 2023 17:04:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0

On 19/01/2023 16.03, Philippe Mathieu-Daudé wrote:
On 19/1/23 14:55, Thomas Huth wrote:
No need to compile-test third party submodules over and over again if
we can simply use the pre-build library from the distribution instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
  .travis.yml | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index fb3baabca9..e24c99fdb9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -128,6 +128,7 @@ jobs:
            - libbrlapi-dev
            - libcacard-dev
            - libcap-ng-dev
+          - libfdt-dev
            - libgcrypt20-dev
            - libgnutls28-dev
            - libgtk-3-dev

Could we remove cloning the submodule in the 'enabled' case now?
See ./configure:

1518  case "$fdt" in
1519    auto | enabled | internal)
1520       # Simpler to always update submodule, even if not needed.
1521       git_submodules="${git_submodules} dtc"
1522       ;;
1523  esac

I think currently "enabled" still means either "internal" or "system" ? ... so since we cannot know here yet whether there is a usable libfdt installed available or not, we cannot remove this yet.

If we want to avoid the unnecessary git cloning, we have to explicitly use --enable-fdt=system ... which would make sense here, indeed. I'll send a v2 with that added.

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]