[llvm-commits] [release_13] CVS: llvm/utils/mkrel.sh

John Criswell criswell at cs.uiuc.edu
Fri Aug 6 14:04:09 PDT 2004



Changes in directory llvm/utils:

mkrel.sh added (r1.1.2.1)
---
Log message:

Created script to help automate part of the release process.


---
Diffs of the changes:  (+41 -0)

Index: llvm/utils/mkrel.sh
diff -c /dev/null llvm/utils/mkrel.sh:1.1.2.1
*** /dev/null	Fri Aug  6 16:04:09 2004
--- llvm/utils/mkrel.sh	Fri Aug  6 16:03:59 2004
***************
*** 0 ****
--- 1,41 ----
+ #!/bin/sh
+ 
+ #
+ # Shell Script: mkrel
+ #
+ # Description:
+ #   Make LLVM Release source tarballs by grabbing the source from the CVS
+ #   repository.
+ #
+ # Usage:
+ #   mkrel <version> <release tag> <dir>
+ #
+ 
+ #
+ # Constants
+ #
+ cvsroot=":pserver:anon at llvm-cvs.cs.uiuc.edu:/var/cvs/llvm"
+ 
+ #
+ # Save the command line arguments into some variables.
+ #
+ version=$1
+ tag=$2
+ dir=$3
+ 
+ #
+ # Create the working directory and make it the current directory.
+ #
+ mkdir -p $dir
+ cd $dir
+ 
+ #
+ # Extract the LLVM sources given the label.
+ #
+ cvs -d $cvsroot export -r $tag llvm llvm-gcc
+ 
+ #
+ # Create source tarballs.
+ #
+ tar -cvf - llvm | gzip > llvm-${version}.tar.gz
+ tar -cvf - llvm-gcc | gzip > cfrontend-${version}.source.tar.gz






More information about the llvm-commits mailing list