Comment 3 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...

 Chaffra Affouda, did this fix work for you ?

Kent

On 28 February 2013 15:51, Kent-Andre Mardal <email address hidden> wrote:

> Could you check:
> lp:~kent-and/instant/cmake-includedirs<https://code.launchpad.net/%7Ekent-and/instant/cmake-includedirs>
>
> 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
>>
>
>