> To: LFS Developers Mailinglist <[email protected]>
> From: Bruce Dubbs <[email protected]>
> Date: Sun, 24 Jan 2016 13:17:33 -0600
> Subject: Re: [lfs-dev] Change proposal - move external build directories -
> part 2
>
> Ken Moffat wrote:
> > On Sat, Jan 23, 2016 at 04:23:17PM -0600, Bruce Dubbs wrote:
.
.
> >> The packages in LFS that use separate build directories are out-of-tree.
> >> That is:
> >>
> >> mkdir ../pkg-build
> >> cd ../pkg-build
> >> ../pkg/configure
> >>
> >> If we use in-tree but still separate directories we then have:
> >>
> >> mkdir build
> >> cd build
> >> ../configure
> >>
> >> The affected packages are binutils, gcc (and libstdc++ which is extracted
> >> from gcc), and glibc.
> >>
> >> ============
> >>
> >> I've thought about the proposal and wanted to make a list of pros and cons.
> >> Please add to the list other things I have not thought of.
> >>
.
.
> >>
> >> Still looking for additional feedback. The Con #1 is strong. The question
> >> is whether the Pro reasons are enough to outweigh it.
.
.
> > I can see that Con (1.) will probably be regarded as "more pointless
> > churn" by a couple of people who post on the lists and still use
> > older versions of the book, but over time everything can change and
> > the justifications for what we do ought to be reviewed from time to
> > time.
> >
> > This change should help to reduce errors by new builders, and you
> > know that I am in favour of that. So +1.
>
> Thanks for that input Ken. I'm really on the edge, but, at least today,
> leaning toward making the change.
>
Fwiw, here we do _essentially_ - & partly re profiling builds:
---
$ mkdir -p "${TOPLEV_WORKAREA}/${PKG_LBL}/{src,cfg,bld,inst}"
.
.
$ rm -rf "${TOPLEV_WORKAREA}/${PKG_LBL}/" # With sanity checks. (!)
---
That gives more-or-less as much flexibility as wanted/needed; incl that
it doesn't require essentially pointless wranglings over whether some
package really does now or will in the future, require separate dirs for
cfg/build/&c.
As for assisting users: maybe it is now time to put such commands into each
(relevant pkg-compile) page explicitly; use xml/&c template inclusion,
overridden in non-default cases - usual stuff.
rgds,
akh
--
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page