civetweb: remove redundant EXTRA_OECMAKE_class-native
PATCH 1/2 civetweb: remove redundant EXTRA_OECMAKE_class-native
They are the same as the default version.
--- meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 6 ------ 1 file changed, 6 deletions(-)
meta-networking/recipes-connectivity/civetweb/civetweb_git.bb +0 -6
@@ -24,12 +24,6 @@ EXTRA_OECMAKE = " \ -DCIVETWEB_ENABLE_LUA=OFF \ -DCIVETWEB_ENABLE_ASAN=OFF \ " -EXTRA_OECMAKE_class-native = " \ - -DBUILD_SHARED_LIBS=ON \ - -DCIVETWEB_ENABLE_DUKTAPE=OFF \ - -DCIVETWEB_ENABLE_LUA=OFF \ - -DCIVETWEB_ENABLE_ASAN=OFF \ -" # Building with ninja fails on missing third_party/lib/libcheck.a (which # should come from external CMake project)
Signature · 1 line
2.11.0
PATCH 2/2 civetweb: disable tests
Tests try to download third party code and bypass the bitbake fetcher to do that. This will not work in environments with no internet access.
--- meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 1 + 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/civetweb/civetweb_git.bb +1 -0
@@ -23,6 +23,7 @@ EXTRA_OECMAKE = " \ -DCIVETWEB_ENABLE_DUKTAPE=OFF \ -DCIVETWEB_ENABLE_LUA=OFF \ -DCIVETWEB_ENABLE_ASAN=OFF \ + -DCIVETWEB_BUILD_TESTING=OFF \ " # Building with ninja fails on missing third_party/lib/libcheck.a (which
Signature · 1 line
2.11.0
Re: [meta-networking][PATCH 2/2] civetweb: disable tests
Quoted 14 lines · Pascal Bach
Tests try to download third party code and bypass the bitbake fetcher to do that. This will not work in environments with no internet access.
Signed-off-by Pascal Bach <[email protected]>--- meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 1 + 1 file changed, 1 insertion(+)meta-networking/recipes-connectivity/civetweb/civetweb_git.bb +0
-0
meta-networking/recipes-connectivity/civetweb/civetweb_git.bb EXTRA_OECMAKE = " \ · line 27
Quoted 5 lines
meta-networking/recipes-connectivity/civetweb/civetweb_git.bb +1
-0@@ -23,6 +23,7 @@ EXTRA_OECMAKE = " \ -DCIVETWEB_ENABLE_DUKTAPE=OFF \ -DCIVETWEB_ENABLE_LUA=OFF \ -DCIVETWEB_ENABLE_ASAN=OFF \ + -DCIVETWEB_BUILD_TESTING=OFF \ "
Probably, it will be good to turn this into a packageconfig, I am fine to disable it by default
but it might be useful to have it enabled with say images with ptest feature on.
Quoted 10 lines
meta-networking/recipes-connectivity/civetweb/civetweb_git.bb +0
-1# Building with ninja fails on missing third_party/lib/libcheck.a (which --2.11.0
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [meta-networking][PATCH 2/2] civetweb: disable tests
Quoted 9 lines · Khem Raj
Quoted 8 lines · Pascal Bach
Tests try to download third party code and bypass the bitbake fetcher to do that. This will not work in environments with no internet access.
Signed-off-by Pascal Bach <[email protected]>--- meta-networking/recipes-connectivity/civetweb/civetweb_git.bb | 1 + 1 file changed, 1 insertion(+)
Quoted 13 lines
meta-networking/recipes-connectivity/civetweb/civetweb_git.bb EXTRA_OECMAKE = " \ · line 27
Quoted 10 lines
meta-networking/recipes-connectivity/civetweb/civetweb_git.bb +1
-0@@ -23,6 +23,7 @@ EXTRA_OECMAKE = " \ -DCIVETWEB_ENABLE_DUKTAPE=OFF \ -DCIVETWEB_ENABLE_LUA=OFF \ -DCIVETWEB_ENABLE_ASAN=OFF \ + -DCIVETWEB_BUILD_TESTING=OFF \ "Probably, it will be good to turn this into a packageconfig, I am fine to disable it by default
but it might be useful to have it enabled with say images with ptest feature on.
I agree it might be useful, but it needs some change as I don't think we want to have a recipe that fetches code from somewhere without bitbake knowing about it.
Once the main CMake patches land I will try to look into how the whole ExternalProject [1] stuff works in CMake and how it could be better integrated into OE. So for now I suggest to just deactivate it and then later re add it once I figured out a way to properly handle ExternalProject.
[1] https://cmake.org/cmake/help/latest/module/ExternalProject.html
Quoted 9 lines
Quoted 9 lines
meta-networking/recipes-connectivity/civetweb/civetweb_git.bb +0
-1# Building with ninja fails on missing third_party/lib/libcheck.a (which --2.11.0
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel