[cmake-developers] [PATCH] Fix ProcessorCount for HPUX 11iv3

2014-06-10 Thread Eric Berge
A patch to fix obtaining the number of processors in the modified output of the machinfo command for HPUX 11iv3 (at least for IA64) is attached. Eric 0001-Fix-ProcessorCount-for-HPUX-11iv3.patch Description: Binary data -- Powered by www.kitware.com Please keep messages on-topic and check

[cmake-developers] [PATCH] Proposed HPUX Build Fix

2014-05-23 Thread Eric Berge
Compilation of cmake failed on HPUX (master as well as v2.8.12.2), at least on my HPUX systems (uname info: B.11.31 U ia64 1105973567). I did not write the supplied patch but found it online at: http://vouters.dyndns.org/tima/HP-UX-IA64-MySQL-Building_and_Installing_MySQL_on_HP-UX.html but it

[cmake-developers] [PATCH] Retry Rename on Windows ERROR_SHARING_VIOLATION

2014-05-13 Thread Eric Berge
Attached is a patch which simply adds ERROR_SHARING_VIOLATION to the set of errors (currently including only ERROR_ACCESS_DENIED) to the errors that cause a rename (MoveFile) on Windows to retry. The condition was observed when two renames to the same target file name were happening

[cmake-developers] Cannot restore timestamp error due to Sharing Violation during Rename on Windows

2014-05-12 Thread Eric Berge
I was seeing an error with the 2.8.2.12 code, so I did some testing with last week's latest 3.0 code and am still seeing it, which are errors of the form: CUSTOMBUILD : CMake error : Cannot restore timestamp

Re: [cmake-developers] Cannot restore timestamp error due to Sharing Violation during Rename on Windows

2014-05-12 Thread Eric Berge
It really is bogus that this doesn't work. Both files share everything (especially DELETE!) and replaceIfExists is true. It should just work. That said, the patch does not handle the ERROR_SHARING_VIOLATION case. I'm going to rebuild with that and I expect that to help as the traces did

[cmake-developers] Fix for Visual Studio /MANIFESTUAC:NO linker option

2014-05-07 Thread Eric Berge
The attached patch is intended to fix the Visual Studio 2010, 2012, and 2013 project generation for the /MANIFESTUAC:NO option. I'd like to request this for the master branch as well as a 2.X pushback. (Note that my testing of this was with both the May-07-2014 master code as well as a patch

Re: [cmake-developers] Fix for Visual Studio /MANIFESTUAC:NO linker option

2014-05-07 Thread Eric Berge
Thanks, sounds good! By the way, I think there is an existing bug out there referring to this problem: http://public.kitware.com/Bug/view.php?id=12963 Eric -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware