On Thu, Feb 20, 2014 at 11:48:33PM +0100, Johan Hake wrote: > > On Feb 20, 2014 9:18 PM, "Anders Logg" <[email protected]> wrote: > > > > On Thu, Feb 20, 2014 at 03:35:58PM +0100, Anders Logg wrote: > > > On Thu, Feb 20, 2014 at 02:53:51PM +0100, Anders Logg wrote: > > > > On Thu, Feb 20, 2014 at 08:19:09AM +0100, Anders Logg wrote: > > > > > On Wed, Feb 19, 2014 at 08:11:19PM -0800, Garth N. Wells wrote: > > > > > > What’s the status of the FFC and UFC merge? It looks like the files > > > > > > have been merged, but the build system in the FFC repo doesn't > > > > > > handle the UFC installation. Is this being worked on? > > > > > > > > > > I'm working on it when I get a chance. I have a bunch of meetings > > > > > today and it looks like I won't be able to work on it again until > > > > > Monday. > > > > > > > > > > This needs to be done: > > > > > > > > > > - Merge the contents of ufc-merge-into-ffc/setup.py into setup.py in a > > > > > good way > > > > > > > > > > - Merge documentation (contents of doc directories) > > > > > > > > > > - Renaming utils as suggested by Martin > > > > > > > > > > - Handle the licensing issue. Perhaps an exception can be made as GCC > > > > > does: http://www.gnu.org/licenses/gcc-exception-3.1.html > > > > > This was suggested by Marco Morandini. > > > > > > > > I'm working on the installation right now. > > > > > > I have done some initial work. Feel free to have a look. Otherwise I > > > will continue later tonight. > > > > Merge is mostly in place now, but I'm having trouble with some final issues: > > > > 1. JIT compilation is failing with unknown std::shared_ptr so somehow > > the CXXFLAGS are not set properly. > > > > 2. The _ufc.so is installed directly under site-packages. (And why is > > it named with an underscore?) > > SWIG convention. There should be an ufc.py that imports the _ufc.so module.
ok. But still the problem is that _ufc.so is installed directly under site-packages. I believe it should go into the UFC directory. ./lib/python2.7/site-packages/_ufc.so ./lib/python2.7/site-packages/ufc ./lib/python2.7/site-packages/ufc/ufc.pyc ./lib/python2.7/site-packages/ufc/ufc.py ./lib/python2.7/site-packages/ufc/__init__.pyc ./lib/python2.7/site-packages/ufc/__init__.py This is the same problem Johannes had before. I solved this by adding the flag ext_package= to setup, but that does not seem to work when there are multiple extensions as we have for FFC. -- Anders _______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
