Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Multiple sources on one compiler command-line (parallel build)
  • From: Shiva Sharma <SHIVA.SHARMA@xxxxxxxxxxxx>
  • Date: Tue, 3 Sep 2024 09:37:39 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=u/yhEn4xMsfHXoShFJnsniWib3bSgDBHr4f4v7ZQHYQ=; b=LngGRwYZANBVRfOuTy6AKTLvkXiZa0JnU5lzfq7XWtGM6+c/6unL+WWsmBzPQkwPUy+JV4PBfLDvo9jE98FX/Jm4EKUbwh1k3IemYUcAPjILrw8xGB38gmlMCls5LWcdTRNJT7iOjD3nI2FcJClzci0BWYNPrQS2fvPb7Wte8aeXuzhAE9t17LX+kAogx1vAu/TXwPRHLbAkPl7wH1cmRj5lfES/O0ynl2ITjeQ9TOvc+KL4Q06mLN8Tr2PMobd998PAluwtUXqSFN4J43sGDUkLY8VyQl1QrzQ8zn3SAWpcvpnLxRe95zZ8uQa/Hs8dW+JnhJ0HtfFLZJic817Xag==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=e7dPnQquRY9rThcv0ZYCwDls3jfAdpg3PCSNy4lgk6VLPBgg6QeImYFEtJ4vh/wg8NNjVfy/IoUon5sN0nE1Pm7e4dUZJFunXTBk3kWdYq3RwLh4WR2xUB3Jvk56tEVXh08Dl0GqCiZpZ8mO4LTqaU5WK0yI4aStBaJ/RGgJJbJv4/lW8lWtl+9S3jAPrAWnRbZzo6qhx6fBjUn5+ZQqIpWQNylXeKmODVyP8ayE2So9lZSATWdDi1vB+YuI2tqw9BUMAoUoQaqKNb7HZYWZ1HW9VJQZRUcHybz8HgbFnEBbBRsTIR6qjniA8E1cs54/iGLUD0FOVKKX027Ponnvpg==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev/>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: Adr94Y/0F7udwByySBCt+Znb+cAT/Q==
  • Thread-topic: Multiple sources on one compiler command-line (parallel build)

Hi Team,
 
I wanted to make use of parallelism (function + file level) offered by my custom compiler and hence wanted to provide multiple sources on single compiler command-line. For this, I added ‘multipleOfType’ attribute to be true under the ‘inputType’ and ‘outputType’ for the compiler tool defined in the plugin.xml configuration. I have also added ‘nameProvider’ in the ‘outputType’ for the tool.
 
With these changes I could see that multiple source files successfully being passed on single compiler command-line. But I see following issues:
  1. Selective file build/clean is not working.  It always builds/cleans everything even when using:
  1. Right-click on single source file => ‘Build Selected File(s)’ OR ‘Clean Selected File(s)’
  1. Even when one file is modified and then ‘Build Project’ is clicked, it provides all the files on the command-line to build again.
 
Am I missing something ? Is anything other then ‘multipleOfType’ and ‘nameProvider’ required ?
 
Thanks & Best Regards,
Shiva Sharma
 
 
 

Back to the top