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
1dcbb5c0
Commit
1dcbb5c0
authored
13 years ago
by
Raymond Toy
Browse files
Options
Downloads
Patches
Plain Diff
If -b is not given, try to choose a suitable name from the OS type.
parent
30f2e524
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/build-all.sh
+16
-4
16 additions, 4 deletions
bin/build-all.sh
bin/build.sh
+19
-2
19 additions, 2 deletions
bin/build.sh
with
35 additions
and
6 deletions
bin/build-all.sh
+
16
−
4
View file @
1dcbb5c0
...
...
@@ -18,6 +18,8 @@ usage ()
echo
""
echo
" -b d Basename of the different build directories."
echo
"
${
d
}
-2,
${
d
}
-3,
${
d
}
-4 for unicode"
echo
" If -b is not given, a suitable name is chosen"
echo
" based on the OS."
echo
"
${
d
}
-8bit-2,
${
d
}
-8bit-3,
${
d
}
-8bit-4 for non-unicode"
echo
" -B file Use file as a boot file. Maybe be specified more than once"
echo
" The file is relative to the bootfiles/<version> directory"
...
...
@@ -34,7 +36,6 @@ usage ()
echo
" translations"
}
BASE
=
build
CREATE_OPT
=
""
UPDATE_POT
=
"-P"
...
...
@@ -53,9 +54,20 @@ do
esac
done
if
[
"
$BASE
"
=
""
]
;
then
echo
"-b option required"
exit
1
# If -b not given, try to derive one instead of just using "build".
if
[
-z
"
$BASE
"
]
;
then
case
`
uname
-s
`
in
Darwin
)
# We only support darwin-x86 now. No ppc available anymore.
BASE
=
darwin
;;
SunOS
)
case
`
uname
-m
`
in
sun4u
)
BASE
=
sparc
;;
i86pc
)
BASE
=
sol-x86
;;
esac
;;
Linux
)
BASE
=
linux
;;
# Add support for FreeBSD and NetBSD? Otherwise default to just build.
*
)
BASE
=
build
;;
esac
fi
if
[
"
$OLDLISP
"
=
""
-a
"
$OLD8
"
=
""
]
;
then
...
...
This diff is collapsed.
Click to expand it.
bin/build.sh
+
19
−
2
View file @
1dcbb5c0
...
...
@@ -47,7 +47,6 @@ VERSION="`date '+%Y-%m-%d %H:%M:%S'`"
GIT_HASH
=
"
`
(
cd
src
;
git describe
--dirty
2>/dev/null
)
`
"
# Add the tree hash to the version
VERSION
=
"
$VERSION
$GIT_HASH
"
BASE
=
build
OLDLISPFLAGS
=
"-noinit -nositeinit"
OLDLISP
=
"cmulisp"
...
...
@@ -78,7 +77,7 @@ usage ()
echo
" -o x Use specified Lisp to build. Default is cmulisp"
echo
" (only applicable for build 1)"
echo
' -b d The different build directories are named ${d}-2, ${d}-3 ${d}-4'
echo
'
with a default of "build"'
echo
'
If -b is not given, a suitable name based on the OS is used.'
echo
' -v v Use the given string as the version. Default is'
echo
" today's date"
echo
" -u Don't build CLX, CLM, or Hemlock"
...
...
@@ -174,6 +173,24 @@ do
esac
done
# If -b not given, try to derive one instead of just using "build".
if
[
-z
"
$BASE
"
]
;
then
case
`
uname
-s
`
in
Darwin
)
# We only support darwin-x86 now. No ppc available anymore.
BASE
=
darwin
;;
SunOS
)
case
`
uname
-m
`
in
sun4u
)
BASE
=
sparc
;;
i86pc
)
BASE
=
sol-x86
;;
esac
;;
Linux
)
BASE
=
linux
;;
# Add support for FreeBSD and NetBSD? Otherwise default to just build.
*
)
BASE
=
build
;;
esac
fi
echo
base
=
$BASE
bootfiles_dir
=
$SRCDIR
/bootfiles/
$version
if
[
-n
"
$bootfiles
"
]
;
then
for
file
in
$bootfiles
;
do
...
...
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