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
Container 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Jon Boone
cmucl
Commits
e656215a
Commit
e656215a
authored
13 years ago
by
Raymond Toy
Browse files
Options
Downloads
Patches
Plain Diff
o Let build.sh set the default version instead of setting one here.
o Add -P option to control whether we update the pot files or not.
parent
803a8bd2
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/build-all.sh
+14
-13
14 additions, 13 deletions
tools/build-all.sh
with
14 additions
and
13 deletions
tools/build-all.sh
+
14
−
13
View file @
e656215a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
usage
()
usage
()
{
{
echo
"build-all.sh [bBCvU] [-o old] [-8 old8bit]"
echo
"build-all.sh [
-
bBCvU
P
] [-o old] [-8 old8bit]"
echo
""
echo
""
echo
"Build all variants of cmucl for a specific architecture."
echo
"Build all variants of cmucl for a specific architecture."
echo
"This means build the unicode and non-unicode variants."
echo
"This means build the unicode and non-unicode variants."
...
@@ -24,22 +24,21 @@ usage ()
...
@@ -24,22 +24,21 @@ usage ()
echo
' -C [l m] Create the build directories. The args are what'
echo
' -C [l m] Create the build directories. The args are what'
echo
' you would give to create-target.sh for the lisp'
echo
' you would give to create-target.sh for the lisp'
echo
' and motif variant.'
echo
' and motif variant.'
echo
' -v v Use the given string as the version. Default is'
echo
' -v v Use the given string as the version.'
echo
" today's date"
echo
" -o x Use specified Lisp to build unicode version."
echo
" -o x Use specified Lisp to build unicode version."
echo
" (only applicable for build 1)"
echo
" (only applicable for build 1)"
echo
" -8 x Use specified Lisp to build 8-bit version."
echo
" -8 x Use specified Lisp to build 8-bit version."
echo
" (only applicable for build 1)"
echo
" (only applicable for build 1)"
echo
" -U Update and overwite the CVS translations files."
echo
" -U Update and overwite the CVS translations files."
echo
" -P On the last build, (re)generate cmucl.pot and the"
echo
" translations"
}
}
VERSION
=
"
`
date
'+%Y-%m-%d %H:%M:%S'
`
"
GIT_HASH
=
"
`
(
cd
src
;
git describe
--dirty
2>/dev/null
)
`
"
VERSION
=
"
`
date
'+%Y-%m-%d %H:%M:%S'
`
$GIT_HASH
"
BASE
=
build
BASE
=
build
CREATE_OPT
=
""
CREATE_OPT
=
""
UPDATE_POT
=
"-P"
while
getopts
"UB:b:v:C:o:8:?"
arg
while
getopts
"
P
UB:b:v:C:o:8:?"
arg
do
do
case
$arg
in
case
$arg
in
b
)
BASE
=
"
$OPTARG
"
;;
b
)
BASE
=
"
$OPTARG
"
;;
...
@@ -49,6 +48,7 @@ do
...
@@ -49,6 +48,7 @@ do
8
)
OLD8
=
"
$OPTARG
"
;;
8
)
OLD8
=
"
$OPTARG
"
;;
v
)
VERSION
=
"
$OPTARG
"
;;
v
)
VERSION
=
"
$OPTARG
"
;;
U
)
UPDATE_TRANS
=
"-U"
;;
U
)
UPDATE_TRANS
=
"-U"
;;
P
)
UPDATE_POT
=
""
;;
\?
)
usage
;;
\?
)
usage
;;
esac
esac
done
done
...
@@ -63,20 +63,21 @@ if [ "$OLDLISP" = "" -a "$OLD8" = "" ]; then
...
@@ -63,20 +63,21 @@ if [ "$OLDLISP" = "" -a "$OLD8" = "" ]; then
exit
1
exit
1
fi
fi
VERSION
=
${
VERSION
:+-v
"
$VERSION
"
}
buildx86
()
buildx86
()
{
{
if
[
-n
"
$OLD8
"
]
;
then
if
[
-n
"
$OLD8
"
]
;
then
# Build non-unicode versions
# Build non-unicode versions
set
-x
set
-x
src/tools/build.sh
-f
x87
-b
${
BASE
}
-8bit
$bootfiles
-v
"
$VERSION
"
-C
"
${
CREATE_OPT
}
"
${
UPDATE_TRANS
}
-o
"
$OLD8
"
src/tools/build.sh
-f
x87
-b
${
BASE
}
-8bit
$bootfiles
"
$VERSION
"
-C
"
${
CREATE_OPT
}
"
${
UPDATE_TRANS
}
${
UPDATE_POT
}
-o
"
$OLD8
"
src/tools/build.sh
-f
sse2
-b
${
BASE
}
-8bit
$bootfiles
-v
"
$VERSION
"
-C
"
${
CREATE_OPT
}
"
${
UPDATE_TRANS
}
-o
"
$OLD8
"
src/tools/build.sh
-f
sse2
-b
${
BASE
}
-8bit
$bootfiles
"
$VERSION
"
-C
"
${
CREATE_OPT
}
"
${
UPDATE_TRANS
}
${
UPDATE_POT
}
-o
"
$OLD8
"
set
+x
set
+x
fi
fi
# Build the unicode versions
# Build the unicode versions
if
[
-n
"
$OLDLISP
"
]
;
then
if
[
-n
"
$OLDLISP
"
]
;
then
set
-x
set
-x
src/tools/build.sh
-f
x87
-b
${
BASE
}
$bootfiles
-v
"
$VERSION
"
-C
"
${
CREATE_OPT
}
"
${
UPDATE_TRANS
}
-o
"
$OLDLISP
"
src/tools/build.sh
-f
x87
-b
${
BASE
}
$bootfiles
"
$VERSION
"
-C
"
${
CREATE_OPT
}
"
${
UPDATE_TRANS
}
${
UPDATE_POT
}
-o
"
$OLDLISP
"
src/tools/build.sh
-f
sse2
-b
${
BASE
}
$bootfiles
-v
"
$VERSION
"
-C
"
${
CREATE_OPT
}
"
${
UPDATE_TRANS
}
-o
"
$OLDLISP
"
src/tools/build.sh
-f
sse2
-b
${
BASE
}
$bootfiles
"
$VERSION
"
-C
"
${
CREATE_OPT
}
"
${
UPDATE_TRANS
}
${
UPDATE_POT
}
-o
"
$OLDLISP
"
set
+x
set
+x
fi
fi
}
}
...
@@ -86,13 +87,13 @@ buildsun4 ()
...
@@ -86,13 +87,13 @@ buildsun4 ()
# Build non-unicode versions
# Build non-unicode versions
if
[
-n
"
$OLD8
"
]
;
then
if
[
-n
"
$OLD8
"
]
;
then
set
-x
set
-x
src/tools/build.sh
-b
${
BASE
}
-8bit
$bootfiles
-v
"
$VERSION
"
-C
"
$CREATE_OPT
"
${
UPDATE_TRANS
}
-o
"
$OLD8
"
src/tools/build.sh
-b
${
BASE
}
-8bit
$bootfiles
"
$VERSION
"
-C
"
$CREATE_OPT
"
${
UPDATE_TRANS
}
${
UPDATE_POT
}
-o
"
$OLD8
"
set
+x
set
+x
fi
fi
# Build the unicode version.
# Build the unicode version.
if
[
-n
"
$OLDLISP
"
]
;
then
if
[
-n
"
$OLDLISP
"
]
;
then
set
-x
set
-x
src/tools/build.sh
-b
${
BASE
}
$bootfiles
-v
"
$VERSION
"
-C
"
$CREATE_OPT
"
${
UPDATE_TRANS
}
-o
"
$OLDLISP
"
src/tools/build.sh
-b
${
BASE
}
$bootfiles
"
$VERSION
"
-C
"
$CREATE_OPT
"
${
UPDATE_TRANS
}
${
UPDATE_POT
}
-o
"
$OLDLISP
"
set
+x
set
+x
fi
fi
}
}
...
...
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