Re: [PATCH spice-server] ci: Use release build with Meson

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

 



On 9/28/18 8:48 AM, Frediano Ziglio wrote:
> Some compiler warnings are triggered only if optimisations are
> turned on. By default with debug build optimisations are disabled.
> 
> Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
> ---
>  .gitlab-ci.yml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> index 3344fa3c..63df0cfd 100644
> --- a/.gitlab-ci.yml
> +++ b/.gitlab-ci.yml
> @@ -24,7 +24,7 @@ meson-makecheck:
>    - >
>      CFLAGS='-O2 -pipe -g -fsanitize=address -fno-omit-frame-pointer -Wframe-larger-than=40920'
>      LDFLAGS='-fsanitize=address -lasan'
> -    meson build -Dcelt051=enabled || (cat build/meson-logs/meson-log.txt && exit 1)
> +    meson --buildtype=release build -Dcelt051=enabled || (cat build/meson-logs/meson-log.txt && exit 1)
>    - ninja -C build
>    - (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1)
>  
> @@ -39,7 +39,7 @@ options:
>  
>  meson-options:
>    script:
> -  - meson -Dstatistics=true -Dsasl=false -Dcelt051=disabled build
> +  - meson --buildtype=release -Dstatistics=true -Dsasl=false -Dcelt051=disabled build
>    - ninja -C build
>    - (cd build && meson test) || (cat build/meson-logs/testlog.txt && exit 1)
>  
> 
Acked-by: Eduardo Lima (Etrunko) <etrunko@xxxxxxxxxx>

-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko@xxxxxxxxxx
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]