Bento icon indicating copy to clipboard operation
Bento copied to clipboard

fPIC missing in Scipy build

Open pv opened this issue 11 years ago • 1 comments

The Scipy build seems broken (in addition to FLAPACK -> LAPACK rename) at the moment, as cstlib static libraries do not get the -fPIC compiler flag appended.

This makes the CompiledLibrary feature not work on 64-bit systems.

pv avatar Nov 04 '12 00:11 pv

Always adding -fPIC to static libraries may not be so hard, maybe a matter of adding a modified cstlib class to backends/waf_tools/ordered_c.py. Adding that flag only if the static library is linked into a Python extension seems a lot more painful though.

@cournape how do you want to see this fixed?

rgommers avatar May 05 '13 17:05 rgommers