Re: Source tree has many empty directories?

From: Warner Losh <imp_at_bsdimp.com>
Date: Tue, 10 Sep 2019 13:48:16 -0600
On Tue, Sep 10, 2019, 1:43 PM Ian Lepore <ian_at_freebsd.org> wrote:

> On Tue, 2019-09-10 at 21:41 +0200, Dimitry Andric wrote:
> > On 10 Sep 2019, at 20:14, Ian Lepore <ian_at_FreeBSD.org> wrote:
> > >
> > > On Tue, 2019-09-10 at 11:01 -0600, Warner Losh wrote:
> > > > However, please do *NOT* remove the sys/*/compile directories.
> > > >
> > > > Warner
> > >
> > > Uhhh... that's interesting.  I just nuked one of those on my system
> > > yesterday, because it had been hanging around since 2013 and I had no
> > > idea what was -- I just assumed the build machinery created it because
> > > I had accidentally done a make in a wrong directory once.
> > >
> > > So what are those directories about?  I'm not used to seeing mystery
> > > directories appear inside a source tree.
> >
> > There's not much mystery to be found.  Subversion does not warn you when
> you
> > remove the last files from a directory, and it also does not
> automatically
> > remove such empty directories, like Git.  Hence, those directories tend
> to
> > stick around, because every simply forgets about them.
> >
> > With regards to those empty directories under contrib/llvm, those were
> actually
> > imported from upstream.  But since the llvm project will switch to Git
> soon,
> > this problem will automagically disappear. :-)
> >
> > -Dimitry
> >
>
> I was referring specifically to the sys/*/compile directories Warner
> mentioned.
>

They are for old school builds. Config(8) doesn't create them, so we have
them in the tree. Because svn does this, we deleted the keep me files after
the cut over.

Warner

>
Received on Tue Sep 10 2019 - 17:48:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:21 UTC