jsonrpc: Disable coverage in default build
PATCH 1/1 jsonrpc: Disable coverage in default build
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 <[email protected]>
--- meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb +1 -0
@@ -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} \ "
Signature · 1 line
2.23.0
PACKAGECONFIG option? Or do you just think users wanting coverage would override EXTRA_OECMAKE?
Quoted 32 lines · Khem Raj
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 <[email protected]>--- meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb | 1 + 1 file changed, 1 insertion(+)meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb +1
-2@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel