The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=12143 ====================================================================== Reported By: Stuart Henderson Assigned To: ====================================================================== Project: CMake Issue ID: 12143 Category: Modules Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2011-05-02 07:19 EDT Last Modified: 2011-05-02 07:19 EDT ====================================================================== Summary: use `arch -s' for CMAKE_HOST_SYSTEM_PROCESSOR on OpenBSD Description: 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 ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-05-02 07:19 Stuart HendersonNew Issue 2011-05-02 07:19 Stuart HendersonFile Added: patch-Modules_CMakeDetermineSystem_cmake ====================================================================== _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
