View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014471 | CMake | CMake | public | 2013-10-09 11:37 | 2014-03-05 09:58 | ||||
Reporter | Christian Weigel | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | Windows | OS Version | 7 | |||||
Product Version | CMake 2.8.11.2 | ||||||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||||||
Summary | 0014471: -T switch with Intel Compiler does not set CMAKE_CXX_COMPILER properly | ||||||||
Description | When specifying the Intel Compiler platform toolset CMAKE_CXX_COMPILER is still set to the MSVC compiler when cmake is run inside the intel compiler command prompt. | ||||||||
Steps To Reproduce | Start Intel Compiler command prompt (e.g. C:\Windows\SysWOW64\cmd.exe /E:ON /V:ON /K ""C:\Program Files (x86)\Intel\Composer XE 2013\bin\ipsxe-comp-vars.bat" ia32 vs2010") run cmake -T"Intel C++ Compiler XE 13.0" <src_path> | ||||||||
Additional Information | when verbosing CMAKE_CXX_COMPILER the output of the first run is: -- Building for: Visual Studio 10 -- The C compiler identification is Intel 13.1.0.20130607 -- The CXX compiler identification is Intel 13.1.0.20130607 -- Check for working C compiler using: Visual Studio 10 -- Check for working C compiler using: Visual Studio 10 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler using: Visual Studio 10 -- Check for working CXX compiler using: Visual Studio 10 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- CMAKE_CXX_COMPILER=c:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin /cl.exe | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | 0001-VS-Fix-CMAKE_-LANG-_COMPILER-detection-with-Intel-to.patch [^] (967 bytes) 2013-10-09 13:52 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0034086) Brad King (manager) 2013-10-09 13:53 |
Please try "0001-VS-Fix-CMAKE_-LANG-_COMPILER-detection-with-Intel-to.patch". FYI, for the VS IDE generator you do not actually need to launch from the build environment. |
(0034098) Brad King (manager) 2013-10-10 09:05 |
Patch applied: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d10a5971 [^] Please try it out and report back here. Thanks. |
(0034101) Christian Weigel (reporter) 2013-10-11 07:24 |
Applying the patch to v.2.8.11.2 works: Variable is now set to: -- CMAKE_CXX_COMPILER=C:/Program Files (x86)/Intel/Composer XE 2013/bin/ia32/icl .exe I did NOT check the current development version, linked in note 0034098. |
(0034102) Brad King (manager) 2013-10-11 08:39 |
Great, thanks for testing. |
(0034153) Brad King (manager) 2013-10-18 10:04 |
The patch is now in master as this commit: VS: Fix CMAKE_<LANG>_COMPILER detection with Intel toolset (0014471) http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a6fd17ce [^] |
(0035285) Robert Maynard (manager) 2014-03-05 09:58 |
Closing resolved issues that have not been updated in more than 4 months |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-10-09 11:37 | Christian Weigel | New Issue | |
2013-10-09 13:52 | Brad King | Assigned To | => Brad King |
2013-10-09 13:52 | Brad King | Status | new => assigned |
2013-10-09 13:52 | Brad King | Target Version | => CMake 3.0 |
2013-10-09 13:52 | Brad King | File Added: 0001-VS-Fix-CMAKE_-LANG-_COMPILER-detection-with-Intel-to.patch | |
2013-10-09 13:53 | Brad King | Note Added: 0034086 | |
2013-10-10 09:05 | Brad King | Note Added: 0034098 | |
2013-10-11 07:24 | Christian Weigel | Note Added: 0034101 | |
2013-10-11 08:39 | Brad King | Note Added: 0034102 | |
2013-10-11 08:39 | Brad King | Status | assigned => closed |
2013-10-11 08:39 | Brad King | Resolution | open => fixed |
2013-10-11 08:39 | Brad King | Fixed in Version | => CMake 3.0 |
2013-10-18 10:04 | Brad King | Note Added: 0034153 | |
2013-10-18 10:04 | Brad King | Status | closed => resolved |
2014-03-05 09:58 | Robert Maynard | Note Added: 0035285 | |
2014-03-05 09:58 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |