From nobody Sat May 4 02:28:21 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.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 ARC-Seal: i=1; a=rsa-sha256; t=1558690178; cv=none; d=zoho.com; s=zohoarc; b=UN9U8TTgX/KFIb/BcIzCam8U2L4gq3NUxnvoW7u+0aHvj6iidcB8VvsZzcZ8zZ9uznBAGc5o6hPI8v5HuCirlRP5O+OngGlLrQo5FcvpPF56XB7/oWe46yKihG0S2YDeebgXn/7iqf8pO+AeQcAHZbZpp8qPnvtMLIKkZmBtWdc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558690178; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=ax5Lq5sVicqsAzQYBOYT8ZLwPonXUFJFttZD6qBtBR8=; b=iDuBMfBcAZVbUa55kixjrB8hDagIFpI1jfm3rHAh9WFrC2H0VI+LYui/SRFuf2dkJMgtGlcLNxHPx0WROIEoCUONzpFILOteKAlfkVntry5BCc9gpweUGHySElSm+IfEKwUK4PjECqzzQZe//0LOCsA/TTvw53DkCyCxFEeTFSA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.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 header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1558690178805763.9638500619928; Fri, 24 May 2019 02:29:38 -0700 (PDT) Received: from localhost ([127.0.0.1]:51523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hU6VP-0005cs-0j for importer@patchew.org; Fri, 24 May 2019 05:28:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49181) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hU6UP-0005Ia-Rn for qemu-devel@nongnu.org; Fri, 24 May 2019 05:27:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hU6UO-0001gm-Sl for qemu-devel@nongnu.org; Fri, 24 May 2019 05:27:49 -0400 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]:36060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hU6UO-0001fw-JE for qemu-devel@nongnu.org; Fri, 24 May 2019 05:27:48 -0400 Received: by mail-wm1-x344.google.com with SMTP id v22so1226071wml.1 for ; Fri, 24 May 2019 02:27:48 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id b10sm3019121wrh.59.2019.05.24.02.27.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 May 2019 02:27:46 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A8A581FF87; Fri, 24 May 2019 10:27:45 +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=ax5Lq5sVicqsAzQYBOYT8ZLwPonXUFJFttZD6qBtBR8=; b=FmHvZyHj1stO3ub0RBeC8hP/ucGVs1dYtjX7bOeIH8OI1iIGEtwy2dy43gjJiB/yB5 UsgsZcBMHqf0TZT3hl2L6U/X0rImslz8+buamn2L2+xzgAFz4jKOVZ/5keaVpPV0Jdib 2667sGPXptXeeLJc02OLLo/CNlnPO7/km/ExBdyOdsQ1fU+Z5a0C2+/H7eoxj2m83VqH HN5m8J7hyCT5VFwFKlgNhMPgqsfrlKs9ETTQPUaFA8ZpVbzs8P7xVSiX/UGtwAr6zUj4 PYqOWlvZLFTHup1cvQDs6jJqv6Zg/Jz4zvwGESkzQuD72r7SQI3eSnijr4L9CmEEt5mv 4IDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ax5Lq5sVicqsAzQYBOYT8ZLwPonXUFJFttZD6qBtBR8=; b=NMdaJJkev0KmTe1LzEqvVOn6NT4eWOLKK3hVIiW2VeNPsCiAJRsoZeHKjMOsBm50DB L/qpfDcCx7tXJ3kD1Pt7R6aFkTXWuSP30V94OVT3GzA/0fvrZvNOitXwWCdt6t829lMe /9hUy+lxztBHcoUcD4LGsLT5BrxeiHf6vIzT+20L1KVPLdZikJ8SiO701xDThwSj69YP XeIeroe6ufHwpak3Mm3bMLIs2I8stz0nEhTuVwtjA/tfVUjYj6rkWxycffz/53yl22cJ iour9ak5gMNmhuw0FLC2oq97zVbQulRHQjTJYopZ0VdVqWBOG4NldDt/py5oV5KyucWp 8xUA== X-Gm-Message-State: APjAAAV4nfqmYHf9AvLcLhJMqs7SPrKezaLba3ZFrZay59r15+CZl2Fz EKIZGw4ado3XnjcUqnFSIudvdw== X-Google-Smtp-Source: APXvYqwkXyj7X1QerqIPMnFeVUSlawg5o5tWHAeCTZA7zyB1khuXbpwZm/zqKo8EOzl5jBtJP6Ba+A== X-Received: by 2002:a1c:7f10:: with SMTP id a16mr14866134wmd.30.1558690066759; Fri, 24 May 2019 02:27:46 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: jan.bobek@gmail.com Date: Fri, 24 May 2019 10:27:36 +0100 Message-Id: <20190524092736.21734-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190523204409.21068-1-jan.bobek@gmail.com> References: <20190523204409.21068-1-jan.bobek@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::344 Subject: [Qemu-devel] [RISU PATCH] build-all-arches: include x86 triplets in the build X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=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) There are a couple of minor warts: - 32 bit x86 can be either i386-linux-gnu or i686-linux-gnu - skip looking for x86_64-linux-gnu-gcc in docker cross envs Signed-off-by: Alex Benn=C3=A9e --- build-all-archs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build-all-archs b/build-all-archs index a7cd7c2..e5dcfc8 100755 --- a/build-all-archs +++ b/build-all-archs @@ -39,7 +39,7 @@ while [[ "$1" =3D -* ]]; do ;; --use-docker) if [ -z "$arg" ]; then - default_tags=3D$(docker images qemu --format "{{.Repositor= y}}:{{.Tag}}" | grep "\(arm\|ppc64el\|m68k\).*cross$") + default_tags=3D$(docker images qemu --format "{{.Repositor= y}}:{{.Tag}}" | grep "\(arm\|ppc64el\|m68k\|i386\).*cross$") docker_tags=3D$(echo $default_tags | sed 's/\n/\s/g' ) else docker_tags=3D"$arg" @@ -74,7 +74,7 @@ fi DOCKER_RUN=3D"docker run --rm -u $(id -u) -v $(pwd):$(pwd) -w $(pwd)" =20 program_exists() { - if [ ! -z "$docker_tags" ]; then + if [[ ! -z "$docker_tags" && ! "$1" =3D=3D "x86_64-linux-gnu-gcc" ]]; = then use_docker_tag=3D"" for tag in $docker_tags; do if ${DOCKER_RUN} ${tag} /bin/bash -c "command -v $1 >/dev/null= "; then @@ -88,8 +88,10 @@ program_exists() { } =20 # powerpc64-linux-gnu doesn't work at the moment, so not yet listed. -for triplet in aarch64-linux-gnu arm-linux-gnueabihf m68k-linux-gnu \ - powerpc64le-linux-gnu powerpc64-linux-gnu ; do +for triplet in i386-linux-gnu i686-linux-gnu x86_64-linux-gnu \ + aarch64-linux-gnu arm-linux-gnueabihf \ + m68k-linux-gnu \ + powerpc64le-linux-gnu powerpc64-linux-gnu ; do =20 if ! program_exists "${triplet}-gcc"; then echo "Skipping ${triplet}: no compiler found" --=20 2.20.1