On Sat, May 11, 2019 at 04:39:15PM +0000, DJ Lucas via blfs-dev wrote:
> 
> On 5/11/2019 8:36 AM, Xi Ruoyao via blfs-dev wrote:
> > Yes it is needed.  Nobody wants to remove it from the book.  But if a 
> > package
> > *can* be built with autotools or meson, why should we build it with cmake 
> > and
> > introduce a hard dependency?
> 
> This deserves a bit more consideration. What are the devs doing with this
> package? ISTR that the devs made a conscious choice to move to cmake. I do
> not know whether that means that autotools support is going away
> (admittedly, many times it does). OTOH, as long as autotools support is
> still current, then why not reduce the dependencies?IMO, the change, or more
> importantly, the reason for the change, is sound - the only issue here is
> that it likely should have been discussed before hand to avoid the initial
> reaction that prompted this thread. Generally speaking, you should prefer to
> use the newer build tools, if possible, as they are likely the more
> supported/current variant, but this is the outlier. A comment in the source
> with rationale is a good idea here.
> 
> --DJ

I took a look at the source last night: almost all of the docs on
hacking and building for 'nix talk about ./configure.  But right at
the end of one, I think it was INSTALL, was a note on using cmake,
followed by a note on using cmake with ninja (and making a release
build).

For the little it is worth, I've moved almost all my cmake and meson
scripts to doing release builds (the exception is the Xorg protocols,
which do not do any compiling).  For getting a noticeable benefit
from using ninja with cmake, I think it would probably need to be a
big package - and ninja implies multi-core builds, so would anyway
need re-measuring if we don't already do make -j4.

But I don't think that changing to a release build on its own is
worth the bother of having to remeasure the time and space.  If I
happen to update a package in the book (unlikely, Bruce eats most of
hte updates for breakfast), I'll change it to a release build, and I
notice that Bruce also seems to be doing that.

ĸen
-- 
Before the universe began, there was a sound. It went: "One, two, ONE,
two, three, four" [...] The cataclysmic power chord that followed was
the creation of time and space and matter and it does Not Fade Away.
 - wiki.lspace.org/mediawiki/Music_With_Rocks_In


-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to