| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| 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 | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0024334) Brad King (manager) 2010-12-28 12:23 |
How does the patch in 428e0e0a+0001-Recognize-the-Texas-Instruments-DSP-compiler-11645.patch look? |
|
(0024335) Wojciech Migda (reporter) 2010-12-28 13:47 |
That's exactly what I meant. Thank you. |
|
(0024336) Brad King (manager) 2010-12-28 14:03 |
Thanks. Applied: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f1392dc9 [^] |
| Notes |
| 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 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |