instant cmake build does not allow custom extension module with include_dirs, libraries etc...
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Instant |
Fix Released
|
Medium
|
Kent-Andre Mardal |
Bug Description
See Dolfin Question #222899
I used to be able to feed instant.
See below, instant is missing an extra -I flag for my added include_dirs
/usr/bin/c++ -D_instant_
/tmp/tmp6Uu1ly2
compilation terminated.
Changed in instant: | |
status: | In Progress → Fix Committed |
Changed in instant: | |
status: | Fix Committed → Fix Released |
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: build.build_ module with the module_ b64000edc5326b1 f061009cece5740 86bda73d8b_ EXPORTS -fPIC local/include -I/usr/ include/ python2. 7 tmp6Uu1ly2013- 2-26-12- 08_instant/ instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8b _instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8b. dir/instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8bPYTHO N_wrap. cxx.o 013-2-26- 12-08_instant/ instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8b/ instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8bPYTHO N_wrap. cxx 013-2-26- 12-08_instant/ instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8b/ instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8bPYTHO N_wrap. cxx:3103: 25: /bugs.launchpad .net/bugs/ 1134634 build.build_ module with the module_ b64000edc5326b1 f061009cece5740 86bda73d8b_ EXPORTS -fPIC local/include -I/usr/ include/ python2. 7 tmp6Uu1ly2013- 2-26-12- 08_instant/ instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8b _instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8b. dir/instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8bPYTHO N_wrap. cxx.o 013-2-26- 12-08_instant/ instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8b/ instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8bPYTHO N_wrap. cxx 013-2-26- 12-08_instant/ instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8b/ instant_ module_ b64000edc5326b1 f061009cece5740 86bda73d8bPYTHO N_wrap. cxx:3103: 25: /bugs.launchpad .net/instant/ +bug/1134634/ +subscriptions
>
> See Dolfin Question #222899
>
> I used to be able to feed instant.
> 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_
> -I/usr/
> -I/tmp/
> -o
> CMakeFiles/
> -c
> /tmp/tmp6Uu1ly2
> /tmp/tmp6Uu1ly2
> 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:/
>
> 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.
> 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_
> -I/usr/
> -I/tmp/
> -o
> CMakeFiles/
> -c
> /tmp/tmp6Uu1ly2
>
> /tmp/tmp6Uu1ly2
> fatal error: fermi_dirac.h: No such file or directory
> compilation terminated.
>
> To manage notifications about this bug go to:
> https:/
>