[llvm-commits] [llvm-top] r40267 - in /llvm-top/trunk: README.txt update

Reid Spencer rspencer at reidspencer.com
Fri Jul 20 23:33:36 PDT 2007


Author: reid
Date: Sat Jul 21 01:33:36 2007
New Revision: 40267

URL: http://llvm.org/viewvc/llvm-project?rev=40267&view=rev
Log:
Add the update script.

Added:
    llvm-top/trunk/update   (with props)
Modified:
    llvm-top/trunk/README.txt

Modified: llvm-top/trunk/README.txt
URL: http://llvm.org/viewvc/llvm-project/llvm-top/trunk/README.txt?rev=40267&r1=40266&r2=40267&view=diff

==============================================================================
--- llvm-top/trunk/README.txt (original)
+++ llvm-top/trunk/README.txt Sat Jul 21 01:33:36 2007
@@ -22,9 +22,10 @@
 which will check out both llvm and llvm-gcc-4-0 because the latter depends on
 the former.
 
-In addition to checking out software, there are scripts to build, install, and
-clean the modules. They have the obvious names. These scripts do not dictate
-how to build, install or clean the modules; that is up to the module. The 
+In addition to checking out software, there are scripts to build, install, 
+clean and update the modules. They have the obvious names. These scripts do 
+not dictate how to build, install or clean the modules; that is up to the 
+modules themselves. The update and get scripts just work with subversion. The 
 only thing these scripts depend on is a file named ModuleInfo.txt located in
 each module's top directory. This module can have the following definitions:
 

Added: llvm-top/trunk/update
URL: http://llvm.org/viewvc/llvm-project/llvm-top/trunk/update?rev=40267&view=auto

==============================================================================
--- llvm-top/trunk/update (added)
+++ llvm-top/trunk/update Sat Jul 21 01:33:36 2007
@@ -0,0 +1,27 @@
+#!/bin/sh
+#                               update script
+# 
+# This file was developed by Reid Spencer and is distributed under the
+# University of Illinois Open Source License. See LICENSE.TXT for details.
+# 
+#===------------------------------------------------------------------------===#
+
+# This script allows easier checkout of LLVM modules. Just specify the names
+# of the modules on the command line.
+. ./library.sh
+
+# Get the list of modules
+process_arguments "$@"
+
+# Getting the module dependencies also causes them to be checked out.
+get_module_dependencies $MODULES
+
+for mod in $MODULE_DEPENDENCIES ; do
+  msg 1 Updating module "$mod"
+  cd $mod
+  svn update
+  cd $LLVM_TOP
+done
+
+# Report what happened.
+msg 1 Modules updated:"$MODULE_DEPENDENCIES".

Propchange: llvm-top/trunk/update

------------------------------------------------------------------------------
    svn:executable = *





More information about the llvm-commits mailing list