Comment 1 for bug 1134634

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

Right, instant is now only using the dolfin cmake configuration file and
ignores the other stuff. We should add back
include_dirs etc. I will try to look at this tomorrow.

Kent

On 27 February 2013 19:19, Chaffra Affouda <email address hidden>wrote:

> Public bug reported:
>
> 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.
>
> ** Affects: instant
> Importance: Undecided
> Status: New
>
> --
> 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:
> New
>
> 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
>