Comment 10 for bug 1134634

Revision history for this message
Kent-Andre Mardal (kent-and) wrote : Re: [Bug 1134634] Re: instant cmake build does not allow custom extension module with include_dirs, libraries etc...

Instant has now been updated so that you can send in additional files. See:
the brach:
lp:~kent-and/instant/cmake-includedirs<https://code.launchpad.net/%7Ekent-and/instant/cmake-includedirs>

Kent

On 6 March 2013 15:53, Chaffra Affouda <email address hidden> wrote:

> On 03/06/2013 07:21 AM, Johannes Ring wrote:
> > @Chaffra: Do have a recent version of UFC from the development branch?
> >
> > ** Changed in: instant
> > Milestone: None => 1.2.0
> >
> > ** Changed in: instant
> > Assignee: (unassigned) => Kent-Andre Mardal (kent-and)
> >
> > ** Changed in: instant
> > Status: New => In Progress
> >
> > ** Changed in: instant
> > Importance: Undecided => Medium
> >
> I do. But it still did not work. By upgrading ufc I also had to upgrade
> ffc and others... I'll make sure I am not missing anything because my
> programs no longer converge. But as fas as I know it did not work. When
> I get up and running today I'll send out my compile.log.
>
> --
> You received this bug notification because you are a member of Instant
> Core Team, which is subscribed to Instant.
> https://bugs.launchpad.net/bugs/1134634
>
> Title:
> instant cmake build does not allow custom extension module with
> include_dirs, libraries etc...
>
> Status in Instant:
> In Progress
>
> Bug description:
> See Dolfin Question #222899
>
> I used to be able to feed instant.build.build_module with the
> include_dirs variable to look for headers in a non-default location.
> After merging with the trunk version of instant this no longer works.
>
> See below, instant is missing an extra -I flag for my added
> include_dirs
>
> /usr/bin/c++
> -D_instant_module_b64000edc5326b1f061009cece574086bda73d8b_EXPORTS -fPIC
> -I/usr/local/include -I/usr/include/python2.7
> -I/tmp/tmp6Uu1ly2013-2-26-12-08_instant/instant_module_b64000edc5326b1f061009cece574086bda73d8b
> -o
> CMakeFiles/_instant_module_b64000edc5326b1f061009cece574086bda73d8b.dir/instant_module_b64000edc5326b1f061009cece574086bda73d8bPYTHON_wrap.cxx.o
> -c
> /tmp/tmp6Uu1ly2013-2-26-12-08_instant/instant_module_b64000edc5326b1f061009cece574086bda73d8b/instant_module_b64000edc5326b1f061009cece574086bda73d8bPYTHON_wrap.cxx
>
> /tmp/tmp6Uu1ly2013-2-26-12-08_instant/instant_module_b64000edc5326b1f061009cece574086bda73d8b/instant_module_b64000edc5326b1f061009cece574086bda73d8bPYTHON_wrap.cxx:3103:25:
> fatal error: fermi_dirac.h: No such file or directory
> compilation terminated.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/instant/+bug/1134634/+subscriptions
>