soarpenguin / python-multiprocessing

Automatically exported from code.google.com/p/python-multiprocessing
Other
0 stars 0 forks source link

multiprocessing doesn't cross-compile properly #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was trying to cross-compile for powerpc and I came across an issue with
cross-compilation.

Now, a few things...

- The Makefile has `python' hardcoded into it instead of using $(RUNPYTHON).
- RUNPYTHON != PYTHON in all cases, so the assumption at the top of the
file is most likely wrong :(.
- The Makefile isn't passing in -I, -l, and -L for include directories and
lib dirs and libraries.

This issue may exist upstream too.

I'll submit a version of the Makefile which does properly cross-compile,
regardless of the consequences with broken sem_open functionality.

Original issue reported on code.google.com by yaneg...@gmail.com on 6 Apr 2009 at 4:05

GoogleCodeExporter commented 9 years ago
I did some more inspection and it turns out that the new configure script 
imported
from upstream fixes this issue to some degree. I had to add an environment 
variable
to setup.py for it to pick up my configure arguments.

Original comment by yaneg...@gmail.com on 8 Apr 2009 at 9:22