Skip to content

Commit b6a9b36

Browse files
author
John Criswell
committed
Setup the llvm-gcc tarball the way we have always done.
llvm-svn: 15687
1 parent 0fe9bd9 commit b6a9b36

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

llvm/utils/mkrel.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,23 @@ dir=$3
2727
# Create the working directory and make it the current directory.
2828
#
2929
mkdir -p $dir
30+
echo "Changing directory to $dir"
3031
cd $dir
3132

3233
#
3334
# Extract the LLVM sources given the label.
3435
#
36+
echo "Extracting source $tag from $cvsroot"
3537
cvs -d $cvsroot export -r $tag llvm llvm-gcc
3638

39+
#
40+
# Move the llvm-gcc sources so that they match what is used by end-users.
41+
#
42+
mkdir -p cfrontend
43+
mv llvm-gcc cfrontend/src
44+
3745
#
3846
# Create source tarballs.
3947
#
40-
tar -cvf - llvm | gzip > llvm-${version}.tar.gz
41-
tar -cvf - llvm-gcc | gzip > cfrontend-${version}.source.tar.gz
48+
tar -cf - llvm | gzip > llvm-${version}.tar.gz
49+
tar -cf - cfrontend | gzip > cfrontend-${version}.source.tar.gz

0 commit comments

Comments
 (0)