Previous: Installation, Up: Building With Projects


11.2.10 Distributed support

For large projects the compilation time can become a limitation in the development cycle. To cope with that, GPRbuild supports distributed compilation.

The following attributes can be defined in package Remote:

Build_Slaves
A list of string referencing the remote build slaves to use for the compilation phase. The format is: [protocol://]name.domain[:port].

Where protocol is one of:

rsync
The sources are copied using the external rsync tool.
file
The sources are accessed via a shared directory or mount point.

The default port used to communicate with gprslave is 8484.

Root_Dir:
Root directory of the project's sources. The default value is the project's directory.