mirror of
https://github.com/roswell/roswell.git
synced 2026-09-10 07:16:17 -04:00
support 'ros dynamic-space-size=4gb build test.ros' to work.
This commit is contained in:
parent
1c8e46de17
commit
73b5b2a460
|
|
@ -27,10 +27,16 @@
|
|||
(loop repeat 4
|
||||
for line = (read-line in)
|
||||
when (ignore-errors (string= line "exec" :end1 4))
|
||||
do (setf opts (parse-argv line))))
|
||||
(roswell:roswell `(,@(when (roswell:verbose) '("-v"))
|
||||
,@impl-argv
|
||||
,opts "-L" ,(or (ros:opt "*lisp")
|
||||
(ros:opt "default.lisp"))
|
||||
do (setf opts (parse-argv line))))
|
||||
(let ((impl (or (ros:opt "*lisp")
|
||||
(ros:opt "default.lisp"))))
|
||||
(roswell:roswell `(,@(when (roswell:verbose) '("-v"))
|
||||
,@impl-argv
|
||||
,@(cond ((find impl '("sbcl" "sbcl-bin" "sbcl32" "sbcl-head") :test 'equal)
|
||||
(append (if (ros:opt "dynamic-space-size")
|
||||
(list (format nil "dynamic-space-size=~A" (ros:opt "dynamic-space-size"))))
|
||||
(if (ros:opt "control-stack-size")
|
||||
(list (format nil "control-stack-size=~A" (ros:opt "control-stack-size")))))))
|
||||
,opts "-L" ,impl
|
||||
"dump" ,@dump-argv "executable" ,(first argv))
|
||||
:interactive nil)))
|
||||
:interactive nil))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue