[LLVMdev] rantings about llvm-top

Holger Schurig hs4233 at mail.mn-solutions.de
Thu Aug 16 02:35:17 PDT 2007


> > - many directories are not svn:ignore'd in llvm-top, e.g.
> >   cfe, llvm-gcc-4.0, llvm. "svn st" shows you which one.
>
> Yeah, again, that's a module maintainer's issue. I can't be
> cleaning up after everyone. People are just going to have to
> learn how to use subversion properly. I try to fix things
> where I find them, but there's just too much going on to be
> thorough.

Not quite. llvm-top itself does creates several directory, e.g. 
by virtue of the "svn co" commands it executes. Those commands 
are executed by llvm-top, not by the sub-projects llvm-top 
understands. Here's an example:

$ svn info
Path: .
URL: http://llvm.org/svn/llvm-project/llvm-top/trunk
Repository Root: http://llvm.org/svn/llvm-project
Repository UUID: 91177308-0d34-0410-b5e6-96231b3b80d8
Revision: 41115
Node Kind: directory
Schedule: normal
Last Changed Author: reid
Last Changed Rev: 41042
Last Changed Date: 2007-08-13 08:37:41 +0200 (Mon, 13 Aug 2007)

$ svn st
?      build.llvm-gcc-4.0
?      llvm-gcc-4.0
?      dist
?      llvm

As you can see, four entities are marked as unknown by 
Subversion. As it happens, all of these entities are 
directories.

llvm-top created three of them: two while checking out code, one 
while compiling. So this directories, being llvm-top's own 
directories, should me marked as svn:ignore.

However, llvm-top couldn't know about the "dist" *) directory, so 
that is ok.


*) I'm using a "dist" directory for PREFIX and not the 
default "installed" directory, because in the "dist"-directory 
case I can enter this dir via tab-completion in one go. In 
the "installed"-directory case, the tab stops prematurely 
because of the "install" script and I need to type 2 more 
characters to achive the same effect :-)




More information about the llvm-dev mailing list