Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl-copy
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
Richard M Kreuter
cmucl-copy
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 @@
#
# 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 misfeatures = ()
set target = "@sys"
set subdir = alpha
set core = ""
set clean = 0
set update = 1
set interactive = "nil"
set bootstrap = "target:bootstrap"
...
...
@@ -52,14 +50,6 @@ while ($#argv > 0)
set interactive = "t"
breaksw
# Source tree management:
case "-clean":
set clean = 1
breaksw
case "-noupdate":
set update = 0
breaksw
# Select what to compile:
case "-compile":
set systems = $argv[2]
...
...
@@ -95,12 +85,6 @@ Try these:
Remove <feature> from the features when compiling. May be used more
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]
A comma-separated list of system names, e.g. "code,compiler". Order is
not significant. All systems are compiled by default.
...
...
@@ -156,11 +140,6 @@ if (-e $thissrc/MISFEATURES) then
set misfeatures = ($misfeatures $tmp)
endif
if $update then
echo "Updating source directory $thissrc ..."
(cd $thissrc; rcsupdate -q)
endif
if (-e $thissrc/SHADOW) then
set thissrc = `cat $thissrc/SHADOW`
goto nother_source
...
...
@@ -171,30 +150,23 @@ echo "Source directory(ies): $src"
set dest = /afs/cs/project/clisp/build/$target/$subdir
echo "Target directory: $dest"
if $clean then
echo "Cleaning up binaries and logs in $dest ..."
(cd $dest;\
find . \( -name '*.*f' -o -name '*.assem' -o -name '*.fasl' \) \
-print -exec rm {} \; ;\
rm *.log *.log.OLD)
else
if ({(echo $dest/*.log>/dev/null)}) then
echo "Preserving log files in $dest as .OLD ..."
foreach foo ( $dest/*.log )
set old = "${foo}.OLD"
if (-e $old) then
echo "" >>$old
date >>$old
echo "_________________________________________">>$old
cat $foo >>$old
rm $foo
else
mv $foo $old
endif
end
endif
if ({(echo $dest/*.log>/dev/null)}) then
echo "Preserving log files in $dest as .OLD ..."
foreach foo ( $dest/*.log )
set old = "${foo}.OLD"
if (-e $old) then
echo "" >>$old
date >>$old
echo "_________________________________________">>$old
cat $foo >>$old
rm $foo
else
mv $foo $old
endif
end
endif
if ($?LISP) then
echo "LISP environment variable override: $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