From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 338F5A0524; Thu, 4 Feb 2021 14:59:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E78C0240710; Thu, 4 Feb 2021 14:59:47 +0100 (CET) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mails.dpdk.org (Postfix) with ESMTP id C1EF22406F1 for ; Thu, 4 Feb 2021 14:59:46 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 57D51EB7; Thu, 4 Feb 2021 08:59:45 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 04 Feb 2021 08:59:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= ReubZ/v3bx5clGsZYXfP8eCtgMTEkILrczKk2eIZKTE=; b=Gi8ytFmMqPyXuFKm zTY4SXaK/IDLbzRDP9vQSe9HQyZbkFM5iWZqangftqEwa0heYuBFZcHK31x8udMW Z1FEpHpR5xsWFau1lrLTnLznD6QIqaJgv/3SwuqGjrM6D33T+tbNwzZr0RH9e8nh khnbxP8YUegeOd3X9P4y517FeF+xNABiaoXME8jAAJJSTI2AOSbdJV37QS4A5YJz Yd15rTekaISqIFfdWOkl5QAkmI7aOwe/MQEOElT52W+Y06uS/+UyOe2OHyxMQBtH adXYQrI7gxj2MEvaXgQ0/0dBggJmm62UuyQXX38rb4k/iJvutSkUs+WuQf4pkIWL 1NNO8w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=ReubZ/v3bx5clGsZYXfP8eCtgMTEkILrczKk2eIZK TE=; b=NDqJO+dSP+A5cqhlSHQKO+JI3H2pQMrnIxAsi8DfMSnI5IGLQXKsAuYvY Xm/JLlcd76I+xfRse1iUUAVzfbpGzalzTZALZILeu/P4eEVBG6CRF4gi2DGvv1lH L44ExtGs5/e9FXmqP7AKei6XUjH7EXUTrNWiHrwAk0Wku++ssvvRw5xFf1Efudfo VcNdCcgIGWfjKBypV58f+PdVj2vU3knE759oLQp7uGYP0YfLQlpj3BaCBxhu4JqN /SUQzh/Ot3q/ecreE2f6q0dtQlb3r45LM+hFotZQha0ayaV+4S/29sVUzlmu0g1R /4OuFp9cJxsq9if2sBpBco4Ll6epg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgeeggdeglecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdejueei iedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 1CC8224005E; Thu, 4 Feb 2021 08:59:44 -0500 (EST) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, Bruce Richardson Date: Thu, 04 Feb 2021 14:59:42 +0100 Message-ID: <10271511.8fBPl8u87h@thomas> In-Reply-To: <20210204133435.3117-1-david.marchand@redhat.com> References: <20210204133435.3117-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] devtools: select targets in build test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 04/02/2021 14:34, David Marchand: > When a target compilation is broken, one way to skip the target is to > uninstall the associated toolchain. > But it is not always possible and you end up with hacking the script to > avoid this target until a fix is ready. > > It is also often quicker to check a fix on a failing target before > checking compilation on all targets. > > Introduce a variable to select targets. > > Example: > $ DPDK_BUILD_TEST_TARGETS=build-x86-mingw \ > ./devtools/test-meson-builds.sh With this solution, you need to list all targets you want to compile. An alternative could be to disable a target in the config file based on the variable DPDK_TARGET set by load_env. One hack, which does not need any change in the script I think, is to set targetcc=disabled. Or we could check a well defined variable after calling load-devel-config. [...] > +target_is_selected build-x86-default || exit 0 Why this line?