View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000426 | CMake | public | 2003-12-10 15:28 | 2003-12-29 15:16 | |||||
Reporter | Ian Scott | ||||||||
Assigned To | Brad King | ||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000426: CMAKE_SYSTEM_PROCESSOR unknown and inconsistent | ||||||||
Description | The CMAKE_SYSTEM_PROCESSOR variable as calculated by CMakeDetermineSystem.cmake has a value of x86 on my Windows box. On my Linux box it has a value "unknown" This is probably due to the fact that uname -p returns -p on my platform. arch and uname -m return "i686". This is apparently common in many distributions http://www.cs.helsinki.fi/linux/linux-kernel/2002-10/0512.html [^] A solution would be to try uname -m if uname -p returns "unknown" However, there is still a problem. CMAKE_SYSTEM_PROCESSOR is not consistently named across platforms. It would be useful to pick a name scheme and fit everything into it. I think it would preferable like to distinguish between a i386 and i686, etc. e.g. in order to switch in efficient MMX code. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0000417) System Admin (reporter) 2003-12-29 14:27 |
Checking in Modules/CMakeDetermineSystem.cmake; /cvsroot/CMake/CMake/Modules/CMakeDetermineSystem.cmake,v <-- CMakeDetermineSystem.cmake new revision: 1.10; previous revision: 1.9 done |
(0000420) Brad King (manager) 2003-12-29 15:16 |
Fix has been merged to 1.8 branch for 1.8.3 release. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |