[llvm-commits] [llvm] r46563 - in /llvm/trunk/utils/buildit: GNUmakefile build_llvm

Devang Patel dpatel at apple.com
Wed Jan 30 10:30:11 PST 2008


Author: dpatel
Date: Wed Jan 30 12:30:11 2008
New Revision: 46563

URL: http://llvm.org/viewvc/llvm-project?rev=46563&view=rev
Log:
 Always put version numbers at the end because they are optional.


Modified:
    llvm/trunk/utils/buildit/GNUmakefile
    llvm/trunk/utils/buildit/build_llvm

Modified: llvm/trunk/utils/buildit/GNUmakefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/buildit/GNUmakefile?rev=46563&r1=46562&r2=46563&view=diff

==============================================================================
--- llvm/trunk/utils/buildit/GNUmakefile (original)
+++ llvm/trunk/utils/buildit/GNUmakefile Wed Jan 30 12:30:11 2008
@@ -56,12 +56,14 @@
 RC_ProjectSourceSubversion = 01
 endif
 
+# NOTE : Always put version numbers at the end because they are optional.
 install: $(OBJROOT) $(SYMROOT) $(DSTROOT)
 	cd $(OBJROOT) && \
 	  $(SRC)/build_llvm "$(RC_ARCHS)" "$(TARGETS)" \
 	    $(SRC) $(PREFIX) $(DSTROOT) $(SYMROOT) \
-	    $(RC_ProjectSourceVersion) $(RC_ProjectSourceSubversion) \
-	    $(LLVM_ASSERTIONS) $(LLVM_OPTIMIZED)
+	    $(LLVM_ASSERTIONS) $(LLVM_OPTIMIZED) \
+	    $(RC_ProjectSourceVersion) $(RC_ProjectSourceSubversion) 
+
 
 # installhdrs does nothing, because the headers aren't useful until
 # the compiler is installed.

Modified: llvm/trunk/utils/buildit/build_llvm
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/buildit/build_llvm?rev=46563&r1=46562&r2=46563&view=diff

==============================================================================
--- llvm/trunk/utils/buildit/build_llvm (original)
+++ llvm/trunk/utils/buildit/build_llvm Wed Jan 30 12:30:11 2008
@@ -34,19 +34,19 @@
 # resulting compiler.
 SYM_DIR="$6"
 
-# The seventh parameter is the version number of the submission, e.g. 1007.
-LLVM_SUBMIT_VERSION="$7"
-
-# The eighth parameter is the subversion number of the submission, e.g. 03.
-LLVM_SUBMIT_SUBVERSION="$8"
-
-# The nineth parameter is a yes/no that indicates whether assertions should be
+# The seventh parameter is a yes/no that indicates whether assertions should be
 # enabled in the LLVM libs/tools.
-LLVM_ASSERTIONS="$9"
+LLVM_ASSERTIONS="$7"
 
-# The tenth parameter is a yes/no that indicates whether this is an optimized
+# The eighth parameter is a yes/no that indicates whether this is an optimized
 # build.
-LLVM_OPTIMIZED="${10}"
+LLVM_OPTIMIZED="$8"
+
+# The nineth parameter is the version number of the submission, e.g. 1007.
+LLVM_SUBMIT_VERSION="$9"
+
+# The tenth parameter is the subversion number of the submission, e.g. 03.
+LLVM_SUBMIT_SUBVERSION="${10}"
 
 # The current working directory is where the build will happen. It may already
 # contain a partial result of an interrupted build, in which case this script





More information about the llvm-commits mailing list