From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696167117310.10787404530197; Fri, 8 Oct 2021 05:29:27 -0700 (PDT) Received: from localhost ([::1]:48848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp0A-00066Y-2Q for importer@patchew.org; Fri, 08 Oct 2021 08:29:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYows-0002wU-IC for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:02 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:34657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYowq-0006rH-Ne for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:02 -0400 Received: by mail-wr1-x432.google.com with SMTP id t8so29476790wri.1 for ; Fri, 08 Oct 2021 05:25:59 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l16sm2592886wmj.33.2021.10.08.05.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:25:57 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 444391FF98; Fri, 8 Oct 2021 13:25:56 +0100 (BST) 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=lMmeyhB+N7zk91H6V9iKKmYMPFJOsMjTkfaY9u1DH2A=; b=hX/HcBVx0wcPDBG0vo4HxTrxmMHLZUkbHR3WeTQZR+3b9R4Zeoo9qI6NdfceyDA2DA aC/NkgHfcgNGadlYmsCoPT4/VjvXj9WS/ZxKCSC/t0n0PkIswRR8gBUmtCM0epnr2Ow6 l9ZPASkxXHJ5xDtuhphcXOQhNjvroQ8jVECKj5xxIwnoTpsapZCY2mRcx9qnTGbtWXew 9z2+y60Vdp3gHHjF+f8UmhOBSEdLpsT7E/MwFPW998WU/WcZMkPyIUvoXP3CoCIpjE/f Qlli2C1e71i/QRc0bU9W9l3Sm4kXkS5fzerWIlgMfl2OKeIWEIaUJg+9LcGzxDaZY1SS sLMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lMmeyhB+N7zk91H6V9iKKmYMPFJOsMjTkfaY9u1DH2A=; b=6WEeiKdX1nesfOyiDcJ7TQnfcDA1ZIevXiR3duFK3vECoWiA6Zc8sWKteMhgz+po0y QSFlK//gSCeLHgmk3ObTNER4qqUlc/DuWS/UKw/RhxY7GBJeTZTtpoZDfLsasv3FIocq sPPCXS/UtTCX31rmFfzh8TsQNfyFaa5usYbtEC8/kMMYaWhZQAjEFlBRzK00tEDQmmsI ZZM9it3qqmojtIPOmZv8x3SUn25iaw4geTvXglwuLPl//Fj4QI4bDfhu75DJpyOtozHj n5zw524gqE/DQvzXHCvU4NAQPu4tMD5zAVXgS2uK37abJ2jvBTczd+HJFB0IyHOcxio5 pV9Q== X-Gm-Message-State: AOAM531kd+rccqwU5dIZtK0GCEkACHIVyA0++WMRQSY5t3bJJwH5OSnD rREwDp5FWObuf/BMA1RrM+7hTg== X-Google-Smtp-Source: ABdhPJx84HQ5xMoWEKZRpNXkWjaBFWGf+p6zCC+yGGKOoJREoCwPIOZzTgHQsnBxR12E5PKOUmsO8g== X-Received: by 2002:adf:aa99:: with SMTP id h25mr3694648wrc.271.1633695957892; Fri, 08 Oct 2021 05:25:57 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 01/12] configure: don't override the selected host test compiler if defined Date: Fri, 8 Oct 2021 13:25:45 +0100 Message-Id: <20211008122556.757252-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, Warner Losh Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696167959100001 There are not many cases you would want to do this but one is if you want to use a test friendly compiler like gcc instead of a system compiler like clang. Either way we should honour the users choice if they have made it. Signed-off-by: Alex Benn=C3=A9e Cc: Warner Losh Reviewed-by: Warner Losh Message-Id: <20210917162332.3511179-2-alex.bennee@linaro.org> diff --git a/configure b/configure index 877bf3d76a..e2750810e2 100755 --- a/configure +++ b/configure @@ -1686,8 +1686,10 @@ case "$cpu" in # No special flags required for other host CPUs esac =20 -eval "cross_cc_${cpu}=3D\$cc" -cross_cc_vars=3D"$cross_cc_vars cross_cc_${cpu}" +if eval test -z "\${cross_cc_$cpu}"; then + eval "cross_cc_${cpu}=3D\$cc" + cross_cc_vars=3D"$cross_cc_vars cross_cc_${cpu}" +fi =20 # For user-mode emulation the host arch has to be one we explicitly # support, even if we're using TCI. --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696158144785.944933267306; Fri, 8 Oct 2021 05:29:18 -0700 (PDT) Received: from localhost ([::1]:48488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp00-0005qX-D2 for importer@patchew.org; Fri, 08 Oct 2021 08:29:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYows-0002wT-IC for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:02 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:37813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYowq-0006rc-Nk for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:02 -0400 Received: by mail-wr1-x42e.google.com with SMTP id e12so29298381wra.4 for ; Fri, 08 Oct 2021 05:25:59 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id w26sm2199168wmk.34.2021.10.08.05.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:25:57 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 5A6A71FF99; Fri, 8 Oct 2021 13:25:56 +0100 (BST) 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=UNCvOhfMcVb2T//uqDjRHKJRqdy+NSIyFeLv88Ae7MA=; b=q+p8t3q581UjKQZj7LYMqQx/Fbm2bNkC5uuY9vIruH9dIKdrpSZizgR6C826R90UJg KiVLeR4XOPM0GPMzZTXo9ziwioAlmRfrSoa0czEzGKfXDRf0jm8I5sGVYvpZW3tTIxGh dFqgjgQQ1yDLQ3Bd2bMHfi1+dJtGHK9oSJrkSJmmkMlI7jQTPWN8mIvXABX2Z8l3ctsM r1RoHRzfZaXeU6XIh0JVCpD1C2zJGLHOUEBA2QFl4E6Xl6Kf2+FlQhPs+KWk43Idfauk aHvXWL9AXmks1BnTOAO3R43tAypgqSRbInIZJ4BbSMfFujEF/q2FTez6bpUNcQehr/Ig JNLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UNCvOhfMcVb2T//uqDjRHKJRqdy+NSIyFeLv88Ae7MA=; b=UovVqS5KdlRFp+yy+7FLOth+bBGeeNJ7fXawhq9QwGJjU2VMt/S8q7uCiZzErX2hMs ei4GFllOE2aKQzgK45DYeyUxmWL6eJg+acYNdXT7e4NV2H+j4B+3Cnmwo9ILpdgb6IIZ qzaLko+yZCBBKWtq3i/n77FgE6Yk5CcU6YdURobCtTWZnXUq7EpSIXp8xnSXwvXhpGZ9 6iP1fW3kkwkAtUkmgDQS5Du1RTMv1WfoGBhYX/rmp+FF4Wl8DbvWh+skMG98Lp7o+2yz w1drV7cu/sNddVd6ShAQ4w9ajvUqecq21DfA1pNoc3ZWCb9bDWFBe+8KyHteEEkEOr02 m8rQ== X-Gm-Message-State: AOAM531u/JY9/9s+kC1UKCJkkf0i0wu/+UUWSGUhh7fzquDbGFYZrszV SjMZpkjs4w2MMCURnW7d/DUYEA== X-Google-Smtp-Source: ABdhPJwoZEBH+yaTCmjmkMgp3mb+NC7rKGZ622TH+Y3F7I1X8XZsv5q0nGgpaqrrJnQ8I0jH8LtqPA== X-Received: by 2002:a05:600c:4fd0:: with SMTP id o16mr3064019wmq.73.1633695958584; Fri, 08 Oct 2021 05:25:58 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 02/12] tests/tcg/sha1: remove endian include Date: Fri, 8 Oct 2021 13:25:46 +0100 Message-Id: <20211008122556.757252-3-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42e.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, Warner Losh Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696159513100001 This doesn't exist in BSD world and doesn't seem to be needed by either. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Warner Losh Message-Id: <20210917162332.3511179-3-alex.bennee@linaro.org> diff --git a/tests/tcg/multiarch/sha1.c b/tests/tcg/multiarch/sha1.c index 87bfbcdf52..0081bd7657 100644 --- a/tests/tcg/multiarch/sha1.c +++ b/tests/tcg/multiarch/sha1.c @@ -43,7 +43,6 @@ void SHA1Init(SHA1_CTX* context); void SHA1Update(SHA1_CTX* context, const unsigned char* data, uint32_t len= ); void SHA1Final(unsigned char digest[20], SHA1_CTX* context); /* =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D end of sha1.h =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D */ -#include =20 #define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits)))) =20 --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696459726989.3376290008043; Fri, 8 Oct 2021 05:34:19 -0700 (PDT) Received: from localhost ([::1]:57064 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp4q-0003nQ-AJ for importer@patchew.org; Fri, 08 Oct 2021 08:34:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYowv-0002yK-KL for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:05 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:33562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYowt-0006to-RU for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:05 -0400 Received: by mail-wr1-x434.google.com with SMTP id m22so29410987wrb.0 for ; Fri, 08 Oct 2021 05:26:03 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id o6sm3501954wri.49.2021.10.08.05.25.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:26:00 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 73FFC1FF9A; Fri, 8 Oct 2021 13:25:56 +0100 (BST) 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=5rte+4aR3/Vd75ajXIv4otNTx3jNTOeHVc3H5M5GOsw=; b=gMePPYgGei8PddWDNSqZKIhwt4Lry5ceOib9g7QyMJrtF9uPDkJcEpF9oLyA9G2Bl9 JJqvZT/FfXdn9qme85XizD/85VjNwXyX7NZ30WNE3ZdHdnq2sR8WHwB+8Mb6xcTkZ14I Q4bim2IzrBKXKkiZIKYn6yR9mSCp6yjstytA1m0xhuob2Cj/rBR+nNdpaRB8MYFO4TQD py8POP80Ugsmz8NcYFtwe7q6rxTAbpUSQ8EWnEhElnnio+HKHtHdIj/uPAYcJXh+dVD+ CY1XBAsfz2KycY17Nc0mtArWH6ln2isfI8fOaLqta67Rm8SXag31wNnCYdYWRrK+U83C xywQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5rte+4aR3/Vd75ajXIv4otNTx3jNTOeHVc3H5M5GOsw=; b=K5xTUIGdeSK96eEHhIDJ3IIpfY3RlSc4IIpbuKlGgnbJ5NpFUCPC+c8plcH4XEUO3a Xz43XfiLy5gNEVK3vWP2CrG+bDfmIYEjQszSet5mPEEOEL8ofEosNAbTPolacvl2/DU/ k21SP5Gb44QOCQDdffwwPWzExCuqT4cBXM6EbiKeHtwBv875o5qsHDlmCZzgRhwJcd9g L+ePl14qXHK00wViay1wNTEU4KQoIp0WsQOUMvS/3mPgnFZGB0dkKlEi9+gBQJPOZ1RK rT73tEV4toCjeh4Ugv4uuwpbq3n+U64jJN5s6LX87kUGPFxdYsAGmhRm6+fbMG24nCME VtBw== X-Gm-Message-State: AOAM532mWq5uXaPp4FQ/Qd0KKB1RTaxYesCtzsWsTjYQ2zKcbH40ApMC QynYmYgcpJLJ0No+z3VVzWt4aA== X-Google-Smtp-Source: ABdhPJzz+GhEG4dM4IV1D2WglWJmf7FNSf1epLpZFkeWfpsjNa34dm8r2S8LCZrhQeHlAY+xmRWN4A== X-Received: by 2002:adf:e0c1:: with SMTP id m1mr3728979wri.241.1633695962512; Fri, 08 Oct 2021 05:26:02 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 03/12] tests/tcg: move some multiarch files and make conditional Date: Fri, 8 Oct 2021 13:25:47 +0100 Message-Id: <20211008122556.757252-4-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x434.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Eduardo Habkost , qemu-devel@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Warner Losh Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696461804100001 We had some messy code to filter out stuff we can't build. Lets junk that and simplify the logic by pushing some stuff into subdirs. In particular we move: float_helpers into libs - not a standalone test linux-test into linux - so we only build on Linux hosts This allows for at least some of the tests to be nominally usable by *BSD user builds. Signed-off-by: Alex Benn=C3=A9e Cc: Warner Losh Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Warner Losh Message-Id: <20210917162332.3511179-4-alex.bennee@linaro.org> diff --git a/tests/tcg/multiarch/float_helpers.c b/tests/tcg/multiarch/libs= /float_helpers.c similarity index 99% rename from tests/tcg/multiarch/float_helpers.c rename to tests/tcg/multiarch/libs/float_helpers.c index bc530e5732..4e68d2b659 100644 --- a/tests/tcg/multiarch/float_helpers.c +++ b/tests/tcg/multiarch/libs/float_helpers.c @@ -22,7 +22,7 @@ #include #include =20 -#include "float_helpers.h" +#include "../float_helpers.h" =20 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) =20 diff --git a/tests/tcg/multiarch/linux-test.c b/tests/tcg/multiarch/linux/l= inux-test.c similarity index 100% rename from tests/tcg/multiarch/linux-test.c rename to tests/tcg/multiarch/linux/linux-test.c diff --git a/tests/tcg/multiarch/Makefile.target b/tests/tcg/multiarch/Make= file.target index 3f283eabe6..6ccb592aac 100644 --- a/tests/tcg/multiarch/Makefile.target +++ b/tests/tcg/multiarch/Makefile.target @@ -8,18 +8,23 @@ MULTIARCH_SRC=3D$(SRC_PATH)/tests/tcg/multiarch =20 # Set search path for all sources -VPATH +=3D $(MULTIARCH_SRC) -MULTIARCH_SRCS =3D$(notdir $(wildcard $(MULTIARCH_SRC)/*.c)) -MULTIARCH_TESTS =3D$(filter-out float_helpers, $(MULTIARCH_SRCS:.c=3D)) +VPATH +=3D $(MULTIARCH_SRC) +MULTIARCH_SRCS =3D $(notdir $(wildcard $(MULTIARCH_SRC)/*.c)) +ifneq ($(CONFIG_LINUX),) +VPATH +=3D $(MULTIARCH_SRC)/linux +MULTIARCH_SRCS +=3D $(notdir $(wildcard $(MULTIARCH_SRC)/linux/*.c)) +endif +MULTIARCH_TESTS =3D $(MULTIARCH_SRCS:.c=3D) =20 +$(info SRCS=3D${MULTIARCH_SRCS} and ${MULTIARCH_TESTS}) # # The following are any additional rules needed to build things # =20 =20 float_%: LDFLAGS+=3D-lm -float_%: float_%.c float_helpers.c - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< $(MULTIARCH_SRC)/float_helpers.c -o $@= $(LDFLAGS) +float_%: float_%.c libs/float_helpers.c + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< $(MULTIARCH_SRC)/libs/float_helpers.c = -o $@ $(LDFLAGS) =20 run-float_%: float_% $(call run-test,$<, $(QEMU) $(QEMU_OPTS) $<,"$< on $(TARGET_NAME)") diff --git a/tests/tcg/x86_64/Makefile.target b/tests/tcg/x86_64/Makefile.t= arget index 2151ea6302..d7a7385583 100644 --- a/tests/tcg/x86_64/Makefile.target +++ b/tests/tcg/x86_64/Makefile.target @@ -8,8 +8,12 @@ =20 include $(SRC_PATH)/tests/tcg/i386/Makefile.target =20 +ifneq ($(CONFIG_LINUX),) X86_64_TESTS +=3D vsyscall TESTS=3D$(MULTIARCH_TESTS) $(X86_64_TESTS) test-x86_64 +else +TESTS=3D$(MULTIARCH_TESTS) +endif QEMU_OPTS +=3D -cpu max =20 test-x86_64: LDFLAGS+=3D-lm -lc --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696445323405.80636286772415; Fri, 8 Oct 2021 05:34:05 -0700 (PDT) Received: from localhost ([::1]:56942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp4e-0003iX-CN for importer@patchew.org; Fri, 08 Oct 2021 08:34:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYoww-00030Q-Ov for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:06 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:44966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYowu-0006ty-Te for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:06 -0400 Received: by mail-wr1-x429.google.com with SMTP id s15so29381665wrv.11 for ; Fri, 08 Oct 2021 05:26:04 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id k6sm2469253wri.83.2021.10.08.05.25.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:26:00 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 848271FF9B; Fri, 8 Oct 2021 13:25:56 +0100 (BST) 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=QfgsiyjPNCvJW2ICwHEKbAih/Gq9LuRXM/hG4XuMnM0=; b=yWET4QsX+cqaWKXvCvQfJL2D9yBrw/QfNyvbnX2mBkwrWJpfcvGtCiYSDm3fn6lW60 uP/tNpkTxXEZkxTWfE9iRHsWZR01cQqkGloQ3TE4Hc4kyJv8746l63r/oPlqF1gBzAou kKdgRBpRvwPmP6R0Ak0zXINjtvYilbqldJ0MeGrHUdsKHO1wEp3jBxG3RQMAVL1XTO5n +KoJ127x0dv0nsRvTzigCjWE5/xskkxg+m1pzyAt1epa79NWerWFKk3xEqGyDt6mfTrZ 2ZB70KNVJhLolWuKTf4S8/9rdre5C6PLOTH5tkJ3QC0E8yPJBR1MuFaa2CsgBE3weSG+ /++g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QfgsiyjPNCvJW2ICwHEKbAih/Gq9LuRXM/hG4XuMnM0=; b=Imx1TmwYpEjZtw4lxFZs0y8+UuGCI4kcPYazKn2WonzShfWtfZIECWJxkw1xe5trxs OGjbnMTuENJkWYuU/yX2cuSiH6vaRnIuJ6qgPS0CJAfjxObt5jwnAGhsTO81pj7l5D0U ufiYrMJl5d5WNBRL/CTaF0BgZ+RaLF1wgxq9/iVeacVGEuNtMlBLfe1ia3qw0khmubMv WfiM14EDrXDE4PE5aGZ6hSX4mTes0sOKVzGsS7X7wgJuscmOyl2/uD6G8eLWZAsLElew fXTDgLOk4z2KkkeqwZe8wgIspXu/1SEYLKSHJrvGrYBzRPVv1ncaVzVDDATmwD+Q0aD8 EHKw== X-Gm-Message-State: AOAM5339EokbXfyYCi/mybWLUSpsWJp9oHCI64QsGvcQGtoRuN5AgFQv 4LuSB7x/hVRnQStc99f+6qWUnw== X-Google-Smtp-Source: ABdhPJwwkbSpVxge06mfCzaXPN/3AqQUkfsisxvWfaxz0XkfWosQRVAxJrBxWAKKqaYwwSrACZnQQA== X-Received: by 2002:a1c:7c02:: with SMTP id x2mr2940701wmc.165.1633695963392; Fri, 08 Oct 2021 05:26:03 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 04/12] tests/docker: promote debian-riscv64-cross to a full image Date: Fri, 8 Oct 2021 13:25:48 +0100 Message-Id: <20211008122556.757252-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x429.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Thomas Huth , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696446130100001 To be able to cross build QEMU itself we need to include a few more libraries. These are only available in Debian's unstable ports repo for now so we need to base the riscv64 image on sid with the the minimal libs needed to build QEMU (glib/pixman). The result works but is not as clean as using build-dep to bring in more dependencies. However sid is by definition a shifting pile of sand and by keeping the list of libs minimal we reduce the chance of having an image we can't build. It's good enough for a basic cross build testing of TCG. Cc: "Daniel P. Berrang=C3=A9" Signed-off-by: Richard Henderson Message-Id: <20210914185830.1378771-2-richard.henderson@linaro.org> [AJB: tweak allow_failure] Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210917162332.3511179-5-alex.bennee@linaro.org> diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cros= s.yml index 0fcebe363a..a3b5b90552 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -134,7 +134,8 @@ ppc64el-debian-cross-container: riscv64-debian-cross-container: extends: .container_job_template stage: containers-layer2 - needs: ['amd64-debian10-container'] + # as we are currently based on 'sid/unstable' we may break so... + allow_failure: true variables: NAME: debian-riscv64-cross =20 diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 0806c6f726..450c76a3ca 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -141,7 +141,6 @@ docker-image-debian-mips64-cross: docker-image-debian10 docker-image-debian-mips64el-cross: docker-image-debian10 docker-image-debian-mipsel-cross: docker-image-debian10 docker-image-debian-ppc64el-cross: docker-image-debian10 -docker-image-debian-riscv64-cross: docker-image-debian10 docker-image-debian-s390x-cross: docker-image-debian10 docker-image-debian-sh4-cross: docker-image-debian10 docker-image-debian-sparc64-cross: docker-image-debian10 @@ -180,7 +179,6 @@ DOCKER_PARTIAL_IMAGES +=3D debian-arm64-test-cross DOCKER_PARTIAL_IMAGES +=3D debian-powerpc-test-cross DOCKER_PARTIAL_IMAGES +=3D debian-hppa-cross DOCKER_PARTIAL_IMAGES +=3D debian-m68k-cross debian-mips64-cross -DOCKER_PARTIAL_IMAGES +=3D debian-riscv64-cross DOCKER_PARTIAL_IMAGES +=3D debian-sh4-cross debian-sparc64-cross DOCKER_PARTIAL_IMAGES +=3D debian-tricore-cross DOCKER_PARTIAL_IMAGES +=3D debian-xtensa-cross diff --git a/tests/docker/dockerfiles/debian-riscv64-cross.docker b/tests/d= ocker/dockerfiles/debian-riscv64-cross.docker index 2bbff19772..594d97982c 100644 --- a/tests/docker/dockerfiles/debian-riscv64-cross.docker +++ b/tests/docker/dockerfiles/debian-riscv64-cross.docker @@ -1,12 +1,48 @@ # -# Docker cross-compiler target +# Docker cross-compiler target for riscv64 # -# This docker target builds on the debian Buster base image. +# Currently the only distro that gets close to cross compiling riscv64 +# images is Debian Sid (with unofficial ports). As this is a moving +# target we keep the library list minimal and are aiming to migrate +# from this hack as soon as we are able. # -FROM qemu/debian10 +FROM docker.io/library/debian:sid-slim + +# Add ports +RUN apt update && \ + DEBIAN_FRONTEND=3Dnoninteractive apt install -yy eatmydata && \ + DEBIAN_FRONTEND=3Dnoninteractive eatmydata apt update -yy && \ + DEBIAN_FRONTEND=3Dnoninteractive eatmydata apt upgrade -yy + +# Install common build utilities +RUN DEBIAN_FRONTEND=3Dnoninteractive eatmydata apt install -yy \ + bc \ + build-essential \ + ca-certificates \ + debian-ports-archive-keyring \ + dpkg-dev \ + gettext \ + git \ + ninja-build \ + pkg-config \ + python3 + +# Add ports and riscv64 architecture +RUN echo "deb http://ftp.ports.debian.org/debian-ports/ sid main" >> /etc/= apt/sources.list +RUN dpkg --add-architecture riscv64 + +# Duplicate deb line as deb-src +RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sourc= es.list =20 RUN apt update && \ DEBIAN_FRONTEND=3Dnoninteractive eatmydata \ apt install -y --no-install-recommends \ - gcc-riscv64-linux-gnu \ - libc6-dev-riscv64-cross + gcc-riscv64-linux-gnu \ + libc6-dev-riscv64-cross \ + libffi-dev:riscv64 \ + libglib2.0-dev:riscv64 \ + libpixman-1-dev:riscv64 + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=3Driscv64-linux-gnu- +ENV DEF_TARGET_LIST riscv64-softmmu,riscv64-linux-user --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696606269357.482269717146; Fri, 8 Oct 2021 05:36:46 -0700 (PDT) Received: from localhost ([::1]:35276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp7F-0008E1-7N for importer@patchew.org; Fri, 08 Oct 2021 08:36:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYowz-00032I-LV for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:11 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:36456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYowx-0006vN-H8 for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:09 -0400 Received: by mail-wr1-x434.google.com with SMTP id o20so29230101wro.3 for ; Fri, 08 Oct 2021 05:26:06 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q3sm2203094wmf.11.2021.10.08.05.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:26:00 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9A7E81FF9C; Fri, 8 Oct 2021 13:25:56 +0100 (BST) 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=/OurTzLLuet6/f8y2V92mbSdjr774nC3YCF5I0yCoTU=; b=lgEiUzPFlftBfd4UD01/HuZpajvF5asIusRx0QeldeDWG3N7FtelKPkq1WuMvj5axM m6rwDL0ph1HPgKWXGejdHavYlk2iBCLEvij6n5d4ULKW5e8H5PIzsFhL13/YlNyiSB8F gIXhfJh8c7B9Zzg68l4cQYg/kB1schxojDNDqTcgYaR8U8B20Dlz55Y9jcLseUfhte8K TGfBJZOcgNqRbesEPlHLZNUbVUG1A3qG0Pk+gzS531iZY6s3w0h/9GDzsBd3CGu3dIs9 u8Ub9iMlmaebZzrhQNunkxSlV3+S31KaybDbuZtoK9RG6pm8gEnhUx2fVcFXxx/zyQVC jLHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/OurTzLLuet6/f8y2V92mbSdjr774nC3YCF5I0yCoTU=; b=rzaUHJGYCw0qvUrAgaInxmCQFi0J4d8BSeWWRUVuZ4O5z7Hk3zNXGsIGxEcmrkoBSd a9hfHp5g3TvGMeaCkZNmFFkTbpVWlL/nchjy5jzK4k3vNDpUMgQATSl+KN8/Trwyn0jJ cN0jgqproCXMwMRfhbNgXplEVZLzt0mYWGzIjz83Y0CsFUUFSmL6pB/mGXzprsbfGYYv vvXlVwpxvN/94tV4RWE05ElDglKsaMpDsCScphOJfzOV42lIxTumYSVG4rirgvJsKilc fDR4tlOhH1kPBO/IZ1M7tGaOqxw+TJi/HVV9mWGdICsKJl4TTeGTCiE1cCdDZmJWP0r+ M/Hg== X-Gm-Message-State: AOAM530HTlfvYswB+ikFHQ0z86eoEyxigIVFCbAAMus1YO4AkN+NvjLX QylHhVcqyBmvgj8QwBowXYYg9Q== X-Google-Smtp-Source: ABdhPJx3pmQUCSmESwaO2QEO1eUPGUwTCRVbpVAxbtWmT7wcTDDeSh6Upo49Q14pEwvQqpT7w5ZMjQ== X-Received: by 2002:a1c:f405:: with SMTP id z5mr3104360wma.33.1633695965473; Fri, 08 Oct 2021 05:26:05 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 05/12] gitlab: Add cross-riscv64-system, cross-riscv64-user Date: Fri, 8 Oct 2021 13:25:49 +0100 Message-Id: <20211008122556.757252-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x434.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Thomas Huth , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696607459100005 From: Richard Henderson Signed-off-by: Richard Henderson Message-Id: <20210914185830.1378771-3-richard.henderson@linaro.org> [AJB: add allow_failure] Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Willian Rampazzo Message-Id: <20210917162332.3511179-6-alex.bennee@linaro.org> diff --git a/.gitlab-ci.d/crossbuilds.yml b/.gitlab-ci.d/crossbuilds.yml index f10168db2e..17d6cb3e45 100644 --- a/.gitlab-ci.d/crossbuilds.yml +++ b/.gitlab-ci.d/crossbuilds.yml @@ -124,6 +124,25 @@ cross-ppc64el-user: variables: IMAGE: debian-ppc64el-cross =20 +# The riscv64 cross-builds currently use a 'sid' container to get +# compilers and libraries. Until something more stable is found we +# allow_failure so as not to block CI. +cross-riscv64-system: + extends: .cross_system_build_job + allow_failure: true + needs: + job: riscv64-debian-cross-container + variables: + IMAGE: debian-riscv64-cross + +cross-riscv64-user: + extends: .cross_user_build_job + allow_failure: true + needs: + job: riscv64-debian-cross-container + variables: + IMAGE: debian-riscv64-cross + cross-s390x-system: extends: .cross_system_build_job needs: --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696604999182.8028132021493; Fri, 8 Oct 2021 05:36:44 -0700 (PDT) Received: from localhost ([::1]:35136 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp7D-00088u-TY for importer@patchew.org; Fri, 08 Oct 2021 08:36:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60612) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYox3-00034Q-6u for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:13 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:39493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYox0-0006xD-1u for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:11 -0400 Received: by mail-wr1-x430.google.com with SMTP id r18so29360249wrg.6 for ; Fri, 08 Oct 2021 05:26:09 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id 61sm2503719wrl.94.2021.10.08.05.25.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:26:00 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A59591FF9D; Fri, 8 Oct 2021 13:25:56 +0100 (BST) 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=ey+8hcKjwn/a5eDg/jyMS1kvRV58lceBmDEfg1Aiejc=; b=zTkvsGUJlu8oaaZOm1DTSlWwk0Q+sM4uz/7AqntQYYdpXFt0894QyE9IqcMse6alPV idFZG5ZfvsCjAZVqJ+CrxRRN0CH9ydNT8WHekWbXjsTUBuk/5fXwFGFUUpXNhZa6Dx1I 7LDc8o8+57n09sWTCMh7q/R128KbGZ2y34//FKYtXGxJn2z8hcEXjchbQPxAVYXllT6e 0v0mbsjAM/GLv6/2SZlwMVnIG2OaCqAPKEIqxgdvBnxkELzDQsZexEW4SxoYrqLqU80Y 0IEqjk0xQRyAZN9Xvl1Mv+BG8x2njLQXfs4KvxWOtNTZ8QLA9wL6QWbAm5kzU0zo/WkT MW4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ey+8hcKjwn/a5eDg/jyMS1kvRV58lceBmDEfg1Aiejc=; b=en0UNNQ6Zhwy/n+HiYfZbbRMlMJUwkl5mQUsrmFeV3Y7/zHLrokplv05OiozbroYAk i1xdK+4sIhCRjNOY3sdKJtEIyQDDDTt+dOhmYo9utLnpoVdz1col1sUN/Yyxyk48m5DU +5353JMw0uSfGSd364g6TZ+Nxpwi+m0aaeLC8jmLgvp+5UwslGh0wlieRj69bHI24mYG PsNo0FXanZQcWSG1wzGcAJDFX+4RwEOBHpIBWn8iSeeocxcrSNox8Bj84vBO2k4e0hMf LnEqkasIFm9tzb2HK7VyjrEXaM+U4j2nluDL4QG2LGugl8Vafa83RD0VKDTS5MHxBE6w 2hFA== X-Gm-Message-State: AOAM533DLfJPU/d6f4ntGJGZrf7fqFvsd7bKpF0u2KUFHGIVzKu7rIW0 /905LAin3sYzCMoOCWuP2bhgeA== X-Google-Smtp-Source: ABdhPJzVJiSntUCXqVVXfOuLus47w568un0rdrc+fdix7GzI3Fj1uTtRWI1XLeeXtI7ZMZX0tSFCgA== X-Received: by 2002:a05:6000:184c:: with SMTP id c12mr3672749wri.127.1633695968645; Fri, 08 Oct 2021 05:26:08 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 06/12] travis.yml: Remove the "Release tarball" job Date: Fri, 8 Oct 2021 13:25:50 +0100 Message-Id: <20211008122556.757252-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Thomas Huth , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696605345100002 From: Thomas Huth This is a leftover from the days when we were using Travis excessively, but since x86 jobs are not really usable there anymore, this job has likely never been used since many months. Let's simply remove it now. Signed-off-by: Thomas Huth Reviewed-by: Daniel P. Berrang=C3=A9 Message-Id: <20210917094826.466047-1-thuth@redhat.com> Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210917162332.3511179-8-alex.bennee@linaro.org> diff --git a/.travis.yml b/.travis.yml index 0faddf7b4e..41010ebe6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -305,26 +305,3 @@ jobs: - CONFIG=3D"--disable-containers --disable-tcg --enable-kvm --disable-tools --host-cc=3Dclang --cxx=3Dclang++" - UNRELIABLE=3Dtrue - - # Release builds - # The make-release script expect a QEMU version, so our tag must start= with a 'v'. - # This is the case when release candidate tags are created. - - name: "Release tarball" - if: tag IS present AND tag =3D~ /^v\d+\.\d+(\.\d+)?(-\S*)?$/ - env: - # We want to build from the release tarball - - BUILD_DIR=3D"release/build/dir" SRC_DIR=3D"../../.." - - BASE_CONFIG=3D"--prefix=3D$PWD/dist" - - CONFIG=3D"--target-list=3Dx86_64-softmmu,aarch64-softmmu,armeb-l= inux-user,ppc-linux-user" - - TEST_CMD=3D"make install -j${JOBS}" - - QEMU_VERSION=3D"${TRAVIS_TAG:1}" - - CACHE_NAME=3D"${TRAVIS_BRANCH}-linux-gcc-default" - script: - - make -C ${SRC_DIR} qemu-${QEMU_VERSION}.tar.bz2 - - ls -l ${SRC_DIR}/qemu-${QEMU_VERSION}.tar.bz2 - - tar -xf ${SRC_DIR}/qemu-${QEMU_VERSION}.tar.bz2 && cd qemu-${QEM= U_VERSION} - - mkdir -p release-build && cd release-build - - ../configure ${BASE_CONFIG} ${CONFIG} || { cat config.log meson-= logs/meson-log.txt && exit 1; } - - make install - allow_failures: - - env: UNRELIABLE=3Dtrue --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696607895375.73420775862337; Fri, 8 Oct 2021 05:36:47 -0700 (PDT) Received: from localhost ([::1]:35298 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp7F-0008Eu-Tg for importer@patchew.org; Fri, 08 Oct 2021 08:36:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYox1-00033I-Ba for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:12 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:42575) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYowz-0006wS-7L for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:11 -0400 Received: by mail-wr1-x42a.google.com with SMTP id v17so29275073wrv.9 for ; Fri, 08 Oct 2021 05:26:08 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id c185sm2394477wma.8.2021.10.08.05.25.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:26:00 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id BA8731FF9E; Fri, 8 Oct 2021 13:25:56 +0100 (BST) 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=5sIzEvgWfGKFtMvrQS5KEmIsP4SzZixuq/OxHefax68=; b=MwCSZ+nyaHSICVRIj67x2J9Yqpq5Qg/TvIEXOT8gtvCFBPhMIHRprw/gN7Y0bVdNUM tFqqb0xw1UmQf534CsnXU+imyI0brGMjhxHWLTNxCvl7R0KdaadEd1NA0YK42zXc4xpT LHvC6WyDzL+rXThirrcUinISYHQO9vtHX6E9J5g9cnR6hnVj16Cj8RUMy0YUr5xPEeNg 668nSKCcasHc/Lq8S+ab7rL/q9XpgFaJPb4iCVw4VAt51aQwrMCWflHodG5C434jlE4b cTmb2jkPq6GmKLFL8P+L32LWO6U8Z8bJoznliZ/8TQ2DmCspSxbksIwCwg3NJC3i2lc3 ciew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5sIzEvgWfGKFtMvrQS5KEmIsP4SzZixuq/OxHefax68=; b=gRdro2oZVNr9fdbxfRnBlcMSutNjuP2rQhvnZmrsoq0mpxOYwR+04XHJlXP+RVDyQB CKpxktkULU4wsDzr8EaMiks09mTDbudo4jAGbZEG1Ka5TDNXQQ+3epikyEi9DxMLDlTX qUKs7M5C2T93Dz9RdnjoZCGJhywv6Tst3Z5C7LwbYv2lw5olyX4W4h1vIE4GTse6Lbsy ij1cO1/LM5lm4p1Ylo02sDg5MAE0QVZ5A2OORQwNne8DQjE0HiJjuXDCgxGL4UOWyTzh cuEyd+5wfxY4bwDHx3WtSPfYfZqOuBf3nkZ2Ozim+Bv76/IeYDSAi1FYPCKlPvQLWlrl mqMw== X-Gm-Message-State: AOAM532rIT5CWoo6IGjT4O6HQDEq1kMLIqgX6v/IZzG9NR+stcpKh0/N 9uGh23byvOKgq2ak1oL7EMINew== X-Google-Smtp-Source: ABdhPJz/wsODQ0PUaXoLGDW1E1qZTjjlvU/+7dlfC/AzEFN8APPpHuRGUEUhJoeWl9hOmzq1By/TfA== X-Received: by 2002:a1c:208:: with SMTP id 8mr3172200wmc.114.1633695967850; Fri, 08 Oct 2021 05:26:07 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 07/12] gitlab: skip the check-patch job on the upstream repo Date: Fri, 8 Oct 2021 13:25:51 +0100 Message-Id: <20211008122556.757252-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Thomas Huth , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696609575100001 From: Daniel P. Berrang=C3=A9 The check-patch job is intended to be used by contributors or subsystem maintainers to see if there are style mistakes. The false positive rate is too high to be used in a gating scenario so should not run it on the upstream repo ever. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Thomas Huth Reviewed-by: Richard Henderson Message-Id: <20210915125452.1704899-2-berrange@redhat.com> Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210917162332.3511179-9-alex.bennee@linaro.org> diff --git a/.gitlab-ci.d/static_checks.yml b/.gitlab-ci.d/static_checks.yml index 96dbd9e310..902843f8b3 100644 --- a/.gitlab-ci.d/static_checks.yml +++ b/.gitlab-ci.d/static_checks.yml @@ -8,7 +8,7 @@ check-patch: variables: GIT_DEPTH: 1000 rules: - - if: '$CI_PROJECT_NAMESPACE =3D=3D "qemu-project" && $CI_COMMIT_BRANC= H =3D=3D $CI_DEFAULT_BRANCH' + - if: '$CI_PROJECT_NAMESPACE =3D=3D "qemu-project"' when: never - when: on_success allow_failure: true --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696460607319.02659986882725; Fri, 8 Oct 2021 05:34:20 -0700 (PDT) Received: from localhost ([::1]:57158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp4t-0003qw-Hb for importer@patchew.org; Fri, 08 Oct 2021 08:34:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYowz-00032G-E6 for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:11 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:44969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYowx-0006vT-FJ for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:09 -0400 Received: by mail-wr1-x42b.google.com with SMTP id s15so29382056wrv.11 for ; Fri, 08 Oct 2021 05:26:07 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id s3sm2383556wrm.40.2021.10.08.05.25.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:26:00 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C7FEA1FF9F; Fri, 8 Oct 2021 13:25:56 +0100 (BST) 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=ntHPAm7ZTn3P7GMc4eSupec9FlVNAY5eKw7rkTf/RLU=; b=e36UzqJ+2WHKi4j1zXyKR7/CUVaPtkfm1PZJe/hjQuWX7VjBN25G+YPRAWYshSqWgr dPHLw4SGWrUdlcNZGFoKBG0yOocPFyVMjMKL6NVpj++HJrUZToNT3FEdCEfuwvxfWCg2 KuveMR695UoV4yYsQppqgSuebKwmwuwYDGr6ilCLlbXopBVA25ee0zLNrnLOl9WBhLKG dzopEro1cFsf5VrK5QowgFSIYDntxy8MLBOs4FIFgFPbKQEbyea29+H6Awb0e3mayGxY AmpoYf88KTq3UAem0F3bxwFBF02b4KujdrlZgNMU0M/tsw9Sv9HegbYHtaH8wOTnX/1X VM6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ntHPAm7ZTn3P7GMc4eSupec9FlVNAY5eKw7rkTf/RLU=; b=L+ldnQ4YVRRfk6DY6lvi2AOZIpalOStiPOsuYY5Oj3zk1umq8DTy3pc8BWgjx1Jb40 PbntgNitrTCNp3TMtPXh6F0ig/9xSf5WgPuJO53kujTmcQRGWHPFVAchJjp9YOSEv6Sf tEUgaYABI0k7eScHR8mN/KfIcCoiMx3U3j2fLTwqIBLw+bo6Kj62nrJxpbLbnW2pUj6k 8bPtI4pOnwA4zHnbrvlrT6T9xh+t5SLiHPb+kaJ0BTxIEprsyZ4qQCtNPlsdY5onlvqe zfFj37VnuUVqALMloAInzFgAaYba70eNtXIINr7KH87sRcFYsdM8/9jCajYhHOpx8LQc /QXw== X-Gm-Message-State: AOAM531SNmId/0cJJyjf1xlW5BL2InRrstU8PrVi3D27CRCQUaQ1SWYL /Iplgl80dz8xoXrmm9grTf6pqg== X-Google-Smtp-Source: ABdhPJwAuKbf0Vc4oWoGMVfxJb+TA4szYKDNRO9Dkg8X/JzieZuw77WvOFB1SrDi/ReZRPw9DLIzAA== X-Received: by 2002:adf:97d0:: with SMTP id t16mr3549183wrb.124.1633695966185; Fri, 08 Oct 2021 05:26:06 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 08/12] gitlab: fix passing of TEST_TARGETS env to cirrus Date: Fri, 8 Oct 2021 13:25:52 +0100 Message-Id: <20211008122556.757252-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Thomas Huth , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696461868100003 From: Daniel P. Berrang=C3=A9 A typo meant the substitution would not work, and the placeholder in the target file didn't even exist. The result was that tests were never run on the FreeBSD and macOS jobs, only a basic build. Signed-off-by: Daniel P. Berrang=C3=A9 Acked-by: Thomas Huth Reviewed-by: Willian Rampazzo Reviewed-by: Richard Henderson Message-Id: <20210915125452.1704899-3-berrange@redhat.com> Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210917162332.3511179-10-alex.bennee@linaro.org> diff --git a/.gitlab-ci.d/cirrus.yml b/.gitlab-ci.d/cirrus.yml index 675db69622..e7b25e7427 100644 --- a/.gitlab-ci.d/cirrus.yml +++ b/.gitlab-ci.d/cirrus.yml @@ -35,7 +35,7 @@ -e "s|[@]PIP3@|$PIP3|g" -e "s|[@]PYPI_PKGS@|$PYPI_PKGS|g" -e "s|[@]CONFIGURE_ARGS@|$CONFIGURE_ARGS|g" - -e "s|[@]TEST_TARGETSS@|$TEST_TARGETSS|g" + -e "s|[@]TEST_TARGETS@|$TEST_TARGETS|g" <.gitlab-ci.d/cirrus/build.yml >.gitlab-ci.d/cirrus/$NAME.yml - cat .gitlab-ci.d/cirrus/$NAME.yml - cirrus-run -v --show-build-log always .gitlab-ci.d/cirrus/$NAME.yml diff --git a/.gitlab-ci.d/cirrus/build.yml b/.gitlab-ci.d/cirrus/build.yml index 857bdc5536..c555f5d36e 100644 --- a/.gitlab-ci.d/cirrus/build.yml +++ b/.gitlab-ci.d/cirrus/build.yml @@ -13,6 +13,7 @@ env: PYTHON: "@PYTHON@" MAKE: "@MAKE@" CONFIGURE_ARGS: "@CONFIGURE_ARGS@" + TEST_TARGETS: "@TEST_TARGETS@" =20 build_task: install_script: --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696183424937.4318878880187; Fri, 8 Oct 2021 05:29:43 -0700 (PDT) Received: from localhost ([::1]:49056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp0O-0006GK-R1 for importer@patchew.org; Fri, 08 Oct 2021 08:29:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYox5-00037W-52 for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:16 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:35824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYox2-0006xZ-JA for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:14 -0400 Received: by mail-wr1-x435.google.com with SMTP id v25so29247658wra.2 for ; Fri, 08 Oct 2021 05:26:11 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l21sm2418952wmh.31.2021.10.08.05.26.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:26:09 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id DD9DB1FFA5; Fri, 8 Oct 2021 13:25:56 +0100 (BST) 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=UlbD6XGfCfOXQupeOaSvEq6gHfGN83XYP2EpCj2vfsk=; b=dg+F8z3jmyzi9qAi4YnugEblf9Js7jis7RShYJeqyCGaqi5Q93Usdq7EptitIMcXAZ ils/DYNvKNzZl2K/Lr1IesZi1HbYRu1ylDAA7bQ9NOa/onJCpmAifP/vLWpRkDh8SJr+ WU7todvkmAAnPozvn/AV0RqDpB1XCeZAmVzfkUIEB6yGpaXfQpQzVr/DnIf0FoUd9dii VuwuTm0JyGvRj8x3xfszgsWQfrsE1UFlXJgN1jYB+fEkfh6Vt7gcz8cPhEySWrvVTcns HDeihKN1AczOeNQOSFjazcf9EV8avtIinAWYbMDCe0GSbjEwLji7CDFh+8w6MKq3G0sV wnKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UlbD6XGfCfOXQupeOaSvEq6gHfGN83XYP2EpCj2vfsk=; b=cg22qqn8rThFf5E6vuXd4ZmA+QNylGj9EzfRC29XWfNbLn14Lm9MsgcIEvLhtByq6Q k/R+ynUqbZCjiHUSD38ioaVIqO0uJv0PbmaTIeJH+sEExpW4JKSUh4gG0KZuvI0yNHVR HlF3sRWwoCFRvHtTRpvGYgvOzfZ+BxdMYbmOpMXpbp9lhskR6HGCpY3hIf0szKG4xRI6 rr/AfqN2jnjO+pAKmZA6wZkPQAu90XWuSMndVTIKN/wID4ZSdAWYMGFphTDBnNAgSzIw r5ghq0kTdOMvNddx4dgnLuVxG71N16QRx9S8F/hx9fDQp9bx7M6uTVgcXi5qvp+Yb/vu yCog== X-Gm-Message-State: AOAM5312yW3w1Uo88FQWMC9OCqoN6JEAl8GJTTbr3FCsyVNwTwc4yB/n DJoGPA1Dw6LJEOEPoFcZrRt78A== X-Google-Smtp-Source: ABdhPJwUpJqsHyYM+gVo+kvg4Ew9rSNZ94m/42yR1BdEl5/rEdxkpph8Z3BRrD52Z7L7YBXXej1LOw== X-Received: by 2002:a5d:6481:: with SMTP id o1mr3882998wri.140.1633695970739; Fri, 08 Oct 2021 05:26:10 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 09/12] plugins/: Add missing functions to symbol list Date: Fri, 8 Oct 2021 13:25:53 +0100 Message-Id: <20211008122556.757252-10-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, =?UTF-8?q?Lukas=20J=C3=BCnger?= , Alexandre Iooss , Mahmoud Mandour , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696185957100001 From: Lukas J=C3=BCnger Some functions of the plugin API were missing in the symbol list. However, they are all used by the contributed example plugins. QEMU fails to load the plugin if the function symbol is not exported. Signed-off-by: Lukas J=C3=BCnger Message-Id: <20210905140939.638928-2-lukas.junger@greensocs.com> Signed-off-by: Alex Benn=C3=A9e Message-Id: <20210917162332.3511179-11-alex.bennee@linaro.org> diff --git a/plugins/qemu-plugins.symbols b/plugins/qemu-plugins.symbols index 67b309ea2a..4834756ba3 100644 --- a/plugins/qemu-plugins.symbols +++ b/plugins/qemu-plugins.symbols @@ -1,11 +1,14 @@ { qemu_plugin_bool_parse; qemu_plugin_get_hwaddr; + qemu_plugin_hwaddr_device_name; qemu_plugin_hwaddr_is_io; + qemu_plugin_hwaddr_phys_addr; qemu_plugin_insn_data; qemu_plugin_insn_disas; qemu_plugin_insn_haddr; qemu_plugin_insn_size; + qemu_plugin_insn_symbol; qemu_plugin_insn_vaddr; qemu_plugin_mem_is_big_endian; qemu_plugin_mem_is_sign_extended; --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696751665440.2374943084577; Fri, 8 Oct 2021 05:39:11 -0700 (PDT) Received: from localhost ([::1]:40818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp9a-0003c8-A6 for importer@patchew.org; Fri, 08 Oct 2021 08:39:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60638) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYox5-00037Y-3u for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:16 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]:43586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYox2-0006yQ-Ua for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:14 -0400 Received: by mail-wr1-x42b.google.com with SMTP id r7so29262970wrc.10 for ; Fri, 08 Oct 2021 05:26:12 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id f18sm2363589wrg.3.2021.10.08.05.26.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:26:09 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id EC15A1FFA6; Fri, 8 Oct 2021 13:25:56 +0100 (BST) 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=ZL+EkeuDSYax4Njq8b+4tD79xCQ+GxkMgghLJlbiF4g=; b=uNB40QWUviZ9un/PQjGD58KgaT8rv43LpIP0sHDRRdfVeBY6ub1EWGD4krlAbv95+S oYl1rAr435e/QtCXTjhGudnlxBzGbRjNEMS6H7ZWpWDHkdrlS9mheONTJtWdzXV6q+wc IPrB+cX7zc2SFvG7Q7Du/W12yCFoKo4RPXS1JqrWVCDC4fgU57K5Y+aBDwhs3B/t+XhR MwGpQvAXUP02gj5/w3ORStfpQ4nm5qClsmnMi/HIcLSed+/9FlG0+xmugEs97eCIweRK DxZSxjWgxMpGZEheUw1AZDmFyPoC0kN4ZqBHoyt0768Ny2tq4KaVD3GaYIP82GUfnYFI o/Ew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZL+EkeuDSYax4Njq8b+4tD79xCQ+GxkMgghLJlbiF4g=; b=uWibTZuB4Nbv1y/sZ9hfXZwzWVmzK160zt49A5Ivx5lsiPLBZicXZLUKdi7EzOnbAl jo+/Jg5cCx7M45NfGwV2cozc/NM4MbOW0nhiuoues+SXQbgXeyucGzXjoP1k2yywOaIF XLqHCqqOOzfM8c+BEOq/SYx0VDxLhkYQ0Xs4Hr4IQGvv1m0JgDt6nD9V/Hf2fHljO2GZ n2tc2vExwi6VBuqCZKzlZTTRD80xSC+6SjpZGH6QekZ5dBEXA8mx53cMWJA4GcERfYvU lEr64NX+z93MhQa6d0HAkPSWLyZkmRdNXIwhPwNFpKjLP6MxudTDn3fFoP/nAHC7eEWV 5LUw== X-Gm-Message-State: AOAM531OK7ktYcGyjsvWIKWQWdv7SSrYVBzposGWDnSWQYCzyKCp6CIC 4CCFwL0gN+m/znyWXL4UPc6xng== X-Google-Smtp-Source: ABdhPJx0JAXjxP7Glds6F6TSzbuls4rG0KZRI1BL19XDD4xBHKXVdaZCkkhQn5Im1Elg+fL9knuNOA== X-Received: by 2002:a1c:4455:: with SMTP id r82mr3031702wma.100.1633695971386; Fri, 08 Oct 2021 05:26:11 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 10/12] accel/tcg: re-factor plugin_inject_cb so we can assert insn_idx is valid Date: Fri, 8 Oct 2021 13:25:54 +0100 Message-Id: <20211008122556.757252-11-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696752809100003 Coverity doesn't know enough about how we have arranged our plugin TCG ops to know we will always have incremented insn_idx before injecting the callback. Let us assert it for the benefit of Coverity and protect ourselves from accidentally breaking the assumption and triggering harder to grok errors deeper in the code if we attempt a negative indexed array lookup. However to get to this point we re-factor the code and remove the second hand instruction boundary detection in favour of scanning the full set of ops and using the existing INDEX_op_insn_start to cleanly detect when the instruction has started. As we no longer need the plugin specific list of ops we delete that. My initial benchmarks shows no discernible impact of dropping the plugin specific ops list. Fixes: Coverity 1459509 Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson Cc: Peter Maydell Message-Id: <20210917162332.3511179-12-alex.bennee@linaro.org> diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index ba13ab1151..9f398b9afe 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -493,9 +493,6 @@ typedef struct TCGOp { =20 /* Next and previous opcodes. */ QTAILQ_ENTRY(TCGOp) link; -#ifdef CONFIG_PLUGIN - QSIMPLEQ_ENTRY(TCGOp) plugin_link; -#endif =20 /* Arguments for the opcode. */ TCGArg args[MAX_OPC_PARAM]; @@ -605,9 +602,6 @@ struct TCGContext { =20 /* descriptor of the instruction being translated */ struct qemu_plugin_insn *plugin_insn; - - /* list to quickly access the injected ops */ - QSIMPLEQ_HEAD(, TCGOp) plugin_ops; #endif =20 GHashTable *const_table[TCG_TYPE_COUNT]; diff --git a/accel/tcg/plugin-gen.c b/accel/tcg/plugin-gen.c index f5fd5f279c..61be64b78c 100644 --- a/accel/tcg/plugin-gen.c +++ b/accel/tcg/plugin-gen.c @@ -162,11 +162,7 @@ static void gen_empty_mem_helper(void) static void gen_plugin_cb_start(enum plugin_gen_from from, enum plugin_gen_cb type, unsigned wr) { - TCGOp *op; - tcg_gen_plugin_cb_start(from, type, wr); - op =3D tcg_last_op(); - QSIMPLEQ_INSERT_TAIL(&tcg_ctx->plugin_ops, op, plugin_link); } =20 static void gen_wrapped(enum plugin_gen_from from, @@ -706,62 +702,6 @@ static void plugin_gen_disable_mem_helper(const struct= qemu_plugin_tb *ptb, inject_mem_disable_helper(insn, begin_op); } =20 -static void plugin_inject_cb(const struct qemu_plugin_tb *ptb, TCGOp *begi= n_op, - int insn_idx) -{ - enum plugin_gen_from from =3D begin_op->args[0]; - enum plugin_gen_cb type =3D begin_op->args[1]; - - switch (from) { - case PLUGIN_GEN_FROM_TB: - switch (type) { - case PLUGIN_GEN_CB_UDATA: - plugin_gen_tb_udata(ptb, begin_op); - return; - case PLUGIN_GEN_CB_INLINE: - plugin_gen_tb_inline(ptb, begin_op); - return; - default: - g_assert_not_reached(); - } - case PLUGIN_GEN_FROM_INSN: - switch (type) { - case PLUGIN_GEN_CB_UDATA: - plugin_gen_insn_udata(ptb, begin_op, insn_idx); - return; - case PLUGIN_GEN_CB_INLINE: - plugin_gen_insn_inline(ptb, begin_op, insn_idx); - return; - case PLUGIN_GEN_ENABLE_MEM_HELPER: - plugin_gen_enable_mem_helper(ptb, begin_op, insn_idx); - return; - default: - g_assert_not_reached(); - } - case PLUGIN_GEN_FROM_MEM: - switch (type) { - case PLUGIN_GEN_CB_MEM: - plugin_gen_mem_regular(ptb, begin_op, insn_idx); - return; - case PLUGIN_GEN_CB_INLINE: - plugin_gen_mem_inline(ptb, begin_op, insn_idx); - return; - default: - g_assert_not_reached(); - } - case PLUGIN_GEN_AFTER_INSN: - switch (type) { - case PLUGIN_GEN_DISABLE_MEM_HELPER: - plugin_gen_disable_mem_helper(ptb, begin_op, insn_idx); - return; - default: - g_assert_not_reached(); - } - default: - g_assert_not_reached(); - } -} - /* #define DEBUG_PLUGIN_GEN_OPS */ static void pr_ops(void) { @@ -819,21 +759,95 @@ static void pr_ops(void) static void plugin_gen_inject(const struct qemu_plugin_tb *plugin_tb) { TCGOp *op; - int insn_idx; + int insn_idx =3D -1; =20 pr_ops(); - insn_idx =3D -1; - QSIMPLEQ_FOREACH(op, &tcg_ctx->plugin_ops, plugin_link) { - enum plugin_gen_from from =3D op->args[0]; - enum plugin_gen_cb type =3D op->args[1]; - - tcg_debug_assert(op->opc =3D=3D INDEX_op_plugin_cb_start); - /* ENABLE_MEM_HELPER is the first callback of an instruction */ - if (from =3D=3D PLUGIN_GEN_FROM_INSN && - type =3D=3D PLUGIN_GEN_ENABLE_MEM_HELPER) { + + QTAILQ_FOREACH(op, &tcg_ctx->ops, link) { + switch (op->opc) { + case INDEX_op_insn_start: insn_idx++; + break; + case INDEX_op_plugin_cb_start: + { + enum plugin_gen_from from =3D op->args[0]; + enum plugin_gen_cb type =3D op->args[1]; + + switch (from) { + case PLUGIN_GEN_FROM_TB: + { + g_assert(insn_idx =3D=3D -1); + + switch (type) { + case PLUGIN_GEN_CB_UDATA: + plugin_gen_tb_udata(plugin_tb, op); + break; + case PLUGIN_GEN_CB_INLINE: + plugin_gen_tb_inline(plugin_tb, op); + break; + default: + g_assert_not_reached(); + } + break; + } + case PLUGIN_GEN_FROM_INSN: + { + g_assert(insn_idx >=3D 0); + + switch (type) { + case PLUGIN_GEN_CB_UDATA: + plugin_gen_insn_udata(plugin_tb, op, insn_idx); + break; + case PLUGIN_GEN_CB_INLINE: + plugin_gen_insn_inline(plugin_tb, op, insn_idx); + break; + case PLUGIN_GEN_ENABLE_MEM_HELPER: + plugin_gen_enable_mem_helper(plugin_tb, op, insn_idx); + break; + default: + g_assert_not_reached(); + } + break; + } + case PLUGIN_GEN_FROM_MEM: + { + g_assert(insn_idx >=3D 0); + + switch (type) { + case PLUGIN_GEN_CB_MEM: + plugin_gen_mem_regular(plugin_tb, op, insn_idx); + break; + case PLUGIN_GEN_CB_INLINE: + plugin_gen_mem_inline(plugin_tb, op, insn_idx); + break; + default: + g_assert_not_reached(); + } + + break; + } + case PLUGIN_GEN_AFTER_INSN: + { + g_assert(insn_idx >=3D 0); + + switch (type) { + case PLUGIN_GEN_DISABLE_MEM_HELPER: + plugin_gen_disable_mem_helper(plugin_tb, op, insn_idx); + break; + default: + g_assert_not_reached(); + } + break; + } + default: + g_assert_not_reached(); + } + break; + } + default: + /* plugins don't care about any other ops */ + break; } - plugin_inject_cb(plugin_tb, op, insn_idx); } pr_ops(); } @@ -846,7 +860,6 @@ bool plugin_gen_tb_start(CPUState *cpu, const Translati= onBlock *tb, bool mem_onl if (test_bit(QEMU_PLUGIN_EV_VCPU_TB_TRANS, cpu->plugin_mask)) { ret =3D true; =20 - QSIMPLEQ_INIT(&tcg_ctx->plugin_ops); ptb->vaddr =3D tb->pc; ptb->vaddr2 =3D -1; get_page_addr_code_hostp(cpu->env_ptr, tb->pc, &ptb->haddr1); --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696751943179.31101304934202; Fri, 8 Oct 2021 05:39:11 -0700 (PDT) Received: from localhost ([::1]:40866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYp9a-0003e7-MA for importer@patchew.org; Fri, 08 Oct 2021 08:39:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYoxA-00039a-RS for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:21 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:36455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYox4-00070I-T4 for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:19 -0400 Received: by mail-wr1-x430.google.com with SMTP id o20so29231075wro.3 for ; Fri, 08 Oct 2021 05:26:14 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id l17sm2272787wrx.24.2021.10.08.05.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:26:09 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 0FB551FFA9; Fri, 8 Oct 2021 13:25:57 +0100 (BST) 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=uCqSveEjhHk9BnAZ8LogSOQHlGWbu7ehSdKzjcVgaFA=; b=uDOC6c8BozHYJU21RbDMttFOUa9OwitawpN54hbPkeF2f4iinMZO9HOk0pUEHIXY6i WCJZ+rh3jJpocAjmksTaf8uy5WGJ2yoKbpnFgWZmudoZQyKRCjkZ4WOeLWfAz+9B3oJJ bt+VOJvIOBcnaqJBcJjsq02QcAhIfvG9HiNZ9mZXnyGVj9LgUzDUpILEMmVGn5iOckeG KHuCHkyhlxKKuxUXZAs1UhZ3uIMxKFOHa5ryDIzBPYWvbCu7RlccOGvtD209sd2BigEN GUr0HATNPC4d5GucBNmFrhJgB3yg7AKQDwGzsLBv2AUOmDrhL4EtWkEkVCQWPGGDiQ8z d98g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=uCqSveEjhHk9BnAZ8LogSOQHlGWbu7ehSdKzjcVgaFA=; b=N87EH5NMAEblBsH8su6qsKhE3R2tjdeFEbBOdEnsyIpkGrnZY2Pz2WHQNXNhOVPaGS yRF0T8vq4ZoLbAzM0m98K/z0SlY2+/eBzSvO5hxVPdwBP5Av4bBobmuAo8ByCw8R1dkB b2u1GHJf7/dYfdiRuhJxquNj6czyXAkQ1nk+AYAWKx5pw7gz1JLnrDd8yekQrg6zDmJq dx8sfXYKB4hhgL9uf1HnKGSRaaqpwpb4UEcDIJ6p5FHQ8PccS4b4vsCRjqDAr0p3rXfm skcD2TX1cfV2IOGnzupyDHHhkwcdw5R8kBJ1Jj4CjrUIAsgfvfqQYsZRZ7PitVjpEjtV ZgXA== X-Gm-Message-State: AOAM533CzqdZORTVPcVAcsCUAqwZ1s/YkiU8uM60PrmQBrEqm6CBiKKx AxRxHMTypaOQmTxEIhCX7yYoWA== X-Google-Smtp-Source: ABdhPJxw7PtTraWZ2bhfpILPRYbq61c+c7BhOQCJEWJRJVi/S5h5YXbLpB5eCmV99RTb48OCgWSTmQ== X-Received: by 2002:adf:d1eb:: with SMTP id g11mr3666154wrd.16.1633695973403; Fri, 08 Oct 2021 05:26:13 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 11/12] .github: move repo lockdown to the v2 configuration Date: Fri, 8 Oct 2021 13:25:55 +0100 Message-Id: <20211008122556.757252-12-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x430.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Willian Rampazzo , peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696752775100002 I was getting prompted by GitHub for new permissions but it turns out per https://github.com/dessant/repo-lockdown/issues/6: Repo Lockdown has been rewritten for GitHub Actions, offering new features and better control over your automation presets. The legacy GitHub App has been deprecated, and the public instance of the app has been shut down. So this is what I've done. As the issues tab is disabled I've removed the handling for issues from the new version. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Willian Rampazzo Message-Id: <20211004154308.2114870-1-alex.bennee@linaro.org> diff --git a/.github/lockdown.yml b/.github/lockdown.yml deleted file mode 100644 index d3546bd2bc..0000000000 --- a/.github/lockdown.yml +++ /dev/null @@ -1,34 +0,0 @@ -# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdo= wn - -# Close issues and pull requests -close: true - -# Lock issues and pull requests -lock: true - -issues: - comment: | - Thank you for your interest in the QEMU project. - - This repository is a read-only mirror of the project's repostories hos= ted - at https://gitlab.com/qemu-project/qemu.git. - The project does not process issues filed on GitHub. - - The project issues are tracked on GitLab: - https://gitlab.com/qemu-project/qemu/-/issues - - QEMU welcomes bug report contributions. You can file new ones on: - https://gitlab.com/qemu-project/qemu/-/issues/new - -pulls: - comment: | - Thank you for your interest in the QEMU project. - - This repository is a read-only mirror of the project's repostories hos= ted - on https://gitlab.com/qemu-project/qemu.git. - The project does not process merge requests filed on GitHub. - - QEMU welcomes contributions of code (either fixing bugs or adding new - functionality). However, we get a lot of patches, and so we have some - guidelines about contributing on the project website: - https://www.qemu.org/contribute/ diff --git a/.github/workflows/lockdown.yml b/.github/workflows/lockdown.yml new file mode 100644 index 0000000000..ad8b8f7e30 --- /dev/null +++ b/.github/workflows/lockdown.yml @@ -0,0 +1,30 @@ +# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdo= wn + +name: 'Repo Lockdown' + +on: + pull_request_target: + types: opened + +permissions: + pull-requests: write + +jobs: + action: + runs-on: ubuntu-latest + steps: + - uses: dessant/repo-lockdown@v2 + with: + pull-comment: | + Thank you for your interest in the QEMU project. + + This repository is a read-only mirror of the project's reposto= ries hosted + on https://gitlab.com/qemu-project/qemu.git. + The project does not process merge requests filed on GitHub. + + QEMU welcomes contributions of code (either fixing bugs or add= ing new + functionality). However, we get a lot of patches, and so we ha= ve some + guidelines about contributing on the project website: + https://www.qemu.org/contribute/ + lock-pull: true + close-pull: true --=20 2.30.2 From nobody Mon Feb 9 16:57:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1633696913508776.3284234154665; Fri, 8 Oct 2021 05:41:53 -0700 (PDT) Received: from localhost ([::1]:45096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYpCC-0006k1-As for importer@patchew.org; Fri, 08 Oct 2021 08:41:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYoxC-00039t-Q1 for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:25 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:44982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYox9-00070a-6l for qemu-devel@nongnu.org; Fri, 08 Oct 2021 08:26:22 -0400 Received: by mail-wr1-x436.google.com with SMTP id s15so29383072wrv.11 for ; Fri, 08 Oct 2021 05:26:15 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id w26sm2199473wmk.34.2021.10.08.05.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 05:26:09 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1F9741FFAA; Fri, 8 Oct 2021 13:25:57 +0100 (BST) 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=F6Md3DXGhaogoIPC2KfJR0RFUjtrXYLoKKIxGJdWSbA=; b=VYpbx2A7aV7Wp3oBifjKjvEFTyKwcMA6bNaVFq4nNKaR0pz+jlVCCofwYWYx1iewhK ZbKkE2BQqb2+q0QBcZ0ZLAZC6yRz4xin0DOCsDvJ/6Ep4uk8mCdiSSUkAYD89m2YpquP 4IrYvZOIvjvdfgBvszRY9GESqbL6zFY2OBcbXB+lYMWEk1/4U/jvSljWQ0EFu1kVbErV vvPeqCMYnmIMQ2I/TzXsRGOLMfNq/h87lBolnVDVXbydIUkA7Kmd0ZqjC8+zf1jdihnN vtOlut7bkPDTT9ceVuwrS5Mwr+79Sn6eQZiAXMpAArLIemQTgEwslAJdl/H+NbGfagKo BG3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=F6Md3DXGhaogoIPC2KfJR0RFUjtrXYLoKKIxGJdWSbA=; b=Tom6NyaiOFeoBK7dPQ1F67GeWfy9gcL2TZ+K9LeIvDUXard4y7ZfdDPjx9NJX1Nn7U maXr9qJ8AWvtUzX1nC0wNFsnkBd3OAEegQ5wUwDj4OFAesU/mAo/RLO7VGOrVvBMNYeR quo/4kVRur6AHfz9O2AtKMzNasmGFz5TVKTFIy21zoGnS3050EmDk0vNJL/nUv4VHJmT 69At0Gu6YN3G8tZ+bAjJ7GIfRHmODybhJejMepgy5KDP8FTB5e2qMuKe+B6iWlYzUnw7 o7AHILPvw9Ql6+4y/JJR0easiZlPObSSbX9ildLSbTQ84vYgL1XcZI5AkUcQRaa4Oj9E eJvQ== X-Gm-Message-State: AOAM533NJYf0UXNDj30HRtmRVT6ypyBBVDWCH/tYz5westvDa3joR2hR wPAbgUomFQ6SJsDozzJlxBdLow== X-Google-Smtp-Source: ABdhPJyNvBhGob0Sa+LicKAPvjq0JOcvinwMNz5QtKnvCFccgA3NRvPAt2r3XAGlQIQNhszPPXzsmQ== X-Received: by 2002:adf:fe8a:: with SMTP id l10mr3703466wrr.434.1633695974178; Fri, 08 Oct 2021 05:26:14 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: richard.henderson@linaro.org Subject: [PULL 12/12] tests/docker: add a debian-native image and make available Date: Fri, 8 Oct 2021 13:25:56 +0100 Message-Id: <20211008122556.757252-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211008122556.757252-1-alex.bennee@linaro.org> References: <20211008122556.757252-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Thomas Huth , Anders Roxell , qemu-devel@nongnu.org, Wainer dos Santos Moschetta , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Willian Rampazzo , =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1633696915030100001 This image is intended for building whatever the native versions of QEMU are for the host architecture. This will hopefully be an aid for 3rd parties who want to be able to build QEMU themselves without redoing all the dependencies themselves. We disable the registry because we currently don't have multi-arch support there. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Anders Roxell Acked-by: Willian Rampazzo Message-Id: <20210922151528.2192966-1-alex.bennee@linaro.org> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 450c76a3ca..b9d4094c2e 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -145,6 +145,10 @@ docker-image-debian-s390x-cross: docker-image-debian10 docker-image-debian-sh4-cross: docker-image-debian10 docker-image-debian-sparc64-cross: docker-image-debian10 =20 +# The native build should never use the registry +docker-image-debian-native: DOCKER_REGISTRY=3D + + # # The build rule for hexagon-cross is special in so far for most of # the time we don't want to build it. While dockers caching does avoid diff --git a/tests/docker/common.rc b/tests/docker/common.rc index c5cc33d366..e6f8cee0d6 100755 --- a/tests/docker/common.rc +++ b/tests/docker/common.rc @@ -12,8 +12,14 @@ # the top-level directory. =20 # This might be set by ENV of a docker container... it is always -# overriden by TARGET_LIST if the user sets it. -DEF_TARGET_LIST=3D${DEF_TARGET_LIST:-"x86_64-softmmu,aarch64-softmmu"} +# overriden by TARGET_LIST if the user sets it. We special case +# "none" to allow for other options like --disable-tcg to restrict the +# builds we eventually do. +if test "$DEF_TARGET_LIST" =3D "none"; then + DEF_TARGET_LIST=3D"" +else + DEF_TARGET_LIST=3D${DEF_TARGET_LIST:-"x86_64-softmmu,aarch64-softmmu"} +fi =20 requires_binary() { diff --git a/tests/docker/dockerfiles/debian-native.docker b/tests/docker/d= ockerfiles/debian-native.docker new file mode 100644 index 0000000000..efd55cb6e0 --- /dev/null +++ b/tests/docker/dockerfiles/debian-native.docker @@ -0,0 +1,49 @@ +# +# Docker Debian Native +# +# This this intended to build QEMU on native host systems. Debian is +# chosen due to the broadest range on supported host systems for QEMU. +# +# This docker target is based on the docker.io Debian Bullseye base +# image rather than QEMU's base because we would otherwise confuse the +# build grabbing stuff from the registry built for other +# architectures. +# +FROM docker.io/library/debian:bullseye-slim +MAINTAINER Alex Benn=C3=A9e + +# Duplicate deb line as deb-src +RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sourc= es.list + +# Install common build utilities +RUN apt update && \ + DEBIAN_FRONTEND=3Dnoninteractive apt install -yy eatmydata + +RUN apt update && \ + DEBIAN_FRONTEND=3Dnoninteractive eatmydata \ + apt build-dep -yy --arch-only qemu + +RUN apt update && \ + DEBIAN_FRONTEND=3Dnoninteractive eatmydata \ + apt install -y --no-install-recommends \ + cscope \ + genisoimage \ + exuberant-ctags \ + global \ + libbz2-dev \ + liblzo2-dev \ + libgcrypt20-dev \ + libfdt-dev \ + librdmacm-dev \ + libsasl2-dev \ + libsnappy-dev \ + libvte-dev \ + netcat-openbsd \ + ninja-build \ + openssh-client \ + python3-numpy \ + python3-opencv \ + python3-venv + +ENV QEMU_CONFIGURE_OPTS $QEMU_CONFIGURE_OPTS +ENV DEF_TARGET_LIST "none" --=20 2.30.2