MantisBT - CMake
View Issue Details
0012143CMakeModulespublic2011-05-02 07:192011-06-18 07:40
Stuart Henderson 
Brad King 
normalminoralways
closedfixed 
amd64OpenBSD4.9-current
CMake 2.8.4 
CMake 2.8.5CMake 2.8.5 
0012143: use `arch -s' for CMAKE_HOST_SYSTEM_PROCESSOR on OpenBSD
On OpenBSD `uname -p' returns a long descriptive name for the processor e.g.

$ shmux -c "uname -p" mala zephyr sym kaffir
  mala: 7447A (Revision 0x102)
   sym: AMD Opteron(tm) Processor 146
kaffir: i80219 600MHz step A-0 (XScale core)
zephyr: Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz

This is used to populate CMAKE_HOST_SYSTEM_PROCESSOR. Programs making use of this variable expect short names of the cpu type e.g. i386. On OpenBSD this is best obtained with `arch -s'.

$ shmux -c "arch -s" mala zephyr sym kaffir
  mala: powerpc
   sym: amd64
zephyr: amd64
kaffir: arm
No tags attached.
? patch-Modules_CMakeDetermineSystem_cmake (1,518) 2011-05-02 07:19
https://public.kitware.com/Bug/file/3843/patch-Modules_CMakeDetermineSystem_cmake
Issue History
2011-05-02 07:19Stuart HendersonNew Issue
2011-05-02 07:19Stuart HendersonFile Added: patch-Modules_CMakeDetermineSystem_cmake
2011-05-02 10:47Brad KingAssigned To => Brad King
2011-05-02 10:47Brad KingStatusnew => assigned
2011-05-02 10:47Brad KingNote Added: 0026300
2011-05-02 10:47Brad KingStatusassigned => closed
2011-05-02 10:47Brad KingResolutionopen => fixed
2011-06-18 07:40David ColeFixed in Version => CMake 2.8.5
2011-06-18 07:40David ColeTarget Version => CMake 2.8.5

Notes
(0026300)
Brad King   
2011-05-02 10:47   
Fixed, thanks:

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0bfabf96 [^]