[llvm-commits] [llvm] r38423 - in /llvm/trunk: Makefile ModuleInfo.txt

Reid Spencer reid at x10sys.com
Sat Jul 7 20:50:22 PDT 2007


Author: reid
Date: Sat Jul  7 22:50:22 2007
New Revision: 38423

URL: http://llvm.org/viewvc/llvm-project?rev=38423&view=rev
Log:
Install things needed by llvm-top to allow successful building 
of llvm from that level.

Modified:
    llvm/trunk/Makefile
    llvm/trunk/ModuleInfo.txt

Modified: llvm/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile?rev=38423&r1=38422&r2=38423&view=diff

==============================================================================
--- llvm/trunk/Makefile (original)
+++ llvm/trunk/Makefile Sat Jul  7 22:50:22 2007
@@ -128,4 +128,12 @@
 	$(Verb) du -sk $(ExmplDir)
 	$(Verb) du -sk $(ObjDir)
 
+build-for-llvm-top:
+	$(Verb) if test ! -f ./config.status ; then \
+	  ./configure --prefix="$(LLVM_TOP)/install" \
+	    --with-llvm-gcc="$(LLVM_TOP)/llvm-gcc" ; \
+	fi
+	$(Verb) $(MAKE) tools-only
+
 .PHONY: srpm rpm
+

Modified: llvm/trunk/ModuleInfo.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/ModuleInfo.txt?rev=38423&r1=38422&r2=38423&view=diff

==============================================================================
--- llvm/trunk/ModuleInfo.txt (original)
+++ llvm/trunk/ModuleInfo.txt Sat Jul  7 22:50:22 2007
@@ -1,2 +1,2 @@
-BuildTarget: tools-only
 DepModule:
+BuildTarget: build-for-llvm-top





More information about the llvm-commits mailing list