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 52862A046B; Thu, 9 Jan 2020 16:31:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 261611DEA0; Thu, 9 Jan 2020 16:31:35 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id D927A1DE76 for ; Thu, 9 Jan 2020 16:31:33 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2020 07:31:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,414,1571727600"; d="scan'208";a="216333063" Received: from silpixa00399126.ir.intel.com (HELO silpixa00399126.ger.corp.intel.com) ([10.237.223.2]) by orsmga008.jf.intel.com with ESMTP; 09 Jan 2020 07:31:31 -0800 From: Bruce Richardson To: david.marchand@redhat.com, john.mcnamara@intel.com, bluca@debian.org Cc: dev@dpdk.org, aconole@redhat.com, thomas@monjalon.net, Bruce Richardson Date: Thu, 9 Jan 2020 15:31:06 +0000 Message-Id: <20200109153112.501282-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200109115631.500056-1-bruce.richardson@intel.com> References: <20200109115631.500056-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/6] meson build improvements 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" These patches make some improvements to the meson build, particularly for documentation. They also remove many, but not all warnings issued by meson e.g. warnings about newer features unsupported in baseline. The biggest change is to improve the handling of the guide html docs. The change here is more significant, and the doc build now uses a wrapper script around sphinx. This wrapper script allows us to output correct dependency information for the sphinx build in a .d file. This .d file is processed by ninja (not meson) on build, so that any changes to doc files trigger a rebuild to the guides using sphinx. For now, the two patches which remove the meson version warnings are CC'ed to stable for backport, theoretically this who set could be backported if so desired, as all changes could be considered fixes to some degree or other, and nothing introduces a whole new feature. Note: for completeness and simplicity, previously submitted patch http://patches.dpdk.org/patch/64189/ is included in this set, and will be marked superceded in patchwork. V3: Shorten the python code in patch 5, and ensure style compliance as flagged by Aaron. V2: resend to correct email addresses Bruce Richardson (6): kernel/linux/kni: fix meson warning about console keyword build: skip processing docs folder if docs disabled doc/api: fix warning with meson build doc/guides: reduce whitespace in meson build file doc/guides: rebuild with meson whenever a file changes doc/api: reduce indentation in meson build file buildtools/call-sphinx-build.py | 23 ++++++++ buildtools/meson.build | 6 +- doc/api/meson.build | 99 +++++++++++++++++---------------- doc/guides/meson.build | 38 ++++++------- doc/meson.build | 4 ++ kernel/linux/kni/meson.build | 1 - 6 files changed, 98 insertions(+), 73 deletions(-) create mode 100755 buildtools/call-sphinx-build.py -- 2.24.1