[Openmcl-devel] How to cut down the size of ccl

Gary Byers gb at clozure.com
Thu May 6 15:11:15 UTC 2010


Well, you already mentioned a way to free up 57M.  If you need to free more
disk space ....

On an x86 Darwin system (where IIRC the ccl-1.5 directory contains a fresh
checkout, e.g., no fasls):

[src/ccl-1.5] gb at antinomial> du -ms . *
290	.
12	cocoa-ide
6	compiler
36	contrib
67	darwin-x86-headers
60	darwin-x86-headers64
6	doc
1	dx86cl
16	dx86cl.image
1	dx86cl64
22	dx86cl64.image
8	examples
3	level-0
5	level-1
4	lib
3	library
5	lisp-kernel
1	objc-bridge
1	scripts
2	tools
1	xdump

What you need depends on what you want to do.

If you're only interested in running one or the other of the 32-bit and
64-bit versions, you can delete the kernel, .image, and headers directory
for the other word size.

If you're just interested in compiling and running CL code (without using
CCL's FFI), all that you really need are the kernel and .image file.

If you use ASDF and/or ASDF-INSTALL, they're distributed in the tools directory.

If you want to be able to rebuild CCL from source, then you need the directories
that contain sources (compiler, level-0, level-1, lib, library, lisp-kernel, tools,
and xdump); since these sources also use the FFI to access things defined in
the C runtime library, you also need the headers directory for the platform
and its libc subdirectory; the other subdirectories of the headers directory
contain interfaces for Cocoa and other frameworks that you probably can't
use remotely.

The .images contain source location information that can be helpful for
debugging; even if you don't intended to compile the sources on this machine,
having them available makes that information more useful.

Whether the doc, examples, and contrib directories are more or less important
than the disk space that they require is up to you.




On Thu, 6 May 2010, Leo wrote:

> But I mean the diskspace. I know it is ridiculously small. The machine's
> memory is quite large.
>
> Leo
>
> -- 
> CCL-USER> _
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
>
>



More information about the Openmcl-devel mailing list