All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] libmemcached: disable tests
@ 2014-07-19 12:05 Gustavo Zacarias
  2014-07-19 12:20 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2014-07-19 12:05 UTC (permalink / raw)
  To: buildroot

Disable test libraries and programs, even though it needs to autoreconf
it's a good tradeoff since it cuts the build time by half, and avoids
build issues with extra dependencies that aren't properly checked for.
Fixes:
http://autobuild.buildroot.net/results/739/739ae9b2f28486dec8900aa584145d2d38f44331/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/libmemcached/libmemcached-01-disable-tests.patch | 16 ++++++++++++++++
 package/libmemcached/libmemcached.mk                     |  2 ++
 2 files changed, 18 insertions(+)
 create mode 100644 package/libmemcached/libmemcached-01-disable-tests.patch

diff --git a/package/libmemcached/libmemcached-01-disable-tests.patch b/package/libmemcached/libmemcached-01-disable-tests.patch
new file mode 100644
index 0000000..d7da101
--- /dev/null
+++ b/package/libmemcached/libmemcached-01-disable-tests.patch
@@ -0,0 +1,16 @@
+Disable the tests, cuts build time by half and avoids build issues
+with extra dependencies.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura libmemcached-1.0.18.orig/Makefile.am libmemcached-1.0.18/Makefile.am
+--- libmemcached-1.0.18.orig/Makefile.am	2014-07-19 08:43:15.127031040 -0300
++++ libmemcached-1.0.18/Makefile.am	2014-07-19 08:48:11.327068987 -0300
+@@ -76,7 +76,6 @@
+ include libmemcachedinternal/util/include.am
+ include rpm/include.mk
+ include support/include.am
+-include tests/include.am
+ include util/include.am
+ include win32/include.am
+ 
diff --git a/package/libmemcached/libmemcached.mk b/package/libmemcached/libmemcached.mk
index d901e70..fd5b418 100644
--- a/package/libmemcached/libmemcached.mk
+++ b/package/libmemcached/libmemcached.mk
@@ -11,6 +11,8 @@ LIBMEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
 LIBMEMCACHED_CONF_OPT = --disable-dtrace
 LIBMEMCACHED_INSTALL_STAGING = YES
 LIBMEMCACHED_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBEVENT),libevent)
+# For libmemcached-01-disable-tests.patch
+LIBMEMCACHED_AUTORECONF = YES
 LIBMEMCACHED_LICENSE = BSD-3c
 LIBMEMCACHED_LICENSE_FILES = COPYING
 
-- 
1.8.5.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] libmemcached: disable tests
  2014-07-19 12:05 [Buildroot] [PATCH] libmemcached: disable tests Gustavo Zacarias
@ 2014-07-19 12:20 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-07-19 12:20 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On Sat, 19 Jul 2014 09:05:53 -0300, Gustavo Zacarias wrote:
> Disable test libraries and programs, even though it needs to autoreconf
> it's a good tradeoff since it cuts the build time by half, and avoids
> build issues with extra dependencies that aren't properly checked for.
> Fixes:
> http://autobuild.buildroot.net/results/739/739ae9b2f28486dec8900aa584145d2d38f44331/
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-19 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-19 12:05 [Buildroot] [PATCH] libmemcached: disable tests Gustavo Zacarias
2014-07-19 12:20 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.