From patchwork Mon Jun 4 14:51:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 137638 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1613058lji; Mon, 4 Jun 2018 07:52:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI7a0RquMTjhFWt7pe5EpsH0ANm8dPvZzPcblhiG+6OmpqQzhHm1d4oPAf5uT9b2SruO89v X-Received: by 2002:a0c:d28f:: with SMTP id q15-v6mr20170823qvh.65.1528123927599; Mon, 04 Jun 2018 07:52:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528123927; cv=none; d=google.com; s=arc-20160816; b=02SrpcCMSRRw1NbJM0O19/gNfmt8kGtDefbeiSKezRSxOu9oNs4xnMFcln6fjUhtpZ E0fSEi0+t6qdZs+7KFc4f/sc7xysgUTsmvoxWCuImYjpOTqTsllHj3f4KwnbQIJDWRKS XNegSx7qMwFBx3KrJZHsopwQSxYaRq4aCbi0G5UqoB49crdokCjgL3nBQxvklJnBwdKl SLw37DApH+CKMFfzppZDCFJnldnmq9VlTPMWWm+mMykNLOst3bNfyTjTSOVJrQwub8F4 RIKXX70vDRPoF9wD+MVp+M4wtRf3de9hLNG2US8PIVuhwNnGc356v/7bqfUCTUrceVL+ HQkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=icyhNd5KQavNcvfAeUvX27EOWr3MXvhI7RrpNDKrgu0=; b=vBDqjYX0/cHH+bWWZir/ZYJEEA6iDhWYu8NntXemrwhrWqc1Xt3D/UEcJlV4qDmBmw 0E/z97t7UzEsCC1iRrCKlLq21yfm57b8Va7Rrh+lFxEiPyDpuQZuWy6rZOCnS0SIoBqi FxYgXMpg7hfsmOAkNf1vGDc/63EDyDQ9qoxmqIqGau5nTEb4fdpcDXQzekE8IrgA0p3h URdLM239NZQtm+Big+hTf4FlMxlB69siUbABC9hQerzW2mnPLo6OqX5HZPc4mS+gaFqD /nPOjf59LO6Kezi6i6o39SFBgXyLa71gBwumO03yX4/NahFg7ahOrcFzUDg8s0z8LXT9 xodQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=EZQCJhUJ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 141-v6si3648232qki.314.2018.06.04.07.52.07 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 04 Jun 2018 07:52:07 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=EZQCJhUJ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqq7-0003DD-3A for patch@linaro.org; Mon, 04 Jun 2018 10:52:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqpJ-0002na-67 for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPqpE-0003wz-8o for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:17 -0400 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:34143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPqpE-0003wJ-1D for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:12 -0400 Received: by mail-wr0-x234.google.com with SMTP id a12-v6so9341650wro.1 for ; Mon, 04 Jun 2018 07:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=icyhNd5KQavNcvfAeUvX27EOWr3MXvhI7RrpNDKrgu0=; b=EZQCJhUJTHUil9B7exi7wAuNjylpUeb+PyYzxdiCdd/6rbh/LCu8OCQ9I+k+1lekOP sUowbaozbykHifYtM9qSguZsK1P1+w0gSnBzUKSTNG893Qt0W0NCnLYnKD6+KWQicecf XJreHPj5/svZBuFTKZroI8RX0UH5HwHbiths8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=icyhNd5KQavNcvfAeUvX27EOWr3MXvhI7RrpNDKrgu0=; b=bDiZ3bhbe/VuV+oHRPJmSnBtv9xKFhRQMvU/D87Uq/HIo4PReiwJlP/4F/25fJda60 IqvNtEJGaytHOtQnjgyWOKpwC98Z8hmPpI9B2MHxbCHVdvl3MyMUaM3kcyqThja0UoKG 6K7rGA2+G7ZxDUUF447ADryWUU9oUBjNNJpcgyOD2IL0FTKNA6EAiEE3KSSuIOg65chn KOZ4vUwbixcwYhrgYRyHhA7sDadCCZh1OgxKD8FyNnQ3uXnFZyCH+79m3vKqjyPrFAuI O93BzQGhFa4nZIgTrHaQ+XFv7NGCa/bHkrfLbM2eYlM+VgrP3HWUSwSDnPhREVtZoKjl KUPw== X-Gm-Message-State: APt69E1/kGBY50FckbBJGt3Hd8/udKs/ODFEwqTpSVmpmYZJZ3NSxmxf /wSzOWcJ7eUiyUgY9zOFt9/0Tw== X-Received: by 2002:adf:e084:: with SMTP id c4-v6mr482139wri.199.1528123870763; Mon, 04 Jun 2018 07:51:10 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id a14-v6sm290769wmb.44.2018.06.04.07.51.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 07:51:09 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 32D663E0971; Mon, 4 Jun 2018 15:51:09 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Mon, 4 Jun 2018 15:51:03 +0100 Message-Id: <20180604145109.30498-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180604145109.30498-1-alex.bennee@linaro.org> References: <20180604145109.30498-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::234 Subject: [Qemu-devel] [PATCH v1 1/7] docker: add "probe" command for configure X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is a helper function for the configure script. It replies yes, sudo or no to inform the user if non-interactive docker support is available. We trap the Exception to fail gracefully. Signed-off-by: Alex Bennée Reviewed-by: Fam Zheng --- tests/docker/docker.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.17.0 diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 1246ba9578..f8267586eb 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -390,6 +390,24 @@ class ImagesCommand(SubCommand): def run(self, args, argv): return Docker().command("images", argv, args.quiet) + +class ProbeCommand(SubCommand): + """Probe if we can run docker automatically""" + name = "probe" + + def run(self, args, argv): + try: + docker = Docker() + if docker._command[0] == "docker": + print "yes" + elif docker._command[0] == "sudo": + print "sudo" + except Exception: + print "no" + + return + + def main(): parser = argparse.ArgumentParser(description="A Docker helper", usage="%s ..." % os.path.basename(sys.argv[0])) From patchwork Mon Jun 4 14:51:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 137636 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1612483lji; Mon, 4 Jun 2018 07:51:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI+E2NTdlzk/aBPlhUvwal7so98vR8eP2nN6PZsZwHJtHgB9mauFX/N+M2SM/jagyDZRQrj X-Received: by 2002:ac8:5191:: with SMTP id c17-v6mr21621650qtn.35.1528123900362; Mon, 04 Jun 2018 07:51:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528123900; cv=none; d=google.com; s=arc-20160816; b=ydaOUksFQsUU6WkFrs4MA+FK72uAjuPV7Xyoo/JTbx4HVFZRRH+fT/nl7yT/ngU9az 7/JjkqyNtMzLq185K+b1p7Ej49jwbljm8SrG4MnJVmvWBtKOBM0pWK33qbddYyQIGk2s K09ksymWakZf+GmyhPmNnkmH+v0SCqMqSBfn77/h+6IIA6T7w425+LrvhNMvS/mrigJI PrHym9W3jS8c+ADgy3fJkUpk0axpAcWxWEhHYW5/yz+YCsL1UtYgzr8j1MydmDizsuCz vPQ9goPRfmpbm4UVQZOT5YTWhckLwJHoM+C2Tk8oJy74uA5DKHKxJPfPwNOD14KGIw5T vGsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=dd6c3YkYiTplmttYSCIqC9w8RwtPILMz9zTF1P+oHDs=; b=BM4ltmN5OeIXlCU2qyWAPpE59c6jUOSzb+vEhoh+loBujcKISIPjxBy+G1/bHM3ISe HzLFFzIKBbtoXU7eQCVTw5mb+MWXXX26Ar3Oim1NpzsOQbcFlRA1xhaMfgDslG8CnfDG zc4oqFSRlvtdkLnVgvW9wgx8oi1H67bPHaz/YgkRam+7WAKf/I4Uqmj6jDuzEr8G7E8M c2rpeZQWmDiW3zsdtEvvX8g7BADhH5tSwEBehrTcIFGNRG3+RWLkoUDvOXmWixbbMllj vbTZO3QslFZrFaAiJKDXJ5tBnp9gpYxM41l5Scg5MsErng9WdwTZcE1xsYBfAaleIeEB 1vxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=BuqyEpdT; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id g27-v6si659934qtc.34.2018.06.04.07.51.40 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 04 Jun 2018 07:51:40 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=BuqyEpdT; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqpf-0002q2-RJ for patch@linaro.org; Mon, 04 Jun 2018 10:51:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqpJ-0002nf-8Y for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPqpG-0003z0-Sm for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:17 -0400 Received: from mail-wr0-x232.google.com ([2a00:1450:400c:c0c::232]:43495) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPqpG-0003yA-LR for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:14 -0400 Received: by mail-wr0-x232.google.com with SMTP id d2-v6so28831038wrm.10 for ; Mon, 04 Jun 2018 07:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dd6c3YkYiTplmttYSCIqC9w8RwtPILMz9zTF1P+oHDs=; b=BuqyEpdTEejty4ZAOXuvTEUWC6kQyBag0D1PuRdB0DhMCN52pRKJUpvF6K8MCDaeUO 8LkfZdJ2BrQTHF3Ag7tbZaYsQ5BIpEJVbOMF4BNGg2nN6872iopplKEw4m5Hz1oKIdBS VQAJfisqj92Ia3CM6F9l8GvuWtxeWlroOH1xU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dd6c3YkYiTplmttYSCIqC9w8RwtPILMz9zTF1P+oHDs=; b=b+GP6n7GV5FyVdeyPV60IlYJIWWIJ/+VPtmPcU9t2RBFSFmOYluz8olTWIQnv/nisf /Itt/DvRUlkLhe7TkfdXQJUpzlUSq8t496oiMu9Nv147qOTGE0/aB5+g/nwvSKcnia00 8xd54U2+bUW/24G32kyCTIghMgUJ+2+qLMhVjGRT6NHBOLmMWjs5Nl2TMbcqobfrmdAq ABDp4ZazN1Kf8ByOP6s9M8XCL777L8D+Tk6eGSsSVupCWmqwPnEKUobIBj7ba527JdKR Xne8EbU+jCiitF487lNWV4NKj9hIF2EW/tAOeYzX02fftdTdxr6/exyCUudBV3LL7Egs HrmA== X-Gm-Message-State: APt69E10TCq+vUsuYhIhGy0g4OQYI8ATLT4NBe/QDfsmbs4lLGUEiPYh 1g5jhM0z0r+GYKEC4wZZVvW7sA== X-Received: by 2002:adf:b502:: with SMTP id a2-v6mr4415649wrd.273.1528123873510; Mon, 04 Jun 2018 07:51:13 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l142-v6sm546633wmd.16.2018.06.04.07.51.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 07:51:11 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 455C23E09EB; Mon, 4 Jun 2018 15:51:09 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Mon, 4 Jun 2018 15:51:04 +0100 Message-Id: <20180604145109.30498-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180604145109.30498-1-alex.bennee@linaro.org> References: <20180604145109.30498-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::232 Subject: [Qemu-devel] [PATCH v1 2/7] configure: add test for docker availability X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This tests for a working docker installation without sudo and sets up config-host.mak accordingly. This will be useful from cross compiling things in the future. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson --- configure | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) -- 2.17.0 diff --git a/configure b/configure index a8498ab393..2e10956cfc 100755 --- a/configure +++ b/configure @@ -456,6 +456,7 @@ jemalloc="no" replication="yes" vxhs="" libxml2="" +docker="no" supported_cpu="no" supported_os="no" @@ -5444,6 +5445,17 @@ EOF fi fi +########################################## +# Docker and cross-compiler support +# +# This is specifically for building test +# cases for foreign architectures, not +# cross-compiling QEMU itself. + +if has "docker"; then + docker=$($python $source_path/tests/docker/docker.py probe) +fi + ########################################## # End of CC checks # After here, no more $cc or $ld runs @@ -5907,6 +5919,7 @@ echo "avx2 optimization $avx2_opt" echo "replication support $replication" echo "VxHS block device $vxhs" echo "capstone $capstone" +echo "docker $docker" if test "$sdl_too_old" = "yes"; then echo "-> Your SDL version is too old - please upgrade to have SDL support" @@ -6731,6 +6744,10 @@ if test "$gcov" = "yes" ; then echo "GCOV=$gcov_tool" >> $config_host_mak fi +if test "$docker" != "no"; then + echo "HAVE_USER_DOCKER=y" >> $config_host_mak +fi + # use included Linux headers if test "$linux" = "yes" ; then mkdir -p linux-headers From patchwork Mon Jun 4 14:51:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 137639 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1615237lji; Mon, 4 Jun 2018 07:53:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ3F03JjytSJq3KvBPuYZh2gp5SDa1FKT7RPeupQHT2DkagEeImb+B6BXv7vSdQ981gxD/y X-Received: by 2002:a0c:93a2:: with SMTP id f31-v6mr20218686qvf.151.1528124038437; Mon, 04 Jun 2018 07:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528124038; cv=none; d=google.com; s=arc-20160816; b=M1iJ6NBchJ99ymPBa5mbrf2inT8nxVpy9Mo1VGIxO4x+AKx7+nxUqwv97D7/Ryfrvk oV/yV/3WTLS65w74vRFOwBN35H0KSTtGXA2lsXmMVUdEWrv86Lyf0ihx+XXBe7GPKocj 308C01tVsgOb2iaewRHfpL1Qxe6pFKobO0Wm69n56/8TrmhspZYBic2EXcyDJAU8qNva ICVgg0XoDaTNycQlqqqwA+X++qhpbeWNujSdwFW5dIHwf9X/N+5NplDgIyQ6k457/UBc nqsMjKYsWFkP2nhA6pUk03HX+Tz32FW1H7OMJElCf7a36UxtfTbSKp4YtT7FPPnhNYvT MDSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=Wwv3VN57lL4aOOZfsEtfIcl0N6vovaJBPj94KOwsJFQ=; b=YnKRnVO0T7HovJobEEpZSjoRpiXvXECsedSAKj9HfuS1YzSYmOiI5xogI63a2KE/cL JO4iXLfPLhLPhINJPbzoAO+Q0ZDGJxWEScy6qx/YbPI7S44cnvrVZflRxRo64CYPJBpQ VuWHOYsqPpJJ+8KY40qpsy1DGS1Bqc0Pc2X/1knBv7Eekc/Vgpdhk2hIIC3MZ0qv6RTo r+7uleJ9SvN7I8YbHFL4zmpQ8J89ObFjlUiKCIOoXl9zeUxZI89U4hNOaZH1qpUezEZh xyVe2mBjv3J+8YL1+J0rT68fUbyEPCCkB01YQcy7p95JxfmCwaq5FNvqcXz5rP4Gi7Qv Ygfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Y13ArJdZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id u186-v6si363768qkf.355.2018.06.04.07.53.58 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 04 Jun 2018 07:53:58 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Y13ArJdZ; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqrt-0004bZ-Ty for patch@linaro.org; Mon, 04 Jun 2018 10:53:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqpJ-0002nr-I1 for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPqpI-00040U-7g for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:17 -0400 Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:46379) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPqpH-0003zc-TM for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:16 -0400 Received: by mail-wr0-x230.google.com with SMTP id v13-v6so32615289wrp.13 for ; Mon, 04 Jun 2018 07:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Wwv3VN57lL4aOOZfsEtfIcl0N6vovaJBPj94KOwsJFQ=; b=Y13ArJdZ5xcex/LK4Y2aozmvRS3T22y00BmCgBVahFJEsIzDhR9xqeLu0yHxSSnaL0 uVlu9RNdA4ilToK0jjhDtZ/iSsmaZrtmcjR81tmxEycoi/U+M1v73P4YgR9fqgJfVGdk u7Icva3j4pIpDHBqUFY6aNH0SegzE/4tlO20U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Wwv3VN57lL4aOOZfsEtfIcl0N6vovaJBPj94KOwsJFQ=; b=Pa1Kk/X3VZ9/MTpsKXUdHVaEGsKw4baRX02lAMs+5QmC0QIVl9e+uCcY8O8/f7eE3H H14iy3fenc+YSF3sGDEB803jrgn7FnMvxsgIyi8gBwAtsv8CbRglSfmCXJhCWN/L9A0v 4IVttIXMlDVbQ+RYjbXO7ibN1/xahEvPJySmaDOEkkPEgUQ1/6zY5TTuf8u0d79OcbWq U+ZUsx4ywVK1B9/MQofy1+DM2sCm5Xe9oQex9Wg53KRsFk6W1Xewb2GLIj6igwfU0/di B75RcKHCBCGoQa8r4NrtQSIweLNUIgg2MVTr0DC2Sus6RsQvYurITrTqYeVwPb0seCf3 nYpQ== X-Gm-Message-State: ALKqPweEqQ3UQ9SvBImEkWbYT0mK1caG+WSMzI5ITZHyqbCzMky20j7L TfT7zQgAbDqWNcvKbii+X0oxQA== X-Received: by 2002:adf:be09:: with SMTP id n9-v6mr17419530wrh.267.1528123874725; Mon, 04 Jun 2018 07:51:14 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id e14-v6sm409965wmh.17.2018.06.04.07.51.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 07:51:11 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 5C7E53E09FC; Mon, 4 Jun 2018 15:51:09 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Mon, 4 Jun 2018 15:51:05 +0100 Message-Id: <20180604145109.30498-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180604145109.30498-1-alex.bennee@linaro.org> References: <20180604145109.30498-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::230 Subject: [Qemu-devel] [PATCH v1 3/7] Makefile: Rename TARGET_DIRS to TARGET_LIST X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Fam Zheng To be more accurate on its purpose and make code that looks for a certain target out of this variable more readable. Signed-off-by: Fam Zheng Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- Makefile | 20 ++++++++++---------- configure | 2 +- scripts/create_config | 2 +- tests/Makefile.include | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) -- 2.17.0 diff --git a/Makefile b/Makefile index 6d588d1f71..023b3437ec 100644 --- a/Makefile +++ b/Makefile @@ -62,8 +62,8 @@ seems to have been used for an in-tree build. You can fix this by running \ endif endif -CONFIG_SOFTMMU := $(if $(filter %-softmmu,$(TARGET_DIRS)),y) -CONFIG_USER_ONLY := $(if $(filter %-user,$(TARGET_DIRS)),y) +CONFIG_SOFTMMU := $(if $(filter %-softmmu,$(TARGET_LIST)),y) +CONFIG_USER_ONLY := $(if $(filter %-user,$(TARGET_LIST)),y) CONFIG_XEN := $(CONFIG_XEN_BACKEND) CONFIG_ALL=y -include config-all-devices.mak @@ -366,8 +366,8 @@ DOCS= endif SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory --quiet) BUILD_DIR=$(BUILD_DIR) -SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) -SUBDIR_DEVICES_MAK_DEP=$(patsubst %, %-config-devices.mak.d, $(TARGET_DIRS)) +SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_LIST)) +SUBDIR_DEVICES_MAK_DEP=$(patsubst %, %-config-devices.mak.d, $(TARGET_LIST)) ifeq ($(SUBDIR_DEVICES_MAK),) config-all-devices.mak: @@ -470,7 +470,7 @@ config-host.h-timestamp: config-host.mak qemu-options.def: $(SRC_PATH)/qemu-options.hx $(SRC_PATH)/scripts/hxtool $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@,"GEN","$@") -SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) +SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_LIST)) SOFTMMU_SUBDIR_RULES=$(filter %-softmmu,$(SUBDIR_RULES)) $(SOFTMMU_SUBDIR_RULES): $(block-obj-y) @@ -514,7 +514,7 @@ ROMSUBDIR_RULES=$(patsubst %,romsubdir-%, $(ROMS)) romsubdir-%: $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pc-bios/$* V="$(V)" TARGET_DIR="$*/" CFLAGS="$(filter -O% -g%,$(CFLAGS))",) -ALL_SUBDIRS=$(TARGET_DIRS) $(patsubst %,pc-bios/%, $(ROMS)) +ALL_SUBDIRS=$(TARGET_LIST) $(patsubst %,pc-bios/%, $(ROMS)) recurse-all: $(SUBDIR_RULES) $(ROMSUBDIR_RULES) @@ -772,7 +772,7 @@ distclean: clean rm -f docs/interop/qemu-qmp-ref.pdf docs/interop/qemu-ga-ref.pdf rm -f docs/interop/qemu-qmp-ref.html docs/interop/qemu-ga-ref.html rm -f docs/qemu-block-drivers.7 - for d in $(TARGET_DIRS); do \ + for d in $(TARGET_LIST); do \ rm -rf $$d || exit 1 ; \ done rm -Rf .sdk @@ -873,7 +873,7 @@ endif $(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(qemu_datadir)/keymaps"; \ done $(INSTALL_DATA) $(BUILD_DIR)/trace-events-all "$(DESTDIR)$(qemu_datadir)/trace-events-all" - for d in $(TARGET_DIRS); do \ + for d in $(TARGET_LIST); do \ $(MAKE) $(SUBDIR_MAKEFLAGS) TARGET_DIR=$$d/ -C $$d $@ || exit 1 ; \ done @@ -1071,9 +1071,9 @@ endif @echo ' ctags/TAGS - Generate tags file for editors' @echo ' cscope - Generate cscope index' @echo '' - @$(if $(TARGET_DIRS), \ + @$(if $(TARGET_LIST), \ echo 'Architecture specific targets:'; \ - $(foreach t, $(TARGET_DIRS), \ + $(foreach t, $(TARGET_LIST), \ printf " %-30s - Build for %s\\n" $(patsubst %,subdir-%,$(t)) $(t);) \ echo '') @echo 'Cleaning targets:' diff --git a/configure b/configure index 2e10956cfc..a08544dd6e 100755 --- a/configure +++ b/configure @@ -6122,7 +6122,7 @@ qemu_version=$(head $source_path/VERSION) echo "VERSION=$qemu_version" >>$config_host_mak echo "PKGVERSION=$pkgversion" >>$config_host_mak echo "SRC_PATH=$source_path" >> $config_host_mak -echo "TARGET_DIRS=$target_list" >> $config_host_mak +echo "TARGET_LIST=$target_list" >> $config_host_mak if [ "$docs" = "yes" ] ; then echo "BUILD_DOCS=yes" >> $config_host_mak fi diff --git a/scripts/create_config b/scripts/create_config index d727e5e36e..58948a67a4 100755 --- a/scripts/create_config +++ b/scripts/create_config @@ -107,7 +107,7 @@ case $line in target_name=${line#*=} echo "#define TARGET_NAME \"$target_name\"" ;; - TARGET_DIRS=*) + TARGET_LIST=*) # do nothing ;; TARGET_*=y) # configuration diff --git a/tests/Makefile.include b/tests/Makefile.include index 3b9a5e31a2..3d2f0458ab 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -854,7 +854,7 @@ endif # QTest rules -TARGETS=$(patsubst %-softmmu,%, $(filter %-softmmu,$(TARGET_DIRS))) +TARGETS=$(patsubst %-softmmu,%, $(filter %-softmmu,$(TARGET_LIST))) ifeq ($(CONFIG_POSIX),y) QTEST_TARGETS = $(TARGETS) check-qtest-y=$(foreach TARGET,$(TARGETS), $(check-qtest-$(TARGET)-y)) From patchwork Mon Jun 4 14:51:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 137643 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1619309lji; Mon, 4 Jun 2018 07:57:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKmBRPJoUqz6hE5qvOYz6ZK/0TlhijRSwIjFikmVTT6C3YkI93kZNnqmUdIl3f4qdd5fIhX X-Received: by 2002:a0c:8ab1:: with SMTP id 46-v6mr20042220qvv.147.1528124255005; Mon, 04 Jun 2018 07:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528124255; cv=none; d=google.com; s=arc-20160816; b=XScA19wiJHV/8iMRFS9zeW3vGxrKa3NT14FKrxm5kxr/KVmw30GcKLq2kTJvOADbTW g/icAaHvgkBbswdVM44O0E08GvtS4zPpkPvZwGit/EQWduLY+plf6HG1x+enSPE2TXtW yXl6MBc2yzS1Ufz1s9fyEFDlw4CB7IiaEy1qCOXoCHEl47WFd8w4hOSSuYdENR1Oohu6 iNkqA4eUwZGkDQCG9itSksHEN51a0SHbuOfHK5LR3ZDbClESUUz+A5l0TjLsTP0E4KB+ DcfEgq4YCFN0nnzXYkrZydmXP7AR9JQtEChm+gXvPaYyx6t5uMueEtU/w2j5naxlQwAh qGYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=Vv7FyVzmP3PtnPdqn6OcQsaHcNWzjCBF30eAB+TKIFc=; b=k/dieSQoywjnY4AvNV9J50iW6AJes0kGRw9mVSPl7W5jf61/ezAHNplYHf7HQJBTdy zLnqT5bDm7oFPULnysFzNnhmuhTwFZNxJndQb7kYwfUgSTW3xS3lgIbKOVXUUthljgCj A+rsiyPo/K5m9G8XiXY7869l2wwSrUqZun/UGg+c86VU8djBm8IagiluQfOcleqXt5tK DDuYhTRfXXAQ1jn/iVzM0PaZ/f/o933Uagj2vPBpE7rf8/w+7vTPZTaz/Gue0v1+psro xW1nd2/QxStCOxh2EReuhIKUIhj9pFQywu6x4om3BuclQ54Vn1sNbgoBC7Rm01k26S+r k9Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Hi0yukVH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id 13-v6si3408774qtt.40.2018.06.04.07.57.34 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 04 Jun 2018 07:57:34 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Hi0yukVH; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqvO-0007Tg-Gr for patch@linaro.org; Mon, 04 Jun 2018 10:57:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqpK-0002og-MD for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPqpJ-00041o-CX for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:18 -0400 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:41288) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPqpJ-00040z-5n for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:17 -0400 Received: by mail-wr0-x234.google.com with SMTP id h10-v6so2990515wrq.8 for ; Mon, 04 Jun 2018 07:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Vv7FyVzmP3PtnPdqn6OcQsaHcNWzjCBF30eAB+TKIFc=; b=Hi0yukVH7AYE8jDS85h7GdiughfTgQBjD31DfTKpWoCiRiEEyx/OXduni/4d3Iazet 4uZnIkj5ICS+J5nRDeFsXRijDHpDFfg+6iYHtGpM4IByuxg5YN35e/u+heXRLmT1pRN/ JUVxYfXO+GtzZ1p09ICeaUZS4TCplwur4Mhmo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Vv7FyVzmP3PtnPdqn6OcQsaHcNWzjCBF30eAB+TKIFc=; b=sJXZBZSKpxBYsFNDt9IvqQfq7zKSuwaHKfLcBTDrt7R2XHCRwz07NMypkLoKFWAEwJ MMpuB0Tj9nT9MY4lj3fhI2pxQmVRTBZwAYTCl/KtVQnhbrY1Oo/6RnH3193XYP1R/L60 9D99RdyXzrvwXtklnVFgxbtILrelOX/hRBlJDImyne8j0YX2TbDcezwporLNwxx3eZCm 3wq872xejQ/amCnDXJPHh3In2KZyXCuDwceWMtwKtx8qk30/kYmd5n2jZ9u2FGvTToYr rsW0L3jnQlHfNMilE+GLkhIYsRm6u8NqXhF/xKF7OeywbHb0yjQj2Ai2fpROQbu2sssB /oXg== X-Gm-Message-State: ALKqPwfJZErDfcNs6RNjePdudHq1JCXvaHAEjY/OQWS9MCzvmI2RxjJB bnqao61PhjBmRz8cQdw0MfVF8g== X-Received: by 2002:a1c:f407:: with SMTP id z7-v6mr8960291wma.143.1528123876087; Mon, 04 Jun 2018 07:51:16 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id c201-v6sm533563wmh.18.2018.06.04.07.51.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 07:51:11 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 709B03E0A0B; Mon, 4 Jun 2018 15:51:09 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Mon, 4 Jun 2018 15:51:06 +0100 Message-Id: <20180604145109.30498-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180604145109.30498-1-alex.bennee@linaro.org> References: <20180604145109.30498-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::234 Subject: [Qemu-devel] [PATCH v1 4/7] docker: Add fedora-i386-cross image X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Fam Zheng It has some basic *-devel.i686 packages to be used with "gcc -m32" as a 32 bit cross build environment. Signed-off-by: Fam Zheng [AJB: add glibc-static] Signed-off-by: Alex Bennée Tested-by: Philippe Mathieu-Daudé --- tests/docker/dockerfiles/fedora-i386-cross.docker | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/docker/dockerfiles/fedora-i386-cross.docker -- 2.17.0 diff --git a/tests/docker/dockerfiles/fedora-i386-cross.docker b/tests/docker/dockerfiles/fedora-i386-cross.docker new file mode 100644 index 0000000000..8fbef2fa53 --- /dev/null +++ b/tests/docker/dockerfiles/fedora-i386-cross.docker @@ -0,0 +1,14 @@ +FROM fedora:latest +ENV PACKAGES \ + gcc \ + glibc-static.i686 \ + glibc-devel.i686 \ + glib2-devel.i686 \ + zlib-devel.i686 \ + glib2-devel.i686 \ + nettle-devel.i686 \ + pixman-devel.i686 \ + gnutls-devel.i686 + +RUN dnf install -y $PACKAGES +RUN rpm -q $PACKAGES | sort > /packages.txt From patchwork Mon Jun 4 14:51:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 137637 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1612962lji; Mon, 4 Jun 2018 07:52:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJuHwgcddbAx8KDutchxpvFVRf0ZAjYrYm4AGdZHEAxCUzHqGpdnGQQRC4b0OgrcIf0n5AP X-Received: by 2002:a0c:f647:: with SMTP id s7-v6mr4984553qvm.103.1528123923388; Mon, 04 Jun 2018 07:52:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528123923; cv=none; d=google.com; s=arc-20160816; b=kvho7EJP4dHFn9x/5X6jwQJCnpC22eKbUIDwuFqea5FYHJMR44W6w9ejj7OduI3yy3 N6dDD505K2Z4DfJVDzoo/w46a1LZa/G2G0DCA2DixCfaeNMNqPZMzBxzJ2wrwcqm8b25 +O55LyMkZKAqUvQnpR/J8U2iZleDC2rDzCajWOe7r9610hz0BTHqfvuIubFP16F9xDip soV0vccXoVN6pjg5LLEDbmj8mZFLiuSOl9R2yRQF+mE0oAmokR0gvB6grivtPuq0TjbC QwFJUjxxK4R4EWXWXURUuAMQ1FHHQFQ4VtlOp7PwhQ8uLjGgOUp1N+a7zTtkJfSUd+Au GfYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=NP5hHTLGBEN22fCddVDQgmJ2wuVnok7C6Leojlci63s=; b=irxTfnYbAYF3Sp/lio6Pbyc6hGPxGsuFzIGsGwbawiqY9VZVlkiHbYxWIsRnpB7ETd RG4ZRColOKzppUWuDl8V9d8q5YqPrcArOAuKHlE1FocNYEJrwgnG5Jb/MjDD4uVKmepd 8aRQHdNZ7cS0tCuEzsvKrXFs5DbkJ0hVOb0kwz+WgkBiJTHoIbmLxWAN9t02SucrF7px homQKPAI2gLSUssXsPQSC9ANDKK7g46K9YrZy6wOP8hBMxo2wcAqg+daIBKKPrwcfnyW XZCIkoNN4ULD14UsOIeWJ8aXwDZRgnQ/JAtsOUdLO2B61tDvvFk7S+985v1P2TvBNpnf gjgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eeO2og2Z; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id g25-v6si5106725qtf.30.2018.06.04.07.52.03 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 04 Jun 2018 07:52:03 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=eeO2og2Z; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqq2-00039x-Pm for patch@linaro.org; Mon, 04 Jun 2018 10:52:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqpL-0002pg-Tb for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPqpL-00043R-3a for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:19 -0400 Received: from mail-wr0-x230.google.com ([2a00:1450:400c:c0c::230]:44366) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPqpK-00042e-Sn for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:19 -0400 Received: by mail-wr0-x230.google.com with SMTP id y15-v6so44278423wrg.11 for ; Mon, 04 Jun 2018 07:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NP5hHTLGBEN22fCddVDQgmJ2wuVnok7C6Leojlci63s=; b=eeO2og2ZpWjDSRKPfy/NnUfAtW7d/wytWJ26qj8YIVsJmWZjOUdtGkSC7LFBqzQ8Pk dIjww7OIaIDpCBODpdA5rAc7NP2cXTg9GSWLbqPjQ1NLhQ960hJf6UBLXnSJwQmFrDxV 1Ojm2h853a0J9G89GZhN+wfeE67NqKd5iRFis= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NP5hHTLGBEN22fCddVDQgmJ2wuVnok7C6Leojlci63s=; b=KjD8lsKEVNobXq8Zzz3af+yQ0K7Z9d6dCDNM3g+VxZUVuDcdHjDPlWjNcA9AL6s3gh jFQl3QhhsvG4RuOIO8PX3e02fRyZcj9mKA6s0yUYjX1QGofpkr+9tN/qdKqRUZlUheoD O546F+qlEQkEdc+cGcc4tvCMn9kEthyuPrUnRQSOfwU7QzDKfEOxLPK8ywN7Fh+PBjzS pKzBLFM6Vhly6e1HGlf80J+bbTWmjHRuRxMl6TGbzWLYqbGjp2CyYBF0+xTPi8jic0ZZ 4l9muW5rf4GzEqw4ZeMiGlTNsOWQLfLbHEsdXa28Q9ip8A308jAqC2Gn2zZKUG7Ya1RT HCZw== X-Gm-Message-State: ALKqPwcH33zduQ49VgDyaXt2WCabYYkwR5aVS6GRhuNsVXQm3DASzMmr 8BVeIcRmmCGSiFm4Q5VVI32SgA== X-Received: by 2002:adf:dc8b:: with SMTP id r11-v6mr12984588wrj.166.1528123877682; Mon, 04 Jun 2018 07:51:17 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g129-v6sm491488wmf.5.2018.06.04.07.51.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 07:51:12 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 848113E0A0C; Mon, 4 Jun 2018 15:51:09 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Mon, 4 Jun 2018 15:51:07 +0100 Message-Id: <20180604145109.30498-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180604145109.30498-1-alex.bennee@linaro.org> References: <20180604145109.30498-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::230 Subject: [Qemu-devel] [PATCH v1 5/7] docker: Update fedora image to 28 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Fam Zheng Signed-off-by: Fam Zheng Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/fedora.docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfiles/fedora.docker index b706f42405..65d7761cf5 100644 --- a/tests/docker/dockerfiles/fedora.docker +++ b/tests/docker/dockerfiles/fedora.docker @@ -1,4 +1,4 @@ -FROM fedora:27 +FROM fedora:28 ENV PACKAGES \ ccache gettext git tar PyYAML sparse flex bison python3 bzip2 hostname \ gcc gcc-c++ llvm clang make perl which bc findutils glib2-devel \ From patchwork Mon Jun 4 14:51:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 137640 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1615694lji; Mon, 4 Jun 2018 07:54:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIb2AxpEu8GxD+dosUiq/2PbxQiTVfwY6WGbPSQ07Zd/JRAM48o9rBDhWHDmRCblFQ1MF5d X-Received: by 2002:a37:8ac3:: with SMTP id m186-v6mr13515827qkd.6.1528124059939; Mon, 04 Jun 2018 07:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528124059; cv=none; d=google.com; s=arc-20160816; b=jW2ffObdy27XBKTC2sR7R7UVtfR6RfrN2Vc3zRQbCj5S8qFCUO6OmgJOBSvA4O1/u1 LBh5OCFG32z5yLBs7C01CS9+oUeCig9p/6sH9lKzXiM49iBz7p8v4bVqmZUBAccc8LjN 2iPItwQFD73PbtxUIJlKviJld64VTf685mW+BeONYtbMNA8pK6kmRocuyk/P46trI3V3 l7nrGmNzsien19gU6u3rvR//vEtkJBIazQFqkl9kU3zF9ctCuGJEmjX7Dv7k/TJnahes gm2i2rrjl8C1PpINA0mbiFRedqfW1B+4uXMKAPcAmKYQXMq4JwhojSsbRlELeCwjqqjH Ydkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=iIjVPn+JpbNcykTamxkgbBYqrOmW1dDi5DGic808kjI=; b=UH/yBP9qJb2nd2My1iHa6dsBQPi6DtKnlpPq7PdEU97lz1CajFJRkcB30k7mg4Uthj UOI2HrTe30hQgffy9Ri/XNtZNv1UryJR+Y7zM7iWRejnSFS0bIC1Mf1q/k6MFcSAqY/D 57lIo0TWMfRrnn9Mimqxo1DDePFb+8Yos4EgtXC5pP1HKhhXocPWI1JezdHdd9lPBGE2 pKdyMTrHA2zcCv3RXhd5xdJMaCGMB20/dYd0Q/EG1bJLeFvhe7g9Zf0kZAFNSZueZJ6T dij2t7wT4ZZhQNeXmfwUrFBHoEzvyJBWU0e12f5BVXGXNND2TNGYQ7W1Pya1UyXatygM n2Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ZFY5iKtS; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id s184-v6si5858712qkc.399.2018.06.04.07.54.19 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 04 Jun 2018 07:54:19 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ZFY5iKtS; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqsF-0004qz-E5 for patch@linaro.org; Mon, 04 Jun 2018 10:54:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqpN-0002rT-LZ for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPqpM-00044n-IG for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:21 -0400 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:35479) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPqpM-000445-A6 for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:20 -0400 Received: by mail-wr0-x234.google.com with SMTP id l10-v6so9450269wrn.2 for ; Mon, 04 Jun 2018 07:51:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iIjVPn+JpbNcykTamxkgbBYqrOmW1dDi5DGic808kjI=; b=ZFY5iKtSp0W6tt+B+djmrE8PYN+ANDR0fb6TPvcgj20WQL/pkIyAb5kSSOisDVN7Hk bZj4x+19pawfHNJNBvWIOdsM8uTxU7uwcq1jj8GUXckttyXQ+gxItlgPfvpP8W7hzf/C Inq+ILl3DhAFDLdI57/PKCcbxObFwe7JQLkSc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iIjVPn+JpbNcykTamxkgbBYqrOmW1dDi5DGic808kjI=; b=pZnWiI/M0U80ySB78ST/aIP0sZmYjJYGZWNhMPzMFX1ju/xpnOrqXwp2EKO4j6SvHf gQO8jrT/VrjHdWuxbSzBGfI2GOdt+8XqbVZwAXjF2iMBYXHEJXN7Sq2zhVkBVgXHkkMt A2dT5U1OGTfUiOf4cErhVZ3YRh5ooPxp7I/HnvM0CHkUZciPIBs6LJtWLNehEf8rKPa+ NJd4Ksm4S8zvdSGzkaiu7I2K1iTnj6oJdnpfm9Q67jgt2HqCeGprKwGS4IT6Pi9qGYGv mry5I7zPlkGYngRa2BPW/J4egDkxRqEuTvkhaGVRa661VFa/NF6iLo3V7rZ5Nvvkc8g+ tBJw== X-Gm-Message-State: ALKqPweUkJwuXFZQ67iEmlwbyMQtIByhQExmVLN5obVeA1boUo7dfCNU AjKmEn1yEQhmctOVRQc/dIBeSQ== X-Received: by 2002:adf:f6c9:: with SMTP id y9-v6mr17621932wrp.4.1528123879220; Mon, 04 Jun 2018 07:51:19 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id l7-v6sm332968wmh.1.2018.06.04.07.51.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 07:51:12 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 991953E0A51; Mon, 4 Jun 2018 15:51:09 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Mon, 4 Jun 2018 15:51:08 +0100 Message-Id: <20180604145109.30498-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180604145109.30498-1-alex.bennee@linaro.org> References: <20180604145109.30498-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::234 Subject: [Qemu-devel] [PATCH v1 6/7] docker: test-mingw: use SDL2 and GTK+3 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Paolo Bonzini Do not test the deprecated API versions. debian-win32-cross and debian-win64-cross are already using SDL2 (they do not cover GTK+ at all). Signed-off-by: Paolo Bonzini Reviewed-by: Daniel P. Berrangé [AJB: fix merge conflicts] Signed-off-by: Alex Bennée --- tests/docker/dockerfiles/fedora.docker | 8 ++++---- tests/docker/test-mingw | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) -- 2.17.0 diff --git a/tests/docker/dockerfiles/fedora.docker b/tests/docker/dockerfiles/fedora.docker index 65d7761cf5..7d1d008002 100644 --- a/tests/docker/dockerfiles/fedora.docker +++ b/tests/docker/dockerfiles/fedora.docker @@ -11,12 +11,12 @@ ENV PACKAGES \ numactl-devel SDL2-devel snappy-devel spice-server-devel \ systemtap-sdt-devel usbredir-devel virglrenderer-devel vte3-devel \ xen-devel \ - mingw32-pixman mingw32-glib2 mingw32-gmp mingw32-SDL mingw32-pkg-config \ - mingw32-gtk2 mingw32-gtk3 mingw32-gnutls mingw32-nettle mingw32-libtasn1 \ + mingw32-pixman mingw32-glib2 mingw32-gmp mingw32-SDL2 mingw32-pkg-config \ + mingw32-gtk3 mingw32-gnutls mingw32-nettle mingw32-libtasn1 \ mingw32-libjpeg-turbo mingw32-libpng mingw32-curl mingw32-libssh2 \ mingw32-bzip2 \ - mingw64-pixman mingw64-glib2 mingw64-gmp mingw64-SDL mingw64-pkg-config \ - mingw64-gtk2 mingw64-gtk3 mingw64-gnutls mingw64-nettle mingw64-libtasn1 \ + mingw64-pixman mingw64-glib2 mingw64-gmp mingw64-SDL2 mingw64-pkg-config \ + mingw64-gtk3 mingw64-gnutls mingw64-nettle mingw64-libtasn1 \ mingw64-libjpeg-turbo mingw64-libpng mingw64-curl mingw64-libssh2 \ mingw64-bzip2 ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3 diff --git a/tests/docker/test-mingw b/tests/docker/test-mingw index 503a6bc6f7..7cca7e16a6 100755 --- a/tests/docker/test-mingw +++ b/tests/docker/test-mingw @@ -28,8 +28,8 @@ for prefix in x86_64-w64-mingw32- i686-w64-mingw32-; do --enable-vnc \ --enable-bzip2 \ --enable-guest-agent \ - --with-sdlabi=1.2 \ - --with-gtkabi=2.0 + --with-sdlabi=2.0 \ + --with-gtkabi=3.0 install_qemu make clean From patchwork Mon Jun 4 14:51:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 137642 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1618066lji; Mon, 4 Jun 2018 07:56:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLRKk2bP5ieAMVXZ6ecltu6IXP0nKNn8OVYf8LR6G7HtVi/73gKtYANDYDZQw3sWoxrbQW0 X-Received: by 2002:a37:1059:: with SMTP id a86-v6mr19864734qkh.164.1528124186658; Mon, 04 Jun 2018 07:56:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528124186; cv=none; d=google.com; s=arc-20160816; b=I0FoFekNq13rySbNozHLwPOEn+GoKbQSs2wtU5NXD7frlBelPJbVzJoTKxYYcrGTn/ DpJZiK1bx7EscShpFl8TGeaw15D33Sy8P1aqCNyX9o5aKt724Fdu76L/OkPr5a/nAnM7 UnHHvgdPE4TjdNdAH5iu8ptUzkdsKjcxRV5ztxgpUxZouGYw2wMCgXDgK4496nPtCAEh xlPm5xij7Nfq0/zyCxOR2Vnl2YM36ytZkZGpTjEDvfNFn10gmfFvsn0JY5PsgRSHLKlV LnjWnCxGZ5AenTPq/iZ+OYYrSsBuD7NuJ2UEBeTPfZrLMUB7B7nxEBRl4ZgI4NrYgpw9 2Thg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=WBjsN9lQ2JHNiw4WfTPivHBX3YStoLK9+voBFJjZ1fY=; b=aPiATBcDFjhLNYk6H8Z6pBfkptdgoJtWSk3NGjxA6PP11Pkqpd7k79nw/znwBy2Jw3 kARc0/mVlRVqEySI83SjppoALbhR1oKM2mf/NX7zAQ7sxaVmCwy27EHpVDFz8UQMELzV CX+QpwEGI6lO3ctwArCzAo6Y2bZlVJy6wBwOsDsXTCRTqEg9z/sV1daYq8RtSV4UKarL xWPy/vLqOQke+1hUDDtxyUxO4FzCAxSNULkj3of5CZUR1l+paJNljeD8rGb1RxGyIQ6a NKoP0VLLuwRXnjQZKiE1B3nkhsSz/Fdkvk4K/Q6Vfz5vwtQjrQ0THh8PTVM3kU0fQJcb G+Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=iP7rj6MW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id e11-v6si6606047qvo.221.2018.06.04.07.56.26 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 04 Jun 2018 07:56:26 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=iP7rj6MW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:40184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPquI-00073B-6x for patch@linaro.org; Mon, 04 Jun 2018 10:56:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fPqpP-0002sN-Jq for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fPqpO-00046b-Ge for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:23 -0400 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]:37035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fPqpO-00045o-8b for qemu-devel@nongnu.org; Mon, 04 Jun 2018 10:51:22 -0400 Received: by mail-wr0-x22c.google.com with SMTP id d8-v6so13088013wro.4 for ; Mon, 04 Jun 2018 07:51:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WBjsN9lQ2JHNiw4WfTPivHBX3YStoLK9+voBFJjZ1fY=; b=iP7rj6MW92v0NARloK2/m7DQxk/Gw3HGxDr6s/OBAQ9EFdqVYwws4TRjbOR6DESSnT Lz0yh07Rwde7za+tXHwQ0w1eL2CZgTPVyyvvxv9RfYQSDn7Ad5Yhx2KOwZ279NdjjBSU eLaQX1ZxpVDRysgdsTm07/AiLzF/uLu6OtrdI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WBjsN9lQ2JHNiw4WfTPivHBX3YStoLK9+voBFJjZ1fY=; b=jmsK7a2d31KbsozmQiDiJRUVybfTNFN3z1ZE74+gqDdGQfMQRXddDC6d5O4sNcvfj8 WnbCqKFlh8W4TlpGBHO6PGiHPhSTyHHVAdkjFPuMcccZY1xGQjKlXUsf7h2mw1C8HZv7 lUQ9sYSpJUlcmwR2beIlAr6DRJSgcdZl2L8MdslBRBNE2BmiL6qEedSfKlk8yScxBdlI AEqe5n0Sr3+d2VF5YzXmvlN6Tqt4W+zE4FsE6jiNwA94ytAeejP+OQL/RU6+FmsdRdVL 5Cl7ESX/u5w8XjO5n9CvNpTg0MBlODnJn7ePyBtyKeZBTojVCd/NI1JmDa+KyN/2LF9q 7LIg== X-Gm-Message-State: ALKqPwe5NjGPWBdl7fK5iBjyp0BbRnbvhXnULU4CPd9PMfWiJbpcMbik VQRz5rGM8GuGucba/+q5Xe3qIg== X-Received: by 2002:adf:f8c2:: with SMTP id f2-v6mr11995783wrq.237.1528123881107; Mon, 04 Jun 2018 07:51:21 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 69-v6sm485661wmi.29.2018.06.04.07.51.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 07:51:19 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id AD17C3E0AB5; Mon, 4 Jun 2018 15:51:09 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: cota@braap.org, famz@redhat.com, berrange@redhat.com, f4bug@amsat.org, richard.henderson@linaro.org, balrogg@gmail.com, aurelien@aurel32.net, agraf@suse.de, pbonzini@redhat.com, stefanha@redhat.com, stefanb@linux.vnet.ibm.com, marcandre.lureau@redhat.com Date: Mon, 4 Jun 2018 15:51:09 +0100 Message-Id: <20180604145109.30498-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180604145109.30498-1-alex.bennee@linaro.org> References: <20180604145109.30498-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22c Subject: [Qemu-devel] [PATCH v1 7/7] docker: add debian/tricore image X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé TriCore binutils is built from Bastian Koppelmann repository. Note: There is no TriCore compiler in this image (only assembler/linker). Signed-off-by: Philippe Mathieu-Daudé [AJB: base of Debian9, add to Makefile.include] Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 3 +++ .../dockerfiles/debian-tricore-cross.docker | 23 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-tricore-cross.docker -- 2.17.0 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index ef1a3e62eb..f0aeb76a58 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -62,6 +62,9 @@ docker-image-debian-win32-cross: docker-image-debian8-mxe docker-image-debian-win64-cross: docker-image-debian8-mxe docker-image-travis: NOUSER=1 +# Specialist build images, sometimes very limited tools +docker-image-tricore-cross: docker-image-debian9 + # Expand all the pre-requistes for each docker image and test combination $(foreach i,$(DOCKER_IMAGES), \ $(foreach t,$(DOCKER_TESTS) $(DOCKER_TOOLS), \ diff --git a/tests/docker/dockerfiles/debian-tricore-cross.docker b/tests/docker/dockerfiles/debian-tricore-cross.docker new file mode 100644 index 0000000000..898b8dd511 --- /dev/null +++ b/tests/docker/dockerfiles/debian-tricore-cross.docker @@ -0,0 +1,23 @@ +# +# Docker TriCore cross-compiler target +# +# This docker target builds on the debian Stretch base image. +# +# Copyright (c) 2018 Philippe Mathieu-Daudé +# +# SPDX-License-Identifier: GPL-2.0-or-later +# +FROM debian:9 + +MAINTAINER Philippe Mathieu-Daudé + +RUN git clone --single-branch \ + https://github.com/bkoppelmann/tricore-binutils.git \ + /usr/src/binutils && \ + cd /usr/src/binutils && chmod +x missing && \ + CFLAGS=-w ./configure --prefix=/usr --disable-nls --target=tricore && \ + make && make install && \ + rm -rf /usr/src/binutils + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=tricore-