qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 23/25] tests/docker: auto-generate ubuntu2004 with lcitool


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 23/25] tests/docker: auto-generate ubuntu2004 with lcitool
Date: Thu, 14 Jan 2021 14:56:54 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0

On 1/14/21 2:02 PM, Daniel P. Berrangé wrote:
> This commit is best examined using the "-b" option to diff.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  tests/docker/dockerfiles/refresh           |   6 +
>  tests/docker/dockerfiles/ubuntu2004.docker | 237 +++++++++++----------
>  2 files changed, 136 insertions(+), 107 deletions(-)
> 
> diff --git a/tests/docker/dockerfiles/refresh 
> b/tests/docker/dockerfiles/refresh
> index ab1d00fcf8..658a57c28c 100755
> --- a/tests/docker/dockerfiles/refresh
> +++ b/tests/docker/dockerfiles/refresh
> @@ -57,5 +57,11 @@ try:
>  
>     generate_image("ubuntu1804.docker", "ubuntu-1804",
>                    trailer="".join(skipssh))
> +
> +   tsanhack = ["# Apply patch https://reviews.llvm.org/D75820\n";,
> +               "# This is required for TSan in clang-10 to compile with 
> QEMU.\n",
> +               "RUN sed -i 's/^const/static const/g' 
> /usr/lib/llvm-10/lib/clang/10.0.0/include/sanitizer/tsan_interface.h\n"]
> +   generate_image("ubuntu2004.docker", "ubuntu-2004",
> +                  trailer="".join(tsanhack))
...
>  # Apply patch https://reviews.llvm.org/D75820
>  # This is required for TSan in clang-10 to compile with QEMU.
>  RUN sed -i 's/^const/static const/g' 
> /usr/lib/llvm-10/lib/clang/10.0.0/include/sanitizer/tsan_interface.h

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




reply via email to

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