[cmake-developers] [CMake 0015147]: CMAKE_HOST_SYSTEM_PROCESSOR not detected on GNU/Hurd
Mantis Bug Tracker
mantis at public.kitware.com
Wed Sep 10 08:55:04 EDT 2014
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
======================================================================
More information about the cmake-developers
mailing list