Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2019 13:48:16 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        Dimitry Andric <dim@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Source tree has many empty directories?
Message-ID:  <CANCZdfrFQeNfLF2-sE9op7JTQ_8azv=A4j2Hc2Fib9dd1hCsVg@mail.gmail.com>
In-Reply-To: <6140ae514e02b029e7451065da08c49c749f029e.camel@freebsd.org>
References:  <b3fb681e-e543-2da1-e628-55d856dfef5d@selasky.org> <CANCZdfqkw-NYcG=B8%2BHyD4Amr7wkWPoX0ewMhM2Gywq9XqjDtQ@mail.gmail.com> <CANCZdfp7ctPRhGC%2B-_TqNp-BcegOnrw=DE2zDKkAGHDLc5Oq%2Bw@mail.gmail.com> <ed46d0d5e781089766e7cabcce595551fdb3c501.camel@freebsd.org> <289ADD78-FD39-435B-80D5-91901FE065DD@FreeBSD.org> <6140ae514e02b029e7451065da08c49c749f029e.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 10, 2019, 1:43 PM Ian Lepore <ian@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@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

>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfrFQeNfLF2-sE9op7JTQ_8azv=A4j2Hc2Fib9dd1hCsVg>