File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ #
4
+ # Shell Script: mkrel
5
+ #
6
+ # Description:
7
+ # Make LLVM Release source tarballs by grabbing the source from the CVS
8
+ # repository.
9
+ #
10
+ # Usage:
11
+ # mkrel <version> <release tag> <dir>
12
+ #
13
+
14
+ #
15
+ # Constants
16
+ #
17
+ cvsroot=
" :pserver:[email protected] :/var/cvs/llvm"
18
+
19
+ #
20
+ # Save the command line arguments into some variables.
21
+ #
22
+ version=$1
23
+ tag=$2
24
+ dir=$3
25
+
26
+ #
27
+ # Create the working directory and make it the current directory.
28
+ #
29
+ mkdir -p $dir
30
+ cd $dir
31
+
32
+ #
33
+ # Extract the LLVM sources given the label.
34
+ #
35
+ cvs -d $cvsroot export -r $tag llvm llvm-gcc
36
+
37
+ #
38
+ # Create source tarballs.
39
+ #
40
+ tar -cvf - llvm | gzip > llvm-${version} .tar.gz
41
+ tar -cvf - llvm-gcc | gzip > cfrontend-${version} .source.tar.gz
You can’t perform that action at this time.
0 commit comments