[Numpy-discussion] CROSS-COMPILING NUMPY
Mon Feb 16 21:37:02 CST 2009
On Tue, Feb 17, 2009 at 12:23 AM, Yepez, Esteban <firstname.lastname@example.org> wrote:
> Are there any patches from previous versions?
Do you mean for python itself or numpy ? For numpy, not that I know
of. For old python, there are some patches in the tracker, but none of
it has been integrated AFAIK.
> Can provide any other
It is difficult to provide general guidelines: distutils, the tool we
are using for compiling numpy, has never been conceived with cross
compilation in mind. One immediate problem is that distutils uses
python to get compilation flags - you would like to use the options of
the target python, but that's hard to do since you cannot execute it.
Also, some configuration tests need to be executed on the target
machine: this needs to be fixed.
You may be able to do it using many hacks, but doing it in a
maintainable and clean way (which would end up in integrated patches)
would be a lot of work, I think.
More information about the Numpy-discussion