[Qemu-devel] [PATCH v1 16/17] .travis.yml: default the --disable-system build to --static

Alex Bennée posted 17 patches 6 years, 4 months ago
Maintainers: Fam Zheng <fam@euphon.net>, Brad Smith <brad@comstyle.com>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Kamil Rytarowski <kamil@netbsd.org>
[Qemu-devel] [PATCH v1 16/17] .travis.yml: default the --disable-system build to --static
Posted by Alex Bennée 6 years, 4 months ago
It's fairly common to build qemu-user binaries with --static linking
so the binary can be copied around without libraries. Enable --static
in the default qemu-user build to cover this.

There are other qemu-user builds that use dynamic linking so they
should catch any problems there.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index aeb9b211cd..9750dc905c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -80,7 +80,7 @@ script:
 matrix:
   include:
     - env:
-        - CONFIG="--disable-system"
+        - CONFIG="--disable-system --static"
 
 
     # we split the system builds as it takes a while to build them all
-- 
2.20.1


Re: [Qemu-devel] [PATCH v1 16/17] .travis.yml: default the --disable-system build to --static
Posted by Philippe Mathieu-Daudé 6 years, 4 months ago
On 6/19/19 9:40 PM, Alex Bennée wrote:
> It's fairly common to build qemu-user binaries with --static linking
> so the binary can be copied around without libraries. Enable --static
> in the default qemu-user build to cover this.
> 
> There are other qemu-user builds that use dynamic linking so they
> should catch any problems there.
> 

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .travis.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index aeb9b211cd..9750dc905c 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -80,7 +80,7 @@ script:
>  matrix:
>    include:
>      - env:
> -        - CONFIG="--disable-system"
> +        - CONFIG="--disable-system --static"
>  
>  
>      # we split the system builds as it takes a while to build them all
>