Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
f6820157
Commit
f6820157
authored
Nov 13, 2000
by
Bruce Korb
Committed by
Bruce Korb
Nov 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generalize the release script a bit
From-SVN: r37411
parent
2f86842d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
20 deletions
+37
-20
contrib/ChangeLog
+4
-0
contrib/release
+33
-20
No files found.
contrib/ChangeLog
View file @
f6820157
2000-11-12 Bruce Korb <bkorb@gnu.org>
* release: generalize the release script a bit.
Sat Nov 11 17:29:03 2000 Mark P Mitchell <mark@codesourcery.com>
Sat Nov 11 17:29:03 2000 Mark P Mitchell <mark@codesourcery.com>
* gcc_build: Add -o option for setting the objdir to use.
* gcc_build: Add -o option for setting the objdir to use.
...
...
contrib/release
View file @
f6820157
...
@@ -4,27 +4,14 @@
...
@@ -4,27 +4,14 @@
#
#
# Originally written by Jeff Law <law@redhat.com>.
# Originally written by Jeff Law <law@redhat.com>.
PATH
=
/home/law/gcc:
$PATH
TMPDIR
=
/var/tmp
STATEDIR
=
/home/law
export
TMPDIR STATEDIR
# We run this on the cvs server itself so we can get at the cvs
# files quickly. It also assumes access to my home dir for some
# programs.
CVSROOT
=
/cvs/gcc
export
CVSROOT
# Get somewhere useful with a lot of disk space.
cd
$TMPDIR
# We need separate variables for the tag in the CVS sources and the
# We need separate variables for the tag in the CVS sources and the
# name of the release directory. Consider if we have a packaging problem
# name of the release directory. Consider if we have a packaging problem
# and need to respin the release. The sources do not change, but the release
# and need to respin the release. The sources do not change, but the release
# name changes.
# name changes.
#
#
# [[ Not clear. You can purge the old tag and make a new one, too.
# That way they continue to match. Maximize consistency. ]]
#
# We used to use a tag to get the previous release, but it is more reliable to
# We used to use a tag to get the previous release, but it is more reliable to
# actually unpack the previous release from the ftp directory. Consider files
# actually unpack the previous release from the ftp directory. Consider files
# like .brik which are in the release, but not in the repository.
# like .brik which are in the release, but not in the repository.
...
@@ -56,7 +43,33 @@ case $last_release_name in
...
@@ -56,7 +43,33 @@ case $last_release_name in
echo
"No testsuites in gcc-2.95*"
echo
"No testsuites in gcc-2.95*"
;;
;;
esac
esac
STATEDIR
=
${
STATEDIR
-/home/law
}
GCCBASE
=
${
GCCBASE
-
${
STATEDIR
}
/gcc
}
TMPDIR
=
${
TMPDIR
-/var/tmp
}
export
TMPDIR STATEDIR GCCBASE
PATH
=
${
GCCBASE
}
:
$PATH
[
-f
${
GCCBASE
}
/gcc.pot
]
||
{
echo
"'
${
GCCBASE
}
/gcc.pot' is missing"
exit
1
}
[
-f
${
STATEDIR
}
/bin/brik
]
||
{
echo
"'
${
STATEDIR
}
/bin/brik' is missing"
exit
1
}
# We run this on the cvs server itself so we can get at the cvs
# files quickly. It also assumes access to my home dir for some
# programs.
CVSROOT
=
/cvs/gcc
export
CVSROOT
# Get somewhere useful with a lot of disk space.
cd
$TMPDIR
# Get into a temporary directory so as not to be confused by
# Get into a temporary directory so as not to be confused by
# any existing CVS administration files.
# any existing CVS administration files.
rm
-rf
$$
rm
-rf
$$
...
@@ -99,7 +112,7 @@ noncore_files="gcc/cp libio libstdc++ gcc/f libf2c gcc/objc libobjc gcc/ch libch
...
@@ -99,7 +112,7 @@ noncore_files="gcc/cp libio libstdc++ gcc/f libf2c gcc/objc libobjc gcc/ch libch
cvs
-Q
export
-ko
-r
$release_tag
egcs
cvs
-Q
export
-ko
-r
$release_tag
egcs
cd
egcs
cd
egcs
contrib/gcc_update
--touch
contrib/gcc_update
--touch
cp
/home/law/gcc
/gcc.pot gcc/po
cp
${
GCCBASE
}
/gcc.pot gcc/po
cd
..
cd
..
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/install
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/install
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/faq.html
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/faq.html
...
@@ -110,7 +123,7 @@ release_docs $release_name $$
...
@@ -110,7 +123,7 @@ release_docs $release_name $$
# Build a list of files in this release.
# Build a list of files in this release.
cd
$release_name
cd
$release_name
find
.
-type
f
-print
| sort
>
../files_
$release_name
find
.
-type
f
-print
| sort
>
../files_
$release_name
/home/law
/bin/brik
-Gb
-f
../files_
$release_name
>
../.brik_
$release_name
${
STATEDIR
}
/bin/brik
-Gb
-f
../files_
$release_name
>
../.brik_
$release_name
cp ../.brik_
$release_name
./.brik
cp ../.brik_
$release_name
./.brik
# Get back to the directory with the two releases in it.
# Get back to the directory with the two releases in it.
...
@@ -153,7 +166,7 @@ fi
...
@@ -153,7 +166,7 @@ fi
cvs
-Q
export
-ko
-r
$release_tag
egcs
cvs
-Q
export
-ko
-r
$release_tag
egcs
cd
egcs
cd
egcs
contrib/gcc_update
--touch
contrib/gcc_update
--touch
cp
/home/law/gcc
/gcc.pot gcc/po
cp
${
GCCBASE
}
/gcc.pot gcc/po
cd
..
cd
..
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/install
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/install
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/faq.html
cvs
-Q
export
-ko
-Dnow
wwwdocs/htdocs/faq.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment