Software Archive
Read-only legacy content
17060 Discussions

Visual Studio 2010 + Intel Composer 2011 XE always compiles every file in my source

Oren
Beginner
397 Views
Problem: Visual Studio 2010 and Intel Composer XE 2011 (trial) always recompile *every* source file in my solution even when I have only changed a small subset.
Steps to reproduce:
  1. Build project, build log*: http://pastebin.com/2qHc8zxA
  2. Add a empty line to a single source file (not a header)
  3. Build project, build log*: http://pastebin.com/X1xfm4Gy
Expect outcome: only that source file is recompiled, as I click "build" not "rebuild"
Actual outcome: all files are recompiled.
The build logs show tons of errors but it's hard to grok which are relevant and which aren't.
Thanks in advance for looking it over ...
* Sanitized to replace my name with $USER, the project name with $PROJECT and the source files with $SOURCE_FILE_# for each unique .cpp.
0 Kudos
5 Replies
Oren
Beginner
397 Views
Bump for a little loving? It's quite irritating to have builds take forever when you just tweak a single file.
0 Kudos
Sukruth_H_Intel
Employee
397 Views
Hi Oren,

You can change the followingOptions:
Under Tools / Options / Projects and Solutions / Build and Run, choose "On run, when projects are out of date: Never build". Then, manually build the project only where sourcecode has been editedand finally run the startup project.

Hope it will help you.

Thanks and Regards,
Sukruth.H.V
0 Kudos
Michael_V
Beginner
397 Views

Any chance of finding a real fix for this issue? The suggested work-around leaves a lot to be desired - most developers like to trust their tools to properly build projects. The attached sample project exhibits the issue. It has two source files - if either is touched the whole project rebuilds. This only happens when building for x64 using Intel Compiler XE 12 tool set. It also seems that this has only started happening recently - perhaps a recent VS2010 update has caused it? I'm on Win7...

0 Kudos
msolus
Beginner
397 Views
I installed the latest version of Parallel Studio (XE 2011 SP1) and the problem still persists.
0 Kudos
VADIM_G_Intel
Employee
397 Views
Hi,
Please, take a look at
http://software.intel.com/en-us/forums/showthread.php?t=84607&p=2#159392
I guess it's the same problem.
0 Kudos
Reply