MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0011645 | CMake | CMake | public | 2010-12-28 10:56 | 2011-01-12 08:04 |
Reporter | Wojciech Migda | ||||
Assigned To | Brad King | ||||
Priority | low | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | any linux or windows | OS | OS Version | ||
Product Version | CMake 2.8.3 | ||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||
Summary | 0011645: TI DSP compiler ID determination (w/ patch suggestion) | ||||
Description | Currently TI DSP compilers are not handled wrt compiler id detection. This can be achieved for C/C++ by adding following lines into Modules/CMakeCCompilerId.c.in and Modules/CMakeCXXCompilerId.cpp.in files: #elif defined(__TI_COMPILER_VERSION__) # define COMPILER_ID "TI_DSP" This will work since __TI_COMPILER_VERSION__ is predefined by TI DSP compilers (http://focus.ti.com/lit/ug/spru187o/spru187o.pdf [^]) For assembler language the same executable is used (cl6x), thus Modules/CMakeDetermineASMCompiler.cmake can be modified by adding lines: LIST(APPEND CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDORS TI_DSP ) SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_FLAGS_TI_DSP "-h") SET(CMAKE_ASM${ASM_DIALECT}_COMPILER_ID_VENDOR_REGEX_TI_DSP "Texas Instruments") following "GNU assember" recognition sequence. Top lines of TI DSP 'cl6x -h' output are: """ TMS320C6x C/C++ Compiler v6.1.11 Tools Copyright (c) 1996-2009 Texas Instruments Incorporated """ With best regards, Wojciech Migda | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/3591/428e0e0a%2B0001-Recognize-the-Texas-Instruments-DSP-compiler-11645.patch | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-12-28 10:56 | Wojciech Migda | New Issue | |||
2010-12-28 11:41 | Brad King | Assigned To | => Brad King | ||
2010-12-28 11:41 | Brad King | Status | new => assigned | ||
2010-12-28 12:23 | Brad King | File Added: 428e0e0a+0001-Recognize-the-Texas-Instruments-DSP-compiler-11645.patch | |||
2010-12-28 12:23 | Brad King | Note Added: 0024334 | |||
2010-12-28 13:47 | Wojciech Migda | Note Added: 0024335 | |||
2010-12-28 14:03 | Brad King | Note Added: 0024336 | |||
2010-12-28 14:03 | Brad King | Status | assigned => closed | ||
2010-12-28 14:03 | Brad King | Resolution | open => fixed | ||
2011-01-12 08:04 | David Cole | Fixed in Version | => CMake 2.8.4 | ||
2011-01-12 08:04 | David Cole | Target Version | => CMake 2.8.4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|