Update of /cvsroot/sbcl/sbcl
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv14931
Modified Files:
INSTALL NEWS make.sh version.lisp-expr
Log Message:
1.0.43.10: make.sh now accepts --dynamic-space-size=<size> option
...so users can build SBCL with the right default without
touching source.
Fixes lp#383222.
Index: INSTALL
===================================================================
RCS file: /cvsroot/sbcl/sbcl/INSTALL,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- INSTALL 15 Aug 2010 13:59:00 -0000 1.34
+++ INSTALL 30 Sep 2010 08:36:38 -0000 1.35
@@ -126,6 +126,15 @@
This also sets the default SBCL_HOME to prefix/lib/sbcl/ for the
built binaries.
+ To configure SBCL with a non-standard default dynamic-space size,
+ use the --dynamic-space-size option:
+
+ $ sh make.sh --dynamic-space-size=1Gb
+ $ sh make.sh --dynamic-space-size=500Mb
+
+ If mega- or gigabytes are not specified, the number is taken to be
+ in megabytes. The standard default is platform specific.
+
If you don't already have an SBCL binary installed as "sbcl" on your
system, you'll need to tell make.sh what Lisp to use as the
cross-compilation host. For example, to use CMUCL (assuming has
Index: NEWS
===================================================================
RCS file: /cvsroot/sbcl/sbcl/NEWS,v
retrieving revision 1.1817
retrieving revision 1.1818
diff -u -d -r1.1817 -r1.1818
--- NEWS 30 Sep 2010 08:33:40 -0000 1.1817
+++ NEWS 30 Sep 2010 08:36:38 -0000 1.1818
@@ -4,6 +4,8 @@
external-format for its :INPUT, :OUTPUT, AND :ERROR :STREAMs.
* enhancement: ALLOCATION-INFORMATION also provides the page the object
resides on.
+ * enhancement: default dynamic-space size can be configured at build-time
+ without touching source, using the --dynamic-space-size argument to make.sh.
* bug fix: compiler failed to derive the result-type of MAKE-ARRAY as
(AND VECTOR (NOT SIMPLE-ARRAY)) when appropriate. (lp#309130)
* bug fix: (THE (VALUES ...)) in LOAD-TIME-VALUE caused a compiler-error.
Index: make.sh
===================================================================
RCS file: /cvsroot/sbcl/sbcl/make.sh,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- make.sh 18 Aug 2010 14:56:59 -0000 1.56
+++ make.sh 30 Sep 2010 08:36:38 -0000 1.57
@@ -71,6 +71,9 @@
--xc-host=)
$optarg_ok && SBCL_XC_HOST=$optarg
;;
+ --dynamic-space-size=)
+ $optarg_ok && SBCL_DYNAMIC_SPACE_SIZE=$optarg
+ ;;
-*)
bad_option "Unknown command-line option to $0: \"$option\""
;;
@@ -118,6 +121,12 @@
Default prefix is: /usr/local
+ --dynamic-space-size=<size> Specify default dynamic-space size.
+
+ If not provided, the default is platform-specific. <size> is
+ taken to be megabytes unless explicitly suffixed with Gb in
+ order to specify the size in gigabytes.
+
--xc-host=<string> Specify the Common Lisp compilation host.
The string provided should be a command to invoke the
@@ -155,9 +164,10 @@
# Apparently option parsing succeeded. Print out the results.
echo "//Options: --prefix='$SBCL_PREFIX' --xc-host='$SBCL_XC_HOST'"
-# Save prefix for make and install.sh.
mkdir -p output
+# Save prefix for make and install.sh.
echo "SBCL_PREFIX='$SBCL_PREFIX'" > output/prefix.def
+echo "$SBCL_DYNAMIC_SPACE_SIZE" > output/dynamic-space-size.txt
# FIXME: Tweak this script, and the rest of the system, to support
# a second bootstrapping pass in which the cross-compilation host is
Index: version.lisp-expr
===================================================================
RCS file: /cvsroot/sbcl/sbcl/version.lisp-expr,v
retrieving revision 1.5036
retrieving revision 1.5037
diff -u -d -r1.5036 -r1.5037
--- version.lisp-expr 30 Sep 2010 08:34:41 -0000 1.5036
+++ version.lisp-expr 30 Sep 2010 08:36:38 -0000 1.5037
@@ -17,4 +17,4 @@
;;; checkins which aren't released. (And occasionally for internal
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.43.9"
+"1.0.43.10"
|