MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0009093 | CMake | Modules | public | 2009-06-02 06:07 | 2010-09-09 23:50 | |||||
Reporter | Marcel Loose | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | minor | Reproducibility | sometimes | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | CMake-2-6 | |||||||||
Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | |||||||
Summary | 0009093: FindMPI sometimes fails because it checks for non-existing libraries | |||||||||
Description | FindMPI sometimes fails because it checks for non-existing libraries. This happens when the variable MPI_LIBNAMES contains strings that contain a "-l", which are not library names. For example: "/bgsys/drivers/V1R3M0_460_2008-081112P/ppc/gnu-linux/bin/powerpc-bgp-linux-g++" produces "inux/bin/powerpc-bgp-linux-g++" as library name to check for. The culprit is in line 205 of FindMPI.cmake: string(REGEX MATCHALL "-l([^\" ]+|\"[^\"]+\")" MPI_LIBNAMES "${MPI_LINK_CMDLINE}") I don't know how this can be solved elegantly with the limited regex support in CMake. With full regex support I would probably try to use a word-boundary check. | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | FindMPI.cmake.patch (3,481) 2009-06-03 04:16 https://public.kitware.com/Bug/file/2295/FindMPI.cmake.patch FindMPI.cmake.patch2 (3,750) 2009-10-22 09:30 https://public.kitware.com/Bug/file/2587/FindMPI.cmake.patch2 0001-FindMPI-Parse-mpicc-flags-more-carefully-9093.patch (2,836) 2010-06-25 09:11 https://public.kitware.com/Bug/file/3209/0001-FindMPI-Parse-mpicc-flags-more-carefully-9093.patch | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2009-06-02 06:07 | Marcel Loose | New Issue | ||||||||
2009-06-02 17:37 | Marcel Loose | Note Added: 0016608 | ||||||||
2009-06-03 04:16 | Marcel Loose | File Added: FindMPI.cmake.patch | ||||||||
2009-06-03 04:16 | Marcel Loose | Note Added: 0016609 | ||||||||
2009-07-18 02:12 | Philip Lowman | Status | new => assigned | |||||||
2009-07-18 02:12 | Philip Lowman | Assigned To | => Douglas Gregor | |||||||
2009-10-22 09:30 | Marcel Loose | File Added: FindMPI.cmake.patch2 | ||||||||
2009-10-22 09:30 | Marcel Loose | Note Added: 0018174 | ||||||||
2010-06-24 17:09 | Alex Neundorf | Assigned To | Douglas Gregor => Brad King | |||||||
2010-06-24 17:10 | Alex Neundorf | Note Added: 0021160 | ||||||||
2010-06-24 17:10 | Alex Neundorf | Status | assigned => closed | |||||||
2010-06-24 17:10 | Alex Neundorf | Resolution | open => fixed | |||||||
2010-06-24 17:12 | Brad King | Note Added: 0021161 | ||||||||
2010-06-24 17:12 | Brad King | Status | closed => feedback | |||||||
2010-06-24 17:12 | Brad King | Resolution | fixed => reopened | |||||||
2010-06-24 17:13 | Brad King | Status | feedback => closed | |||||||
2010-06-24 17:13 | Brad King | Resolution | reopened => fixed | |||||||
2010-06-25 04:13 | Marcel Loose | Note Added: 0021164 | ||||||||
2010-06-25 04:13 | Marcel Loose | Status | closed => feedback | |||||||
2010-06-25 04:13 | Marcel Loose | Resolution | fixed => reopened | |||||||
2010-06-25 09:11 | Brad King | File Added: 0001-FindMPI-Parse-mpicc-flags-more-carefully-9093.patch | ||||||||
2010-06-25 09:12 | Brad King | Note Added: 0021167 | ||||||||
2010-06-25 10:47 | Brad King | Relationship added | has duplicate 0010312 | |||||||
2010-06-25 14:28 | Brad King | Note Added: 0021176 | ||||||||
2010-06-25 14:28 | Brad King | Status | feedback => closed | |||||||
2010-06-25 14:28 | Brad King | Resolution | reopened => fixed | |||||||
2010-08-31 17:59 | David Cole | Target Version | => CMake 2.8.3 | |||||||
2010-09-09 23:50 | David Cole | Fixed in Version | => CMake 2.8.3 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|