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 03C15A09D3 for ; Thu, 12 Nov 2020 15:37:09 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B14F85B30; Thu, 12 Nov 2020 15:37:04 +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 63978593A for ; Thu, 12 Nov 2020 15:37:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1605191820; 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=B/a6JQ7ebeC57hnRXPz+fczWZFmfrgxhJzviOHY/v+I2EN2TcUoQefeWIh2Jj0s4MBhUh7 tPpZXLPynoTckI5zm0wWFsJVZxB1XcbfcDHfUQvdzmzJdjffAyPpTIvI29lrQ/1Z29DVTK yzY816bZSrdzZZNcdloC0LiGcQdhROs= Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-584-1YGmFVzUMcyDUuDDyif9HA-1; Thu, 12 Nov 2020 09:36:58 -0500 X-MC-Unique: 1YGmFVzUMcyDUuDDyif9HA-1 Received: by mail-vs1-f71.google.com with SMTP id d6so1798143vsh.8 for ; Thu, 12 Nov 2020 06:36:58 -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=DHQDOE6Eu9OaUPEAObGOTqqP/w8rsusJuOTwCow8/+H3iiGF7M3At3RIUpzUQQEtJP /aoz5oefm0rJ962/pvlJHln7XsCv22qJ600nDIdA3PA9bWCbMPlcl22HozhGf6vDdxu9 DQmbolsn3LnfKy/eEkxvN/sV9MYsYvn7dd0Bjuq0URr2mZ32Yz3UIPt6B1GLX22QUGpE iL6uXF+uuzOWKOmRxXrbnNL1e+IcfpjYs8tHsM0EksvUBX7HoKZyPvowObZrtvmvu44U 2SrGS4eAo4rK5Nx0VqKs3iUtxXv/5oyZjxOsrS6RQBr55rH+DfWlluD2fxRR9PZtpI48 VNGQ== X-Gm-Message-State: AOAM530ALqCrTJx8mLRR4jmG18ysj65WMPPQl2D8fehQpN1GnYQz60rq RgOkydM7eLaGJxL6AEgGGnmVMdFUKS+4Gf6WHg7m9ROxu8Fs6ILfJ0iAbyrC/2IqKD8/Th4P4Kr f8qQQ8lFFihJAHzWgBEacIYQ= X-Received: by 2002:a67:fd46:: with SMTP id g6mr19478675vsr.27.1605191815699; 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-stable] [PATCH v2 1/1] devtools: fix build test config inheritance from env X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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