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 330A742D09; Tue, 20 Jun 2023 16:10:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C611C42C54; Tue, 20 Jun 2023 16:10:41 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id B8AAF4068E for ; Tue, 20 Jun 2023 16:10:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687270239; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=J+U1vULvoZbw4vREYsocb2TI8sTcRH/e4Skal4DbsJQ=; b=Lb1LqwDojmoinkr+vfm3Nv0e0JuhcuQp7AH4kK+Zll7qrKKiLEwesZLTphe04TbtzvNuxI bRjoU5Xea6UHZZFPMaxDrWFvg34oiDPoBHaVJCxxURLeSln32/9DBczNSefpwg+JjFcSlt 0NGxosr80iXGmJM5ZGueP/j+twyoBPs= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-597-3623xouhMY21zobBDQjOMg-1; Tue, 20 Jun 2023 10:08:33 -0400 X-MC-Unique: 3623xouhMY21zobBDQjOMg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 486D688D54B; Tue, 20 Jun 2023 14:07:34 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.224.210]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6E6E72166B26; Tue, 20 Jun 2023 14:07:33 +0000 (UTC) From: David Marchand 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 Message-Id: <20230620140704.171667-1-david.marchand@redhat.com> In-Reply-To: <20230613081741.4083273-1-david.marchand@redhat.com> References: <20230613081741.4083273-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 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