numpy.distutils quirk
Hi, I have now spent several hours hunting down a major slowdown of my code caused (apparently) by using config.add_library() for a reusable part of C source files instead of just config.add_extension(). The reason of the slowdown was different, but hard to discern, naming of options and silent ignoring of non-existing ones: add_library() : extra_compiler_args add_extension() : extra_compile_args Other build keys used for the same purpose also differ. A bug to be reported, or is this going to be solved by going bento? r.
On Tue, Oct 11, 2011 at 4:59 PM, Robert Cimrman <cimrman3@ntc.zcu.cz> wrote:
Hi,
I have now spent several hours hunting down a major slowdown of my code caused (apparently) by using config.add_library() for a reusable part of C source files instead of just config.add_extension().
The reason of the slowdown was different, but hard to discern, naming of options and silent ignoring of non-existing ones:
add_library() : extra_compiler_args add_extension() : extra_compile_args
Other build keys used for the same purpose also differ.
A bug to be reported, or is this going to be solved by going bento?
Bento will use saner names I hope, but filing a bug can't hurt. We're still fixing distutils issues.
Ralf
On 10/18/11 22:13, Ralf Gommers wrote:
On Tue, Oct 11, 2011 at 4:59 PM, Robert Cimrman<cimrman3@ntc.zcu.cz> wrote:
Hi,
I have now spent several hours hunting down a major slowdown of my code caused (apparently) by using config.add_library() for a reusable part of C source files instead of just config.add_extension().
The reason of the slowdown was different, but hard to discern, naming of options and silent ignoring of non-existing ones:
add_library() : extra_compiler_args add_extension() : extra_compile_args
Other build keys used for the same purpose also differ.
A bug to be reported, or is this going to be solved by going bento?
Bento will use saner names I hope, but filing a bug can't hurt. We're still fixing distutils issues.
Ok. I am getting internal server error at http://projects.scipy.org/numpy/newticket now - I will wait some time and try again. r.
On 10/19/11 16:54, Robert Cimrman wrote:
On 10/18/11 22:13, Ralf Gommers wrote:
On Tue, Oct 11, 2011 at 4:59 PM, Robert Cimrman<cimrman3@ntc.zcu.cz> wrote:
Hi,
I have now spent several hours hunting down a major slowdown of my code caused (apparently) by using config.add_library() for a reusable part of C source files instead of just config.add_extension().
The reason of the slowdown was different, but hard to discern, naming of options and silent ignoring of non-existing ones:
add_library() : extra_compiler_args add_extension() : extra_compile_args
Other build keys used for the same purpose also differ.
A bug to be reported, or is this going to be solved by going bento?
Bento will use saner names I hope, but filing a bug can't hurt. We're still fixing distutils issues.
Ok. I am getting internal server error at http://projects.scipy.org/numpy/newticket now - I will wait some time and try again.
got through: http://projects.scipy.org/numpy/ticket/1965 regards, r.
participants (2)
-
Ralf Gommers -
Robert Cimrman