All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/4] pixman: do not build demos or tests
Date: Fri, 10 Jan 2014 07:40:08 +0800	[thread overview]
Message-ID: <20140110074008.2c60836d@skate> (raw)
In-Reply-To: <1389198785-11923-5-git-send-email-spenser@gillilanding.com>

Dear Spenser Gilliland,

On Wed,  8 Jan 2014 10:33:05 -0600, Spenser Gilliland wrote:
> Test code does not compile correctly on microblaze architecture.  Disable both
> tests and demos from being built to reduce failures and decrease build time.
> 
> Fixes autobuild failures
> 
> http://autobuild.buildroot.net/results/a4b/a4b0ce0621701df55c146609388c3e529ea3411e/build-end.log
> http://autobuild.buildroot.net/results/e2f/e2f6e4750d8b93320681abf09157917d131c8de0/build-end.log
> http://autobuild.buildroot.net/results/878/878f0665c1b3e0c8895912c3a5a3078f937a9c75/build-end.log
> http://autobuild.buildroot.net/results/018/01869b49eb1d305cec98d4d9ecf046427e88c2f3/build-end.log
> http://autobuild.buildroot.net/results/0e8/0e8a2f5fc1425e153c112f87083e8a93f726e3df/build-end.log
> http://autobuild.buildroot.net/results/980/980e03c5f8a7678f3343439dc37636855f637f9e/build-end.log
> http://autobuild.buildroot.net/results/e1c/e1c86da68e012dfbff345436b0967d7774c9d9c5/build-end.log
> http://autobuild.buildroot.net/results/63c/63c4cc230fb0c1b359f2ca15721e20deaa0eecc9/build-end.log
> http://autobuild.buildroot.net/results/db7/db7785da51133d9874857731de6e7ff19e13527b/build-end.log
> http://autobuild.buildroot.net/results/af6/af6a646e560b9a743d909966a1243b1ee8dcb15f/build-end.log
> http://autobuild.buildroot.net/results/e36/e360e979fbafa5add49dba4ae3f6972220966e0d/build-end.log
> http://autobuild.buildroot.net/results/79e/79e4e0c94b833c247457d4839a46ff92a524f0bb/build-end.log
> http://autobuild.buildroot.net/results/b67/b671f57bbfe3609d59d30281c7ee931b5ebf3df1/build-end.log
> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>

Missing empty new line before Signed-off-by. Also, some comment below.


> ---
>  package/pixman/pixman-disable-demos-and-tests.patch | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 package/pixman/pixman-disable-demos-and-tests.patch
> 
> diff --git a/package/pixman/pixman-disable-demos-and-tests.patch b/package/pixman/pixman-disable-demos-and-tests.patch
> new file mode 100644
> index 0000000..f55fc0d
> --- /dev/null
> +++ b/package/pixman/pixman-disable-demos-and-tests.patch
> @@ -0,0 +1,14 @@
> +pixman: do not build demos or tests
> +
> +Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
> +
> +Index: pixman-0.30.0/Makefile.am
> +===================================================================
> +--- pixman-0.30.0.orig/Makefile.am	2014-01-08 10:14:23.773508352 -0600
> ++++ pixman-0.30.0/Makefile.am	2014-01-08 10:14:39.549508640 -0600
> +@@ -1,4 +1,4 @@
> +-SUBDIRS = pixman demos test
> ++SUBDIRS = pixman
> + 
> + pkgconfigdir=$(libdir)/pkgconfig
> + pkgconfig_DATA=pixman-1.pc

This sort of solution annoys me a bit, because it is not upstreamable,
but requires AUTORECONF = YES, which we would have to keep forever for
this package. Therefore, I'd very much prefer a solution that is
upstreamable (like additional --enable-demos / --enable-tests options,
or if not accepted upstream, we can get back to an ugly SED of the
Makefile.in).

Note that there is already a patch for pixman that touches
configure.ac, but that patch is a backport from upstream, and therefore
at the next upgrade of pixman, we could remove the patch, and remove
AUTORECONF = YES.

Also, if you add a new patch to pixman, please add sequence numbers to
the patches while you're at it :-)

Thanks!

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

      reply	other threads:[~2014-01-09 23:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08 16:33 [Buildroot] [PATCH 0/4] Microblaze Autobuilder Fixes Spenser Gilliland
2014-01-08 16:33 ` [Buildroot] [PATCH 1/4] gdb: use consistent version on host and target for microblaze and arc Spenser Gilliland
2014-01-09 23:35   ` Thomas Petazzoni
2014-01-08 16:33 ` [Buildroot] [PATCH 2/4] libnspr: add microblaze support Spenser Gilliland
2014-01-09 16:59   ` Arnout Vandecappelle
2014-01-09 23:36     ` Thomas Petazzoni
2014-01-08 16:33 ` [Buildroot] [PATCH 3/4] libsigsegv: fix for microblaze Spenser Gilliland
2014-01-09 23:37   ` Thomas Petazzoni
2014-01-14 22:34   ` Peter Korsgaard
2014-01-08 16:33 ` [Buildroot] [PATCH 4/4] pixman: do not build demos or tests Spenser Gilliland
2014-01-09 23:40   ` Thomas Petazzoni [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140110074008.2c60836d@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.