Question
When attempting to use parallel builds with the command-line make tool, using the -j [N] or --jobs [N] switch, the build sporadically fails with errors, such as:
[Error ea1184] "command-line":1 The assembler was unable to locate the following .xml file:
'C:\Program Files (x86)\Analog Devices\VisualDSP 5.0\System\ArchDef\ADSP-21371-compiler.xml'.
Or the file might be corrupted. Check the -proc option on the command-line and the contents of the .xml file.
Are parallel builds supported?
====================================
Answer
Support for parallel builds using the -j/--jobs switch was introduced in VisualDSP++ 5.1. If you are encountering this error you will need to upgrade your VisualDSP++ installation. The latest release is available on the VisualDSP++ Product Page.
Prior to this release parallel builds were not supported, and an instance of the build tools may lock resources required by other instances, causing them to fail. On these older releases, the error is intermittent, and larger projects will typically build over subsequent attempts.
For the CrossCore Embedded Studio version of this FAQ, follow this link:
FAQ: Support for Parallel Builds in CrossCore Embedded Studio