View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009153 | CMake | Modules | public | 2009-06-15 07:50 | 2010-08-11 23:35 | ||||
Reporter | Adriaan de Groot | ||||||||
Assigned To | Philip Lowman | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0009153: FindBoost doesn't handle all compiler specifications | ||||||||
Description | Sun Studio 12 produces a Boost with -sw as compiler string, leading to (e.g.) libboost_program_options-sw-mt-1_36.so ; the FindBoost module the comes with CMake 2.6p4 handles some non-gcc compilers, but not Studio 12. | ||||||||
Additional Information | I've got a patch here somewhere .. basically it does if (CMAKE_COMPILER_MATCHES "SunPro") and sets up the suffix variables correctly. I'll attach it later once I have found it. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | cmake-findboost.diff [^] (574 bytes) 2009-09-18 04:21 [Show Content] | ||||||||
Relationships | |
Relationships |
Notes | |
(0016899) Philip Lowman (developer) 2009-07-18 00:04 |
Thanks for opening the bug report. Please attach the patch and I will check it in. |
(0017600) Philip Lowman (developer) 2009-09-17 23:07 |
Hi, have you been able to find that patch yet? |
(0017603) Adriaan de Groot (reporter) 2009-09-18 04:28 |
Patch now attached; this one is a little more crude and just assumes that on UNIX, if it's not gcc or icc, it must be sunpro. You might improve it by actually checking the compiler name or identifier. |
(0017618) Philip Lowman (developer) 2009-09-19 00:55 |
I didn't notice your comment in additional information. So ${CMAKE_CXX_COMPILER} is equal to "SunPro"? |
(0017650) Adriaan de Groot (reporter) 2009-09-19 16:57 |
CMAKE_CXX_COMPILER_ID, actually. This bit of CMakeLists.txt message(STATUS ${CMAKE_CXX_COMPILER}) message(STATUS ${CMAKE_CXX_COMPILER_ID}) outputs the following path (useless) and ID. -- /opt/SunStudioExpress/bin/CC -- SunPro |
(0017661) Philip Lowman (developer) 2009-09-20 11:34 |
Thanks. I've checked in a fix. Committer: Philip Lowman <philip@yhbt.com> /cvsroot/CMake/CMake/Modules/FindBoost.cmake,v <-- FindBoost.cmake new revision: 1.43; previous revision: 1.42 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-06-15 07:50 | Adriaan de Groot | New Issue | |
2009-07-18 00:04 | Philip Lowman | Note Added: 0016899 | |
2009-07-18 00:04 | Philip Lowman | Assigned To | => Philip Lowman |
2009-07-18 00:04 | Philip Lowman | Status | new => assigned |
2009-09-17 23:07 | Philip Lowman | Note Added: 0017600 | |
2009-09-18 04:21 | Adriaan de Groot | File Added: cmake-findboost.diff | |
2009-09-18 04:28 | Adriaan de Groot | Note Added: 0017603 | |
2009-09-19 00:55 | Philip Lowman | Note Added: 0017618 | |
2009-09-19 16:57 | Adriaan de Groot | Note Added: 0017650 | |
2009-09-20 11:34 | Philip Lowman | Note Added: 0017661 | |
2009-09-20 11:34 | Philip Lowman | Status | assigned => resolved |
2009-09-20 11:34 | Philip Lowman | Resolution | open => fixed |
2010-08-11 23:35 | Philip Lowman | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |