Bento
Bento copied to clipboard
fPIC missing in Scipy build
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.
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?