The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=15147 ====================================================================== Reported By: Felix Geyer Assigned To: ====================================================================== Project: CMake Issue ID: 15147 Category: Modules Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2014-09-10 08:55 EDT Last Modified: 2014-09-10 08:55 EDT ====================================================================== Summary: CMAKE_HOST_SYSTEM_PROCESSOR not detected on GNU/Hurd Description: CMAKE_HOST_SYSTEM_NAME is "unknown" on Debian GNU/Hurd as uname -p prints "unknown".
"uname -m" works and returns i686-AT386. I guess it's usually expected to be i[3-6]86 on x86 but changing what the OS reports doesn't seem like the right thing to do. Attached is a patch that switches the uname call to "-m" like it does for Linux. I opted for an exact match for "GNU" because there is also a Debian "GNU/kFreeBSD" architecture. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-09-10 08:55 Felix Geyer New Issue 2014-09-10 08:55 Felix Geyer File Added: host_system_processor_gnu.diff ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers