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 0B981A052A; Tue, 26 Jan 2021 15:20:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB43C140F5F; Tue, 26 Jan 2021 15:19:44 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id B6F21140EE9 for ; Tue, 26 Jan 2021 15:19:41 +0100 (CET) IronPort-SDR: ZuhJCsszFXJ9qkm2UiKs2BVqRcQVzuLwpZ8s0NtT/MB32d/5Wbi2vvCgp9oiyuUps2y3jLkDu2 xUFPG/igm9ew== X-IronPort-AV: E=McAfee;i="6000,8403,9875"; a="167577368" X-IronPort-AV: E=Sophos;i="5.79,375,1602572400"; d="scan'208";a="167577368" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2021 06:19:41 -0800 IronPort-SDR: /HDbGnT6cqnnin6JL3CwxLgpd+9vBFzAyMZOSjvADWnOboAD1UpWERp+cg8yZ1y/a8Jb6xncur lF50tdUBMV2w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,375,1602572400"; d="scan'208";a="361995557" Received: from silpixa00399126.ir.intel.com ([10.237.222.4]) by fmsmga008.fm.intel.com with ESMTP; 26 Jan 2021 06:19:40 -0800 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, Bruce Richardson , Aaron Conole , Michael Santana Date: Tue, 26 Jan 2021 14:18:56 +0000 Message-Id: <20210126141857.1029916-8-bruce.richardson@intel.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210126141857.1029916-1-bruce.richardson@intel.com> References: <20210114110606.21142-1-bruce.richardson@intel.com> <20210126141857.1029916-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 7/7] ci: add checking of includes to CI builds 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" For CI builds, turn on the checking of includes. Signed-off-by: Bruce Richardson --- For simplicity, this patch just enables the header includes checks globally, rather than just limiting it to certain builds. Since the C files generated are all just a single #include line , the extra compilation time is fairly short compared to the overall existing build time in the CI. --- .ci/linux-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index afa3689a09..fdbeb5a616 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -57,6 +57,7 @@ fi OPTS="$OPTS -Dmachine=default" OPTS="$OPTS --default-library=$DEF_LIB" OPTS="$OPTS --buildtype=debugoptimized" +OPTS="$OPTS -Dcheck_includes=true" meson build --werror $OPTS ninja -C build -- 2.27.0