On Tue, 13 Oct 2015, Satish Balay wrote:

> [This mode is deprecated - and not properly tested - and I see its currenty 
> broken]

>>>>>>>>>>>>
Executing: ['/usr/bin/cmake', '--version']
stdout:
cmake version 3.3.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
              Could not parse CMake version: cmake version 3.3.2
CMake suite maintained and supported by Kitware (kitware.com/cmake)., disabling 
cmake build option
          CMake configuration was unsuccessful
<<<<<<<<<<<<<

Jed,

If this looks ok - I can push to maint.
[works for me with cmake 2.8.12 and 3.3.2]

Satish

--------
diff --git a/config/cmakeboot.py b/config/cmakeboot.py
index 64accff..5818c14 100755
--- a/config/cmakeboot.py
+++ b/config/cmakeboot.py
@@ -77,7 +77,7 @@ class PETScMaker(script.Script):
 
    output,error,retcode = self.executeShellCommand([self.cmake.cmake, 
'--version'], checkCommand=noCheck, log=log)
    import re
-   m = re.match(r'cmake version (.+)$', output)
+   m = re.match(r'cmake version (.+)', output)
    if not m:
        self.logPrint('Could not parse CMake version: %s, disabling cmake build 
option' % output)
        return False

Reply via email to