Skip to contentSkip to conversation

librepo: disable building of tests and docs

PATCH In review Anuj Mittal 3 participants 3 messages Mar 21, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 librepo: disable building of tests and docs

Also remove libcheck dependency which was required only for tests.

---
 meta/recipes-devtools/librepo/librepo_1.8.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/librepo/librepo_1.8.1.bb +2 -2
index 0324104..4569885 100644
@@ -11,11 +11,11 @@ SRCREV = "7b9b7bf388f3f059529c6f50c40b30919fef30f9"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "curl expat glib-2.0 openssl attr libcheck gpgme"
+DEPENDS = "curl expat glib-2.0 openssl attr gpgme"
 
 inherit cmake distutils3-base pkgconfig
 
-EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
+EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3 -DENABLE_TESTS=OFF -DENABLE_DOCS=OFF"
 
 BBCLASSEXTEND = "native nativesdk"
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 2 lines · Anuj Mittal

Also remove libcheck dependency which was required only for tests.

Does this affect ptest converge ?

Quoted 31 lines
---
 meta/recipes-devtools/librepo/librepo_1.8.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/librepo/librepo_1.8.1.bb +2 -3
index 0324104..4569885 100644
@@ -11,11 +11,11 @@ SRCREV = "7b9b7bf388f3f059529c6f50c40b30919fef30f9"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "curl expat glib-2.0 openssl attr libcheck gpgme"
+DEPENDS = "curl expat glib-2.0 openssl attr gpgme"
 
 inherit cmake distutils3-base pkgconfig
 
-EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
+EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3 -DENABLE_TESTS=OFF -DENABLE_DOCS=OFF"
 
 BBCLASSEXTEND = "native nativesdk"
 
--

2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw

No, they were not installed.

Ross

Quoted 42 lines · Khem Raj
Quoted 2 lines · Anuj Mittal

Also remove libcheck dependency which was required only for tests.

Does this affect ptest converge ?

Quoted 26 lines
---
 meta/recipes-devtools/librepo/librepo_1.8.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/librepo/librepo_1.8.1.bb +2 -3
index 0324104..4569885 100644
@@ -11,11 +11,11 @@ SRCREV = "7b9b7bf388f3f059529c6f50c40b30919fef30f9"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "curl expat glib-2.0 openssl attr libcheck gpgme"
+DEPENDS = "curl expat glib-2.0 openssl attr gpgme"
 
 inherit cmake distutils3-base pkgconfig
 
-EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
+EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3 -DENABLE_TESTS=OFF -DENABLE_DOCS=OFF"
 
 BBCLASSEXTEND = "native nativesdk"
 
--

2.7.4

Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core