[petsc-users] petsc cmake config - BUILD_SHARED_LIBS
Satish Balay
balay at mcs.anl.gov
Tue Oct 13 12:54:22 CDT 2015
pushed to maint.
thanks,
satish
On Tue, 13 Oct 2015, Jed Brown wrote:
> Satish Balay <balay at mcs.anl.gov> writes:
> > If this looks ok - I can push to maint.
> > [works for me with cmake 2.8.12 and 3.3.2]
>
> That's fine. $ only matches at the end of the string unless flags=re.M
> is set.
>
> > --------
> > 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
>
>
More information about the petsc-users
mailing list