I think we need to create a string with all these folders and their subfolder dolfin/swig (in swigopts) before calling instant?
Let me know if I should write such a patch, or if you know of better ways to do this. ilmar Ilmar Wilbers wrote: > There have been problems with the demo pde/dg/advection_diffusion/python > on the mac vuildbot for some time now. Instant could not compile this > demo, and the reason is found in > /site-packages/dolfin/compile_functions.py, line 199: > dolfin_include_dir = includes[0] # FIXME: is this safe? > > So this really is not safe, as pkg-config dolfin --cflags shows that the > first include directory is > /Users/ilmarw/local/petsc-2.3.3-p11/bmake/darwin9.2.0-c-debug, hence > instant recieves this directiry and its subfolder dolfin/swig, and will > not be able to locate dolfin.i > > Any ideas on how to pick the correct include folder? > > ilmar > _______________________________________________ > DOLFIN-dev mailing list > [email protected] > http://www.fenics.org/mailman/listinfo/dolfin-dev _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
