From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C92FAA09D3; Thu, 12 Nov 2020 15:37:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 609925928; Thu, 12 Nov 2020 15:37:02 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 5A78056A3 for ; Thu, 12 Nov 2020 15:37:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605191818; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fhS5aUHGnq0D4IwVN8GxWQ6OcZKfW5kTMOhdNZ43t+Q=; b=EkLwKzKNvKHryfB3cXhWTfNXeB5xvZPBH+dwrdnMwQSFQDrMyCkp0wgvbp2VvS7YZADHYQ O+CY+H/TXzGv/cGUl/+6bJW4lz0f1RFPiLpuVit6TrM8DeFuOyIlqDoXzmIn6q2872TEo6 sRSiEvYC/mb8Xk2av2ZQkjCm+6JIGaw= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-522-oMQIcAGFMZihZkhyfXd0fw-1; Thu, 12 Nov 2020 09:36:57 -0500 X-MC-Unique: oMQIcAGFMZihZkhyfXd0fw-1 Received: by mail-vk1-f197.google.com with SMTP id e6so1574782vkb.11 for ; Thu, 12 Nov 2020 06:36:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fhS5aUHGnq0D4IwVN8GxWQ6OcZKfW5kTMOhdNZ43t+Q=; b=X9dJWoMa2CseJS2wL/Gg1wbWXyunPFMNe7w3iKVXaPLuaaFqCcC2zsENc3iUOIUsQO rICJRuktY4RnVbMvzOxOVMAXCwN8FKp+dTzVKeVs9luY2fLNTmwGF8ysEIDeV/pHcbZW LatDTAZurhaUNd9H4Ihbq1DdqVIZ/I/IOpabD35PYJ/5Wu4fL30N6ElMP4wvswK3ug8L VyDafo4RzNaPShZlD6IrYxEXJNrQe44nh4n+lIGW8wu0AHHTvUYSj5nyDT5hIK9zWrbd ImenHkMB+y6OBNssjoP1DouSs0vMq7X278m4i0reEA8rtsvPLRdFpVMtCTM6N9hzWBBX eAlA== X-Gm-Message-State: AOAM532nYaInH3UETM7pB45xMooUE37Hf7v0h0qvGHJOWf1kFpTtmYpK g7WZcqx8013cmBnU9b/T0Aj72OGG1t5zxo1++SwoS4stUI6BWoqhS/a5oyoLOR7Tkl42BE0+7Ml YzY/N0Uk/eQo28TyhyiY= X-Received: by 2002:a67:fd46:: with SMTP id g6mr19478659vsr.27.1605191815603; Thu, 12 Nov 2020 06:36:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyndjymk/gOElMQZWK+0BudYwIiAwpJHq9ivFlsxGN1rcpTBKvTL/uM8cjGZG3WHex48jkT2IGjcVSlm5xpAXo= X-Received: by 2002:a67:fd46:: with SMTP id g6mr19478396vsr.27.1605191813267; Thu, 12 Nov 2020 06:36:53 -0800 (PST) MIME-Version: 1.0 References: <20201109210009.919129-1-thomas@monjalon.net> <20201112142233.1433309-1-thomas@monjalon.net> In-Reply-To: <20201112142233.1433309-1-thomas@monjalon.net> From: David Marchand Date: Thu, 12 Nov 2020 15:36:41 +0100 Message-ID: To: Thomas Monjalon Cc: dev , "Yigit, Ferruh" , Bruce Richardson , dpdk stable , Jerin Jacob , Luca Boccassi Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 1/1] devtools: fix build test config inheritance from env X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Thu, Nov 12, 2020 at 3:22 PM Thomas Monjalon wrote: > > The variables DPDK_MESON_OPTIONS, PATH, PKG_CONFIG_PATH, > CPPFLAGS, CFLAGS and LDFLAGS can be customized in the config file > loaded by devtools/load-devel-config at each build. > The configuration can be adjusted per target thanks to the value set > in the DPDK_TARGET variable. > > PKG_CONFIG_PATH is specific to each target, so it must be empty > before configuring each build from the file according to DPDK_TARGET. > Inheriting a default PKG_CONFIG_PATH for all targets does not make sense > and is prone to confusion. > > DPDK_MESON_OPTIONS might take a global initial value from environment > to customize a build test from the shell. Example: > DPDK_MESON_OPTIONS="b_lto=true" > Some target-specific options can be added in the configuration file: > DPDK_MESON_OPTIONS="$DPDK_MESON_OPTIONS kernel_dir=$MYKERNEL" > > Fixes: 272236741258 ("devtools: load target-specific compilation environment") > Cc: stable@dpdk.org > > Signed-off-by: Thomas Monjalon > Acked-by: Bruce Richardson > Acked-by: Ferruh Yigit > Tested-by: Jerin Jacob Acked-by: David Marchand -- David Marchand