Message ID | 20221004130138.2299307-19-alex.bennee@linaro.org |
---|---|
State | Accepted |
Commit | c4575b59155e2e0065c29d56496dbf3e6ffd035b |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp187435pvb; Tue, 4 Oct 2022 06:52:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4d8dTa17pcXDD+Lo74A1Je+W6mzjwOdN6TxUenx/PHKf9n+DLj5wqgXMHKPbg//RKhpPWh X-Received: by 2002:a37:9a51:0:b0:6cf:427b:c180 with SMTP id c78-20020a379a51000000b006cf427bc180mr16195225qke.767.1664891541927; Tue, 04 Oct 2022 06:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664891541; cv=none; d=google.com; s=arc-20160816; b=bv02O1PeDMxr7RYeo09mgrkb0VretFc8A6qS3vhUIwVJC+1mCorVyTWBwMLfL9pJit /Ug4MwbQ2s8qDPngkbRK1IBbKW8pJYAz58yClNGR7NaymxM6eOpyZC4mubuNJ4R1dAKD wTlaTYyl32Y8G8UPLovLRz0wLR5zEDTSUmT7g5WB6ToIOAzv2CGaKZicqS5j3I+7KqsF f+4Rkyv6h0Q808PbkPDLSMOh3uyO6N6/yveWmJYqlzvwqck2Jx2SWBGZ9V6Lb7pe3xIu EhpEWolYrb7G1OESqDFn032K/c4P7MMsJGS7WkYqgtJM3aiHhPb9tA5+fZtzBpih014C o/8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3w+bjpM8X7ClsceEYaojlv3+SvzK1wDqMMAZn+rwyHQ=; b=gPxZhDFKTpJdv8TAYA8dJtx5T0BLpGVqrLKX5F/MAMaphB1lN5F8K7Njdn8RjUoiF0 oN/5Gse61RbagvpS5Vbt3M/RtTSS3Sgk3IMc0QbTwut/RiKdMDuIKTQfo7+sHSCrwr6P vty8yDy/UDJvmvDWM/ImXZMBz1iv4yLOhxq0kws/fS+IPnuN7uzUkijLeVa/Rprv4XF9 wGVId6shXa0kJIJVnXnzTGKSuJtz497Gqfs7/+VY3pX305Ys8joA46w8CwbG+Ca0QfQ5 ugDEcjvsB6j6bqW2Alek3+Gj7aDnT9rv/iSrMaFR3OgjWULzGncxlHaWWF9MCAkRQf8M sTrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zMwMbHo1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c19-20020a05622a059300b0038c2b5d05c7si297428qtb.485.2022.10.04.06.52.21 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Oct 2022 06:52:21 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zMwMbHo1; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1ofiLN-0000Dy-DZ for patch@linaro.org; Tue, 04 Oct 2022 09:52:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1ofhq1-0001In-90 for qemu-devel@nongnu.org; Tue, 04 Oct 2022 09:20:01 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:45617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>) id 1ofhpy-0001pn-Te for qemu-devel@nongnu.org; Tue, 04 Oct 2022 09:19:56 -0400 Received: by mail-wr1-x435.google.com with SMTP id a10so8947005wrm.12 for <qemu-devel@nongnu.org>; Tue, 04 Oct 2022 06:19:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=3w+bjpM8X7ClsceEYaojlv3+SvzK1wDqMMAZn+rwyHQ=; b=zMwMbHo1G4HS2zeRRBTX+Q3zu1ksrD3Cjgn2CJHScem9ihLH2LIXPnkJToGYLgrKha 0AqbXKW97k5qDPMz0YTLwfiaWXQuTWlZtAzeyT/ug3fEkn7f3K+tza7RweHEtYOfOUFN VTIFM7E8c9VqDsTgjg3QZepCSqiSRFwP8mZ1QPumPYJn+XEDRfrrMArL7NHHZXjfVaux y40sRdACd+2EesAwfl5X8qZAW0WVsOkfsolD/4sGOJPwMQ7wyGlluT2Bqr95QNfMMIhg ZWUB7pbpTKePc5eUxmuUwE65o27I+KfpUyat8QZRxuHYGPvkeEjjvH6j4+O86geIWvQ7 oCIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=3w+bjpM8X7ClsceEYaojlv3+SvzK1wDqMMAZn+rwyHQ=; b=wTvBnpEvCNfN6u4i6HPss8baV+/WMNYBn8N5onXHiGGL9DR4f125Hqg1g4Kwr2mJpw NCTq2HbwUFJTbE/gGmR7HqbkS7TUACPviqrqyQQYRLp8vVUamqqEv11sdD38yM3yldPP 4p1vX+eMTIUYjL9pwQoIdU2iT5I4MTqBkYQ1Ca+w3jq4yew56lhq3n7FPezs+F+PHTHO FUuvHxYpVILsOuaq2AthTRXQrj4C+hSdAgczTN+uOLQV6lITir/vXlqb3FD5fDwY5y3N kkiYJ6ynNZGYuvIlGrbHSrlY4KId/xWBKfv1Y4xFqDKetMJqMUDvjl1rtX3Ob/SdArQN eJCg== X-Gm-Message-State: ACrzQf0Z2CGalPZ+s6VGsDYI83BAMYtN+J212f/8EMQ6qfzHe84e99AU iWYD3QWvNooyZU1ddmEkIPIgZA== X-Received: by 2002:a5d:4748:0:b0:22e:32c1:d11e with SMTP id o8-20020a5d4748000000b0022e32c1d11emr9036725wrs.672.1664889592330; Tue, 04 Oct 2022 06:19:52 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id t20-20020a05600c199400b003b4fe03c881sm20234700wmq.48.2022.10.04.06.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 06:19:51 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 4DCF61FFC8; Tue, 4 Oct 2022 14:01:40 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, Paolo Bonzini <pbonzini@redhat.com>, =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= <alex.bennee@linaro.org>, =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= <f4bug@amsat.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com> Subject: [PULL 18/54] configure: store container engine in config-host.mak Date: Tue, 4 Oct 2022 14:01:02 +0100 Message-Id: <20221004130138.2299307-19-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221004130138.2299307-1-alex.bennee@linaro.org> References: <20221004130138.2299307-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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: <https://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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,01/54] scripts/ci/setup: ninja missing from build-environment
|
expand
|
diff --git a/configure b/configure index f3984bb193..ad70c81bfe 100755 --- a/configure +++ b/configure @@ -1810,9 +1810,11 @@ fi container="no" if test $use_containers = "yes"; then - if has "docker" || has "podman"; then - container=$($python "$source_path"/tests/docker/docker.py probe) - fi + case $($python "$source_path"/tests/docker/docker.py probe) in + *docker) container=docker ;; + podman) container=podman ;; + no) container=no ;; + esac fi # cross compilers defaults, can be overridden with --cross-cc-ARCH @@ -2444,6 +2446,9 @@ if test -n "$gdb_bin"; then fi fi +if test "$container" != no; then + echo "ENGINE=$container" >> $config_host_mak +fi echo "ROMS=$roms" >> $config_host_mak echo "MAKE=$make" >> $config_host_mak echo "PYTHON=$python" >> $config_host_mak diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 270e99786e..c87f14477a 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -14,7 +14,7 @@ DOCKER_DEFAULT_REGISTRY := registry.gitlab.com/qemu-project/qemu endif DOCKER_REGISTRY := $(if $(REGISTRY),$(REGISTRY),$(DOCKER_DEFAULT_REGISTRY)) -ENGINE := auto +ENGINE ?= auto DOCKER_SCRIPT=$(SRC_PATH)/tests/docker/docker.py --engine $(ENGINE) CUR_TIME := $(shell date +%Y-%m-%d-%H.%M.%S.$$$$)