← Back to team overview

dolfin team mailing list archive

Re: dolfin:error doc string breaks build

 

On Wed, Nov 16, 2011 at 01:04:54PM +0100, Anders Logg wrote:
> On Wed, Nov 16, 2011 at 10:10:38AM +0000, Garth N. Wells wrote:
> > I get
> >
> > [100%] Built target dolfin
> > [100%] Swig source
> > /home/garth/code/fenics/dolfin.d/1.0.d/working/dolfin/swig/docstrings.i:3081:
> > Error: Syntax error in input(1).
> > make[2]: *** [dolfin/swig/dolfinPYTHON_wrap.cxx] Error 1
> > make[1]: *** [dolfin/swig/CMakeFiles/_cpp.dir/all] Error 2
> >
> > How was this not picked up by a local build?
>
> Strange, my branch builds fine here and so does my buildbot:
>
> http://fenicsproject.org:8082/
>
> Could it be a merge problem from when Johan merged his changes?

The problem was that Johan ran generate.py to regenerate the
docstrings and I didn't so the problem never showed up for me or on my
buildbot which does not have that changeset.

When should we run generate.py? It should really be run any time we
change a header file. Is there any way to add a dependency to get
CMake to handle it?

--
Anders


Follow ups

References