Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
a305f9d5
Commit
a305f9d5
authored
30 years ago
by
ram
Browse files
Options
Downloads
Patches
Plain Diff
Flush rcsupdate and -clean features.
parent
7276cb19
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/compile-all
+16
-44
16 additions, 44 deletions
tools/compile-all
with
16 additions
and
44 deletions
tools/compile-all
+
16
−
44
View file @
a305f9d5
...
@@ -2,15 +2,13 @@
...
@@ -2,15 +2,13 @@
#
#
# compile-all -- script to compile everything
# compile-all -- script to compile everything
#
#
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/Attic/compile-all,v 1.1
4
1994/0
7
/2
6
1
7:37:17 hallgren
Exp $
# $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/tools/Attic/compile-all,v 1.1
5
1994/
1
0/2
7
1
6:58:21 ram
Exp $
set features = ()
set features = ()
set misfeatures = ()
set misfeatures = ()
set target = "@sys"
set target = "@sys"
set subdir = alpha
set subdir = alpha
set core = ""
set core = ""
set clean = 0
set update = 1
set interactive = "nil"
set interactive = "nil"
set bootstrap = "target:bootstrap"
set bootstrap = "target:bootstrap"
...
@@ -52,14 +50,6 @@ while ($#argv > 0)
...
@@ -52,14 +50,6 @@ while ($#argv > 0)
set interactive = "t"
set interactive = "t"
breaksw
breaksw
# Source tree management:
case "-clean":
set clean = 1
breaksw
case "-noupdate":
set update = 0
breaksw
# Select what to compile:
# Select what to compile:
case "-compile":
case "-compile":
set systems = $argv[2]
set systems = $argv[2]
...
@@ -95,12 +85,6 @@ Try these:
...
@@ -95,12 +85,6 @@ Try these:
Remove <feature> from the features when compiling. May be used more
Remove <feature> from the features when compiling. May be used more
than once.
than once.
-clean <no arg>
Delete *.*f, *.fasl, *.assem, *.log and *.log.OLD in the destination.
-noupdate <no arg>
If specified, inhibits rcsupdate of the source tree.
-compile [All systems]
-compile [All systems]
A comma-separated list of system names, e.g. "code,compiler". Order is
A comma-separated list of system names, e.g. "code,compiler". Order is
not significant. All systems are compiled by default.
not significant. All systems are compiled by default.
...
@@ -156,11 +140,6 @@ if (-e $thissrc/MISFEATURES) then
...
@@ -156,11 +140,6 @@ if (-e $thissrc/MISFEATURES) then
set misfeatures = ($misfeatures $tmp)
set misfeatures = ($misfeatures $tmp)
endif
endif
if $update then
echo "Updating source directory $thissrc ..."
(cd $thissrc; rcsupdate -q)
endif
if (-e $thissrc/SHADOW) then
if (-e $thissrc/SHADOW) then
set thissrc = `cat $thissrc/SHADOW`
set thissrc = `cat $thissrc/SHADOW`
goto nother_source
goto nother_source
...
@@ -171,30 +150,23 @@ echo "Source directory(ies): $src"
...
@@ -171,30 +150,23 @@ echo "Source directory(ies): $src"
set dest = /afs/cs/project/clisp/build/$target/$subdir
set dest = /afs/cs/project/clisp/build/$target/$subdir
echo "Target directory: $dest"
echo "Target directory: $dest"
if $clean then
if ({(echo $dest/*.log>/dev/null)}) then
echo "Cleaning up binaries and logs in $dest ..."
echo "Preserving log files in $dest as .OLD ..."
(cd $dest;\
foreach foo ( $dest/*.log )
find . \( -name '*.*f' -o -name '*.assem' -o -name '*.fasl' \) \
set old = "${foo}.OLD"
-print -exec rm {} \; ;\
if (-e $old) then
rm *.log *.log.OLD)
echo "" >>$old
else
date >>$old
if ({(echo $dest/*.log>/dev/null)}) then
echo "_________________________________________">>$old
echo "Preserving log files in $dest as .OLD ..."
cat $foo >>$old
foreach foo ( $dest/*.log )
rm $foo
set old = "${foo}.OLD"
else
if (-e $old) then
mv $foo $old
echo "" >>$old
endif
date >>$old
end
echo "_________________________________________">>$old
cat $foo >>$old
rm $foo
else
mv $foo $old
endif
end
endif
endif
endif
if ($?LISP) then
if ($?LISP) then
echo "LISP environment variable override: $LISP"
echo "LISP environment variable override: $LISP"
set lisp = "$LISP"
set lisp = "$LISP"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment