From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: thomas@monjalon.net, bruce.richardson@intel.com
Subject: [PATCH v3 0/4] Test examples compilation externally
Date: Tue, 20 Jun 2023 16:07:00 +0200 [thread overview]
Message-ID: <20230620140704.171667-1-david.marchand@redhat.com> (raw)
In-Reply-To: <20230613081741.4083273-1-david.marchand@redhat.com>
As DPDK provides examples compiled with makefiles, we need some tests in
the CI. So far, a few maintainers have been testing them but a simple
issue has been missed for some time and there was no way to try to build
all examples that were built with meson.
Additionnally, this series can help in identify issues in public headers
that the current headers check can not catch as it relies on the meson
framework for finding headers include path (which points at sources).
Changes since v2:
- tweaked patch 2 commitlog,
- dropped -e sed option in patch 3/4,
Changes since v1:
- reworked built examples discovery,
--
David Marchand
David Marchand (4):
examples/fips_validation: fix external build
examples/server_node_efd: simplify build configuration
devtools: build all examples externally
ci: build examples externally
.ci/linux-build.sh | 27 ++++++++++++++++++-
.github/workflows/build.yml | 6 ++---
devtools/test-meson-builds.sh | 16 +++++++++++
doc/guides/sample_app_ug/server_node_efd.rst | 14 +++++-----
examples/fips_validation/Makefile | 2 ++
examples/meson.build | 4 +--
examples/server_node_efd/Makefile | 2 +-
.../{node => efd_node}/Makefile | 0
.../{node => efd_node}/meson.build | 2 --
.../server_node_efd/{node => efd_node}/node.c | 0
.../{server => efd_server}/Makefile | 0
.../{server => efd_server}/args.c | 0
.../{server => efd_server}/args.h | 0
.../{server => efd_server}/init.c | 0
.../{server => efd_server}/init.h | 0
.../{server => efd_server}/main.c | 0
.../{server => efd_server}/meson.build | 2 --
17 files changed, 57 insertions(+), 18 deletions(-)
rename examples/server_node_efd/{node => efd_node}/Makefile (100%)
rename examples/server_node_efd/{node => efd_node}/meson.build (95%)
rename examples/server_node_efd/{node => efd_node}/node.c (100%)
rename examples/server_node_efd/{server => efd_server}/Makefile (100%)
rename examples/server_node_efd/{server => efd_server}/args.c (100%)
rename examples/server_node_efd/{server => efd_server}/args.h (100%)
rename examples/server_node_efd/{server => efd_server}/init.c (100%)
rename examples/server_node_efd/{server => efd_server}/init.h (100%)
rename examples/server_node_efd/{server => efd_server}/main.c (100%)
rename examples/server_node_efd/{server => efd_server}/meson.build (94%)
--
2.40.1
next prev parent reply other threads:[~2023-06-20 14:10 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-13 8:17 [PATCH " David Marchand
2023-06-13 8:17 ` [PATCH 1/4] examples/fips_validation: fix external build David Marchand
2023-06-13 15:05 ` [EXT] " Gowrishankar Muthukrishnan
2023-06-13 8:17 ` [PATCH 2/4] examples/server_node_efd: simplify build configuration David Marchand
2023-06-13 11:05 ` David Marchand
2023-06-13 8:17 ` [PATCH 3/4] devtools: build all examples externally David Marchand
2023-06-13 9:20 ` Bruce Richardson
2023-06-13 9:29 ` David Marchand
2023-06-13 9:23 ` Bruce Richardson
2023-06-13 8:17 ` [PATCH 4/4] ci: build " David Marchand
2023-06-13 9:21 ` [PATCH 0/4] Test examples compilation externally Bruce Richardson
2023-06-13 14:06 ` [PATCH v2 " David Marchand
2023-06-13 14:06 ` [PATCH v2 1/4] examples/fips_validation: fix external build David Marchand
2023-06-13 14:06 ` [PATCH v2 2/4] examples/server_node_efd: simplify build configuration David Marchand
2023-06-20 9:42 ` Thomas Monjalon
2023-06-20 9:58 ` David Marchand
2023-06-13 14:06 ` [PATCH v2 3/4] devtools: build all examples externally David Marchand
2023-06-20 9:45 ` Thomas Monjalon
2023-06-20 9:52 ` David Marchand
2023-06-13 14:06 ` [PATCH v2 4/4] ci: build " David Marchand
2023-06-16 13:14 ` Aaron Conole
2023-06-20 14:07 ` David Marchand [this message]
2023-06-20 14:07 ` [PATCH v3 1/4] examples/fips_validation: fix external build David Marchand
2023-06-21 6:23 ` David Marchand
2023-06-20 14:07 ` [PATCH v3 2/4] examples/server_node_efd: simplify build configuration David Marchand
2023-06-20 14:07 ` [PATCH v3 3/4] devtools: build all examples externally David Marchand
2023-06-20 14:07 ` [PATCH v3 4/4] ci: build " David Marchand
2023-06-22 13:48 ` [PATCH] examples/l2fwd-cat: fix external build Thomas Monjalon
2023-06-22 13:55 ` Thomas Monjalon
2023-06-22 13:54 ` [PATCH v3 0/4] Test examples compilation externally Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230620140704.171667-1-david.marchand@redhat.com \
--to=david.marchand@redhat.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).