From: Chris Lattner This will create an 'llvm' directory in your home directory and
fully populate it with the source code for LLVM.
+
+ The first modification is that you need to enable the "BUILD_ROOT =
+ . line in the top level Makefile.common. This will instruct
+ LLVM to build into the current directory tree instead of
+ /shared.
+
The C compiler is not included in the CVS tree you just checked out, so
we just point to the cannonical location, and access it with the
llvmgcc command. The rest of the LLVM tools
- will be built into the llvm/tools/Debug directory inside of the
- sourcebase. Adding them to your path will make it much easier to use
- them.Access to /shared
+
+
+ By default, LLVM is configured to send all compiled files into the
+ /shared/[yourloginname]/ directory. The idea is that this
+ directory is local to the machine you're working on, so the huge libraries
+ and .o files you will be compiling will not have to be sent over
+ NFS. If you are in a situation where this setup is correct, you don't have
+ to do anything. If you don't have a /shared directory, you will
+ have to make a couple of modifications to your setup.Set up your environment
@@ -72,16 +91,21 @@
alias llvmgcc /home/vadve/lattner/cvs/gcc_install/bin/gcc
# Make the LLVM tools easy to use...
- setenv PATH ~/llvm/tools/Debug:${PATH}
+ setenv PATH /shared/[yourloginname]/llvm/tools/Debug:${PATH}
+ setenv PATH ~/llvm/tools/Debug:${PATH} ++ Adding these two lines to your path will make it much easier to use the LLVM + tools. @@ -101,10 +125,9 @@ .so, .a) files into a /shared/[your login name]/... directory, which is supposed to be on a disk local to the current machine. If you get an error talking about a /shared - directory, and you find out that it doesn't exist, try enabling the - "BUILD_ROOT = . line in the top level Makefile.common that - will change LLVM to build into the current directory instead of - /shared.
+ directory, follow the instructions in the section about + /shared.
+ @@ -363,7 +386,7 @@ -Last modified: Fri Aug 9 11:13:34 CDT 2002 +Last modified: Tue Aug 13 16:09:25 CDT 2002