MantisBT - CMake
View Issue Details
0010204CMakeCMakepublic2010-01-29 14:052016-06-10 14:31
Pino Toscano 
Bill Hoffman 
normalfeatureN/A
closedmoved 
GNU
CMake-2-8 
 
0010204: More support for GNU/Hurd
As a continuation of 0009873, I'm providing two patches to improve a bit the existing support for GNU/Hurd.

- hurd-platform-id.diff: provide the right identification in the .h/.F templates
- hurd-processor.diff: correctly recognize the processor on Hurd, using the same way used in the autotools' config.guess
No tags attached.
has duplicate 0009873closed Bill Hoffman incomplete platform file for GNU/Hurd 
diff hurd-platform-id.diff (705) 2010-01-29 14:06
https://public.kitware.com/Bug/file/2823/hurd-platform-id.diff
diff hurd-processor.diff (923) 2010-01-29 14:06
https://public.kitware.com/Bug/file/2824/hurd-processor.diff
Issue History
2010-01-29 14:05Pino ToscanoNew Issue
2010-01-29 14:06Pino ToscanoFile Added: hurd-platform-id.diff
2010-01-29 14:06Pino ToscanoFile Added: hurd-processor.diff
2010-02-08 11:09Bill HoffmanNote Added: 0019472
2010-02-08 11:09Bill HoffmanStatusnew => assigned
2010-02-08 11:09Bill HoffmanAssigned To => Bill Hoffman
2010-02-08 12:44Pino ToscanoNote Added: 0019476
2010-02-08 12:45Pino ToscanoNote Edited: 0019476
2010-02-08 14:13Bill HoffmanNote Added: 0019479
2010-07-29 10:32Brad KingRelationship addedhas duplicate 0009873
2010-07-29 10:47Brad KingNote Added: 0021545
2016-06-10 14:27Kitware RobotNote Added: 0041649
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0019472)
Bill Hoffman   
2010-02-08 11:09   
Can you run a nightly dashboard on a hurd machine? If so, I can apply the patches just to make sure they work.
(0019476)
Pino Toscano   
2010-02-08 12:44   
(edited on: 2010-02-08 12:45)
Sure thing, which version would you prefer me to test with my patches applied (this bug and 0009873)? Released 2.8.0 or 2.8 branch from CVS?
Also, which dashboard? "nightly 2.8" or "experimental"?

(0019479)
Bill Hoffman   
2010-02-08 14:13   
Lets do a CVS Nightly first.

You can run the script found here:

http://www.cdash.org/CDash/viewNotes.php?buildid=534524 [^]

1. Save the file cmake_common.cmake on your machine from the above link.

2. create a mymachine.cmake file that includes cmake_common.cmake

Something like this:

# File name: mymachine.cmake
#
# OS: GNU Hurd
# Hardware:
# GPU:

set(CTEST_SITE "mymachine")
set(CTEST_BUILD_NAME "GNU-Hurd-gcc")
set(CTEST_BUILD_CONFIGURATION Release)
set(CTEST_CMAKE_GENERATOR "Unix Makefiles")

set(build_dir "CMake-gnu-hurd")
set(CTEST_DASHBOARD_ROOT "~/Dashboards/My Tests")
set(CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/${build_dir}")

include(${CTEST_SCRIPT_DIRECTORY}/cmake_common.cmake)

Then run ctest -S mymachine.cmake -V. Once that works set it up as a cronjob.
(0021545)
Brad King   
2010-07-29 10:47   
I've published the Modules/Platform/GNU.cmake patch from 0009873 (actually taken from the debian packaging file hurd_platform.diff) to next:

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

so that it does not have to be patched for debian packaging.

We really need a regular dashboard submission to officially support the platform.
(0041649)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.