Message ID | 20180619154435.18898-7-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Clbd6XIL"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 419CLZ5M6Zz9s37 for <incoming@patchwork.ozlabs.org>; Wed, 20 Jun 2018 01:58:46 +1000 (AEST) Received: from localhost ([::1]:43405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fVJ1o-00015f-BP for incoming@patchwork.ozlabs.org; Tue, 19 Jun 2018 11:58:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVIoF-0006W2-PL for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:44:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVIoE-0006NC-HL for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:44:43 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:45068) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1fVIoE-0006Le-Ap for qemu-devel@nongnu.org; Tue, 19 Jun 2018 11:44:42 -0400 Received: by mail-wr0-x243.google.com with SMTP id o12-v6so124198wrm.12 for <qemu-devel@nongnu.org>; Tue, 19 Jun 2018 08:44:42 -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=MgIjZRbuceJlYBBj2Oi5NylWp3gt4Pd7+gEqfcOfo8g=; b=Clbd6XILyYCUso4ePovm6HJtVvKW76yJDwmmVGzSM2+ufL2SgJE0sBCHr547xqKljq tpu+UrraMYVaOxJPdAy0eB1HRhbSSCw6HL7POrOvaW3EkcRfG/WmoPOrEbeswgmLhtLI mQvVvE5XhLxGKv27ipq5sOoR7XqU9c4zYchR8= 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=MgIjZRbuceJlYBBj2Oi5NylWp3gt4Pd7+gEqfcOfo8g=; b=lGzLzOfyZCbygyb+qNxcItad6yVWeObN7MuuAVTYDUNxDfw9mOfZX8nSn+WXN7VUZ9 ra+rBI7mEZvevIH8rKUaxMSI/Q8f0WYQcFCo1NOZTMxNlgJ4DmuE/yaWEO/DU8QYfU2b nSgWKoXHumv7746yy2rWtPwJtw4ZrPs98+/SWvEeOiaNXoahJsNLAv4zXC9c8mj8dHaS NX3oRdvsy2ZnXsI2eEtmxD8ms5GNyRdgvM7zWPbhNqd5OR2gppKzndlct4ufiRLXH4Lp 5ea0Fdsk3ipXucW1Enpx0yOYI8F8QRm7Thpx7BskHAJ2UCjSDbG0nw3XhATjKvEgshX5 udJg== X-Gm-Message-State: APt69E0oKCyKNLVp6PnDXPLQ0CS1nH/vn1IsSIgcX4xS5FAQozu88d7m kyyeSnm5nnu35kG9D7J9l2VOTA== X-Google-Smtp-Source: ADUXVKKMNtkFXus7GV7VIsoxuxofhCiZas6pIP7EPgib1+Pu84cH5EwjemVx97WObrOn8BzJcWqCSw== X-Received: by 2002:adf:8f23:: with SMTP id p32-v6mr14204498wrb.193.1529423081158; Tue, 19 Jun 2018 08:44:41 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id j4-v6sm3277wrr.47.2018.06.19.08.44.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Jun 2018 08:44:39 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id F13E33E08E8; Tue, 19 Jun 2018 16:44:35 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: peter.maydell@linaro.org Date: Tue, 19 Jun 2018 16:43:45 +0100 Message-Id: <20180619154435.18898-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180619154435.18898-1-alex.bennee@linaro.org> References: <20180619154435.18898-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::243 Subject: [Qemu-devel] [PULL 06/56] docker: extend "cc" command to accept compiler X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: agraf@suse.de, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, richard.henderson@linaro.org, qemu-devel@nongnu.org, f4bug@amsat.org, cota@braap.org, famz@redhat.com, aurelien@aurel32.net Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,01/56] configure: add support for --cross-cc-FOO
|
expand
|
diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 4cd6f9b8ec..663dfcba4b 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -416,6 +416,8 @@ class CcCommand(SubCommand): def args(self, parser): parser.add_argument("--image", "-i", required=True, help="The docker image in which to run cc") + parser.add_argument("--cc", default="cc", + help="The compiler executable to call") parser.add_argument("--source-path", "-s", nargs="*", dest="paths", help="""Extra paths to (ro) mount into container for reading sources""") @@ -429,7 +431,7 @@ class CcCommand(SubCommand): if args.paths: for p in args.paths: cmd += ["-v", "%s:%s:ro,z" % (p, p)] - cmd += [args.image, "cc"] + cmd += [args.image, args.cc] cmd += argv return Docker().command("run", cmd, args.quiet)