From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aePfZ-0000Vr-0i for qemu-devel@nongnu.org; Fri, 11 Mar 2016 11:12:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aePfT-0004pW-Sa for qemu-devel@nongnu.org; Fri, 11 Mar 2016 11:12:04 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:34998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aePfT-0004pP-HS for qemu-devel@nongnu.org; Fri, 11 Mar 2016 11:11:59 -0500 Received: by mail-wm0-x235.google.com with SMTP id l68so25299516wml.0 for ; Fri, 11 Mar 2016 08:11:59 -0800 (PST) References: <1457086720-30391-1-git-send-email-famz@redhat.com> <1457086720-30391-9-git-send-email-famz@redhat.com> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <1457086720-30391-9-git-send-email-famz@redhat.com> Date: Fri, 11 Mar 2016 16:11:57 +0000 Message-ID: <87mvq5t2nm.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v3 08/13] docker: Add clang test List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: kwolf@redhat.com, peter.maydell@linaro.org, sw@weilnetz.de, qemu-devel@nongnu.org, stefanha@redhat.com, Paolo Bonzini , jsnow@redhat.com, david@gibson.dropbear.id.au Fam Zheng writes: > The (currently partially commented out) configure options are suggested > by John Snow . > > Signed-off-by: Fam Zheng Reviewed-by: Alex Bennée > --- > tests/docker/test-clang | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100755 tests/docker/test-clang > > diff --git a/tests/docker/test-clang b/tests/docker/test-clang > new file mode 100755 > index 0000000..7b5e65e > --- /dev/null > +++ b/tests/docker/test-clang > @@ -0,0 +1,25 @@ > +#!/bin/bash -e > +# > +# Compile and check with clang. > +# > +# Copyright (c) 2016 Red Hat Inc. > +# > +# Authors: > +# Fam Zheng > +# > +# This work is licensed under the terms of the GNU GPL, version 2 > +# or (at your option) any later version. See the COPYING file in > +# the top-level directory. > + > +. common.rc > + > +requires clang > + > +OPTS="--enable-debug --cxx=clang++ --cc=clang --host-cc=clang" > +# -fsanitize=undefined is broken on Fedora 23, skip it for now > +# See also: https://bugzilla.redhat.com/show_bug.cgi?id=1263834 > +#OPTS="$OPTS --extra-cflags=-fsanitize=undefined \ > + #--extra-cflags=-fno-sanitize=float-divide-by-zero" > +TARGET_LIST=x86_64-softmmu,aarch64-softmmu > +build_qemu $OPTS > +make $MAKEFLAGS check -- Alex Bennée