Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
7679 Discussions

ICC XE 13.0 fails to recompile only changed files on "build" command in MSVC

Marián__VooDooMan__M
New Contributor II
171 Views

My environment:

MSVC 2010
ICC XE 13.0
Quad core Intel CPU
using compile flags "/MP" and "/Gm".

when link phase dies because *.pdb file is in use, so it could not be overwritten, I close this file, and hit "F5" to try again. ICC is not honoring "/Gm" flag, instead, it re-compiles whole (rather big) project, over again, which lasts for another wasteful 10 minutes of waiting, though, only link is required.

The issue is still there, when I make a change to single .cpp unit, it re-compiles the whole solution.

This issue is easily to reproduce, so I will not post the test case.

0 Kudos
7 Replies
Marián__VooDooMan__M
New Contributor II
171 Views
I should mention I am using PCH.
Marián__VooDooMan__M
New Contributor II
171 Views
It is rebuilding all .cpp units, which is odd... some .cpp (and their include headers) doesn't change, but it is recompiling.
th_-_IPACS_Developer
171 Views
We encounter the same problem. We use Visual Studio 2012. Our projects always does a full rebuild when changing only one file. When I switch back the project to use the Visual Studio 2012 compiler, everything works fine. Switching to the Intel Compiler always results in a full rebuild, no matter what and where I apply changes. Environment: WIN7x64 ULTIMATE MSVC 2012 ICC XE 13.0 Hexa core Intel CPU using compile flags "/MP" but no precompiled headers. Is this a known issue or any hints on how to correct this?
JenniferJ
Moderator
171 Views
Hello, This issue has been reported and fixed. The fix will be available in the 13.0 update 1. The update 1 should be available in about one or two month. Jennifer
th_-_IPACS_Developer
171 Views
Hello Jennifer, thank you for this information.
Marián__VooDooMan__M
New Contributor II
171 Views

th - IPACS Developer wrote:

Hello Jennifer,
thank you for this information.

Greetings, Jennifer, I thank as well as this bug was annoying (and time-consuming for large projects). EDIT: @"th - IPACS Developer": Though I am on MSVC 2010 Ultimate (x64 project) @ Vista Ultimate x64

Marián__VooDooMan__M
New Contributor II
171 Views

jljiang wrote:

Hello,
This issue has been reported and fixed. The fix will be available in the 13.0 update 1. The update 1 should be available in about one or two month.

Jennifer

Hello Jennifer, I can confirm the issue is resolved/fixed in the latest (non-beta) ICC 13.0 . Even if I am using /MP switch in MSVC 2010.

Reply