[petsc-dev] error with build

Barry Smith bsmith at mcs.anl.gov
Mon Nov 15 15:53:27 CST 2010


   Here is that part of the makefile. So I guess the answer is, yes it should all just work but I don't know why it doesn't. Or maybe it does. It would help if petsc4py was properly in the nightly builds! Or is it?

   Barry



CY_SRC_PXD = $(wildcard src/include/petsc4py/*.pxd)
CY_SRC_PXI = $(wildcard src/PETSc/*.pxi)
CY_SRC_PYX = $(wildcard src/PETSc/*.pyx)
src/PETSc.c: src/petsc4py.PETSc.c
src/petsc4py.PETSc.c: ${CY_SRC_PXD} ${CY_SRC_PXI} ${CY_SRC_PYX}
	${PYTHON} ./conf/cythonize.py



On Nov 15, 2010, at 3:44 PM, Jed Brown wrote:

> On Mon, Nov 15, 2010 at 22:21, Barry Smith <bsmith at mcs.anl.gov> wrote:
> It will run cython the FIRST time after a clone but not after a hg pull. Which is wrong.  I would like to see this code check if it is a .hg repository (for example) and always run cython in that case.
> 
> Is it somehow not possible to write correct Make dependencies for cython?
> 
> Jed




More information about the petsc-dev mailing list