Generic Function | Package: excl | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## compile-system

Arguments: system &key recompile no-warn reload silent simulate include-components module-keys

Note: if recompile is `nil` and not all files are in fact recompiled, unnecessary warnings about undefined functions may be signaled. For example, if a module contains file1 and file2, and file1 defines function bar which calls foo and file2 defines function foo and function baz which calls bar, and neither file has been loaded into Lisp, recompiling the module when file1 is up to date and file2 is not will signal a warning that function foo is undefined. Similarly recompiling when file2 is up to date and file1 is not will signal that bar is undefined. Specifying `:recompile t` will supress such warnings.

This generic function compiles (if necessary) each module in system. This function returns `t` if any actions are necessary to bring system up-to-date. If no actions are necessary, then this function returns `nil`.

The value of the recompile keyword argument can be `t` or `nil`. Its default value is `nil`. `t` means recompile all the files even if an up-to-date compiled file already exists. It is recommeded that the value be specified as `t`. Recompiling all files has benefits beyond the supression of bogus warnings mentioned above.

The value of the no-warn keyword argument can be `t` or `nil`. Its default value is `nil`. `t` means do not print warnings of any kind during compilation of the system.

The value of the reload keyword argument can be `t` or `nil`. Its default value is `nil`. `t` means that when a dependency requires that a module be loaded, the module is loaded even if the most up-to-date version has been previously loaded.

The value of the silent keyword argument can be `t` or `nil`. Its default value is `nil`. `t` means do not print anything while performing the operation. A true value of simulate overrides `:silent t`. If the value of this keyword argument is `t`, then the functionality is similar to make -s.

The value of the simulate keyword argument can be `t` or `nil`. `t` means print the list of actions that would be taken if the operations were to be performed at this time, but do not actually perform the operations. If the value of this keyword argument is `t`, then the functionality is similar to make -n.

The value of the include-components keyword argument can be `t` or `nil`. The default value is `t`, which means perform a compile-system operation on all component systems of system. A value of `nil` means ignore component systems.

The value of the module-keys keyword should be a list of keywords and arguments to be passed as a keyword list to the compile-module-action method for each module-group.

Although the home package of the symbol naimg this operator is the excl package, it is also exported from the defsystem package.

See also defsystem.htm for general information on the defsystem facility in Allegro CL.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version