[dpdk-dev] [PATCH v4 7/7] ci: add checking of includes to CI builds
Bruce Richardson
bruce.richardson at intel.com
Tue Jan 26 15:18:56 CET 2021
For CI builds, turn on the checking of includes.
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
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
More information about the dev
mailing list