[v4,1/8] examples/fips_validation: add jansson dependency

Message ID 20220429161559.415645-2-blo@iol.unh.edu (mailing list archive)
State Superseded, archived
Delegated to: akhil goyal
Headers
Series Add JSON vector set support to fips validation |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Brandon Lo April 29, 2022, 4:15 p.m. UTC
  Added a check for RTE_HAS_JANSSON into the meson
configuration file for JSON support.

Signed-off-by: Brandon Lo <blo@iol.unh.edu>
---
 examples/fips_validation/meson.build | 4 ++++
 1 file changed, 4 insertions(+)
  

Comments

Gowrishankar Muthukrishnan May 18, 2022, 3:44 p.m. UTC | #1
Verified the functionality changes and looks good to me.

Acked-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>

Thanks.

> -----Original Message-----
> From: Brandon Lo <blo@iol.unh.edu>
> Sent: Friday, April 29, 2022 9:46 PM
> To: roy.fan.zhang@intel.com; ciara.power@intel.com
> Cc: dev@dpdk.org; Brandon Lo <blo@iol.unh.edu>
> Subject: [EXT] [PATCH v4 1/8] examples/fips_validation: add jansson
> dependency
> 
> External Email
> 
> ----------------------------------------------------------------------
> Added a check for RTE_HAS_JANSSON into the meson configuration file for
> JSON support.
> 
> Signed-off-by: Brandon Lo <blo@iol.unh.edu>
> ---
>  examples/fips_validation/meson.build | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/examples/fips_validation/meson.build
> b/examples/fips_validation/meson.build
> index 7eef456318..8cd63066b5 100644
> --- a/examples/fips_validation/meson.build
> +++ b/examples/fips_validation/meson.build
> @@ -21,3 +21,7 @@ sources = files(
>          'fips_dev_self_test.c',
>          'main.c',
>  )
> +
> +if dpdk_conf.has('RTE_HAS_JANSSON')
> +    ext_deps += jansson_dep
> +endif
> --
> 2.25.1
  

Patch

diff --git a/examples/fips_validation/meson.build b/examples/fips_validation/meson.build
index 7eef456318..8cd63066b5 100644
--- a/examples/fips_validation/meson.build
+++ b/examples/fips_validation/meson.build
@@ -21,3 +21,7 @@  sources = files(
         'fips_dev_self_test.c',
         'main.c',
 )
+
+if dpdk_conf.has('RTE_HAS_JANSSON')
+    ext_deps += jansson_dep
+endif