[oe] [meta-oe][PATCH] jsonrpc: Disable coverage in default build

Tim Orling ticotimo at gmail.com
Fri Oct 11 00:59:56 UTC 2019


PACKAGECONFIG  option? Or do you just think users wanting coverage would
override EXTRA_OECMAKE?

On Thu, Oct 10, 2019 at 5:49 PM Khem Raj <raj.khem at gmail.com> wrote:

> Building with intrumentation is only useful during development or
> optimization phases, in production, this will just make it slow and in
> some cases not work where file system might be readonly.
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb
> b/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb
> index b23775708a..6ad0a49abd 100644
> --- a/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb
> +++ b/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb
> @@ -18,6 +18,7 @@ inherit cmake
>
>  EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO
> -DCOMPILE_EXAMPLES=NO \
>                    -DBUILD_SHARED_LIBS=YES -DBUILD_STATIC_LIBS=YES \
> +                  -DWITH_COVERAGE=NO \
>                    -DCMAKE_LIBRARY_PATH=${libdir} \
>  "
>
> --
> 2.23.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


More information about the Openembedded-devel mailing list