All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Karel Zak <kzak@redhat.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: btrfs-prog: improve build-system by autoconf
Date: Wed, 28 Jan 2015 16:38:15 +0100	[thread overview]
Message-ID: <20150128153815.GG3641@suse.cz> (raw)
In-Reply-To: <20150116152613.GC2181@x2.net.home>

On Fri, Jan 16, 2015 at 04:26:13PM +0100, Karel Zak wrote:
> On Wed, Dec 17, 2014 at 03:07:26PM +0100, David Sterba wrote:
> > On Fri, Dec 12, 2014 at 01:35:14PM +0100, Karel Zak wrote:
> > > This is first step to make btrfs-progs build system more conventional
> > > for userspace users and developers. All is implemented by small incremental
> > > patches to keep things review-able.
> > 
> > Thanks. I went through the patches and haven't found major problems. The
> > changes are affecting build system and this will need a longer period
> > before all distros have a chance to adapt to that, so I'm postponing it
> > to 3.19.
> 
>  Note that I have rebased the autoconf patches and fixed some issues,

Rebased on 3.18.3, fixed some minor conflicts.

* I'm a bit surprised that automake is required for the
  config.{guess,sub} and install-sh files

* my oldish testbox' automake does not support the --print-libdir option
  (automake-1.11), enterprise distros ship automake of similar age

* library build test fails, but this may be because I've mismerged
  something, I'll check again

Otherwise looks ok and I'll merge it, plus a few fixups to make it build
for me.

>     https://github.com/karelzak/btrfs-progs/commits/autoconf
> 
>  you can merge it (now or later) on command line by:
> 
>     git pull --log git@github.com:karelzak/btrfs-progs.git autoconf

git-pulls are not (yet) established workflow, mailinglist is preferred,
but it does not hurt to publish branches along.

I've noticed the 'automake' branch that switches to automake. Looking at
the amount of changes and the result, I'm not quite happy and don't see
the benefit of automake. An extra layer that only obfuscates the build.
We're not using any advanced build features. Just a bunch of independent
binaries built from the same sources. The shared library is an exception
and it works.

  reply	other threads:[~2015-01-28 20:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12 12:35 btrfs-prog: improve build-system by autoconf Karel Zak
2014-12-12 12:35 ` [PATCH 01/10] btrfs-progs: add ./configure script Karel Zak
2014-12-12 12:35 ` [PATCH 02/10] btrfs-progs: use config.h Karel Zak
2014-12-12 12:35 ` [PATCH 03/10] btrfs-progs: use standard PACKAGE_* macros Karel Zak
2014-12-12 12:35 ` [PATCH 04/10] btrfs-progs: use ./configure to generate version.h Karel Zak
2014-12-12 12:35 ` [PATCH 05/10] btrfs-progs: check for build programs in ./configure Karel Zak
2014-12-12 12:35 ` [PATCH 06/10] btrfs-progs: use paths and $*_LIBS from ./configure Karel Zak
2014-12-12 12:35 ` [PATCH 07/10] btrfs-progs: cleanup compilation flags usage Karel Zak
2014-12-12 12:35 ` [PATCH 08/10] btrfs-progs: clean generated files, make version.h stuff more robust Karel Zak
2014-12-12 12:35 ` [PATCH 09/10] btrfs-progs: add --disable-backtrace Karel Zak
2014-12-12 12:35 ` [PATCH 10/10] btrfs-progs: add --disable-documentation Karel Zak
2014-12-17 14:07 ` btrfs-prog: improve build-system by autoconf David Sterba
2014-12-18 13:31   ` Karel Zak
2014-12-18 18:00     ` Eric Sandeen
2014-12-22 12:47     ` Koen Kooi
2015-01-16 15:26   ` Karel Zak
2015-01-28 15:38     ` David Sterba [this message]
2015-02-04 11:40       ` Karel Zak

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=20150128153815.GG3641@suse.cz \
    --to=dsterba@suse.cz \
    --cc=kzak@redhat.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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.