XML Profiles
XML Profile Location
The ib_profile.xml file is located in the IncrediBuild installation folder at the following path: /opt/incredibuild/data/ib_profile.xml
This is the default configuration file that is used in every build. This instance of the file is a “read-only” file and should not be modified, since during an upgrade of IncrediBuild, this file will be overwritten. If you wish to edit the profile file, you will need to create a copy of the file and save it in one of the following locations:
- Project directory ($PWD/ib_profile.xml) - This file is in the working directory of the project being built. It will only be used when running a build from this directory.
- Home directory ($HOME/.ib/ib_profile.xml) - This file is in the home directory of the user. It will be used by every build that is run by the user.
- Machine directory (/etc/default/ib_profile.xml) - This file will be used in every build that is running on this machine.
If there are multiple instances of the profile configuration that include different configurations, IncrediBuild will use the configuration of the most specific location. For example, it will give preference to the configuration of the project directory over the ones in the home or machine directories.
Custom Profile Configuration
To edit the profile configuration file:
- Locate the default profile configuration file - /opt/incredibuild/data/ib_profile.xml.
- Copy the file and paste it on one or more of the locations described above (e.g. project directory, home directory, etc…).
- Add the names of the tasks/processes that should be handled locally only (local_only), distributed remotely (allow_remote) and intercepted (Intercepted) followed by the relevant attribute.
Examples
Local only example:
<processes>
<process filename="mylinker" type="local_only" />
</processes>
Allow remote example:
<processes>
<process filename="mycompiler" type="allow_remote" />
</processes>
Custom Build Executions
IncrediBuild for Linux Guide: